Template:BlockSprite/doc

From BTA-Mirror
Revision as of 19:21, 12 March 2023 by imported>Ttv pedro270707

This template displays a block sprite from the following sprite sheet:

The spritesheet.

Arguments

Argument Value Note
1 ID The block's name to be used as an ID.
link y, n, link If set to y, it will use the block's ID.
name y, n, name The name included after the block. If set to y, it will use the block's ID.

Usage

{{BlockSprite|Trommel}} gives:

{{BlockSprite|Trommel|link=y}} gives:

{{BlockSprite|Stone|link=Steel Ingot}} gives:

{{BlockSprite|Trommel|name=Awesome block|link=Steel Ingot}} gives:

Awesome block

{{BlockSprite|Trommel|name=Awesome block}} gives:

Awesome block

{{BlockSprite|Trommel|name=y|link=Steel Ingot}} gives:

Trommel