Difference between revisions of "Template:BlockSprite/doc"
(adding functioning vanilla blocksprite to wiki) |
|||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
− | This template displays a Better Than Wolves block sprite from the following sprite | + | This template displays either a Vanilla block or a Better Than Wolves block sprite from one of the following sprite sheets: |
+ | |||
+ | [[File:BlockCSS.png]] | ||
[[File:BTW_BlockCSS.png]] | [[File:BTW_BlockCSS.png]] | ||
+ | |||
+ | The block positions are defined in [[Template:BlockSprite/positions]] and [[Template:BlockSprite/BTW_positions]] | ||
== Examples == | == Examples == | ||
Line 9: | Line 13: | ||
! Code | ! Code | ||
! Result | ! Result | ||
+ | |- | ||
+ | | <code><nowiki>{{BlockSprite|grass-block-side}}</nowiki></code> ||{{BlockSprite|grass-block-side}} | ||
+ | |- | ||
+ | | <code><nowiki>{{BlockSprite|"jack-o-lantern"}}</nowiki></code> ||{{BlockSprite|"jack-o-lantern"}} | ||
|- | |- | ||
| <code><nowiki>{{BlockSprite|light-block-off}}</nowiki></code> ||{{BlockSprite|light-block-off}} | | <code><nowiki>{{BlockSprite|light-block-off}}</nowiki></code> ||{{BlockSprite|light-block-off}} |
Latest revision as of 02:15, 21 April 2019
This template displays either a Vanilla block or a Better Than Wolves block sprite from one of the following sprite sheets:
The block positions are defined in Template:BlockSprite/positions and Template:BlockSprite/BTW_positions
Examples
Code | Result |
---|---|
{{BlockSprite|grass-block-side}} |
|
{{BlockSprite|"jack-o-lantern"}} |
|
{{BlockSprite|light-block-off}} |
|
{{BlockSprite|light-block-on}} |
|
{{BlockSprite|22}} |
|
{{BlockSprite|cauldron}} |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.