Template:BlockSprite/doc: Difference between revisions
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
| Line 1: | Line 1: | ||
This template | This template displays a block sprite from the following sprite sheet: | ||
[[File:BlockSprite.png|thumb|The spritesheet.]] | |||
== Arguments == | == Arguments == | ||
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: