Template:ItemSprite/doc: Difference between revisions
imported>Ttv pedro270707 (Created page with "This template displays a block sprite from the following sprite sheet: thumb|The spritesheet. == Arguments == {| class="wikitable" ! Argument !! Value !! Note |- | <code>1</code> || <code>ID</code> || The item's name to be used as an ID. |- | <code>link</code> || <code>y</code>, <code>n</code>, <code>link</code> || If set to <code>y</code>, it will use the item's ID. |- | <code>name</code> || <code>y</code>, <code>n</code>, <code>name</code> ||...") |
imported>Ttv pedro270707 (Created page with "This template displays a block sprite from the following sprite sheet: thumb|The spritesheet. == Arguments == {| class="wikitable" ! Argument !! Value !! Note |- | <code>1</code> || <code>ID</code> || The item's name to be used as an ID. |- | <code>link</code> || <code>y</code>, <code>n</code>, <code>link</code> || If set to <code>y</code>, it will use the item's ID. |- | <code>name</code> || <code>y</code>, <code>n</code>, <code>name</code> ||...") |
(No difference)
|
Revision as of 22:25, 13 March 2023
This template displays a block sprite from the following sprite sheet:

Arguments
Argument | Value | Note |
---|---|---|
1 |
ID |
The item's name to be used as an ID. |
link |
y , n , link |
If set to y , it will use the item's ID.
|
name |
y , n , name |
The name included after the block. If set to y , it will use the item's ID.
|
Usage
{{ItemSprite|Diamond}}
gives:
{{ItemSprite|Diamond|link=y}}
gives:
{{ItemSprite|Diamond|link=Steel Ingot}}
gives:
{{ItemSprite|Diamond|name=Awesome block|link=Steel Ingot}}
gives:
{{ItemSprite|Diamond|name=Awesome block}}
gives:
Awesome item
{{ItemSprite|Diamond|name=y|link=Steel Ingot}}
gives: