Template:BlockSprite/doc: Difference between revisions
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
(No difference)
| |
Revision as of 19:21, 12 March 2023
This template displays a block sprite from the following sprite sheet:

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:
{{BlockSprite|Trommel|name=Awesome block}} gives:
Awesome block
{{BlockSprite|Trommel|name=y|link=Steel Ingot}} gives: