Difference between revisions of "Template:Node Data"

From Minetest Wiki
Jump to navigation Jump to search
(changed the default value of “Renewable” to “Yes” because most blocks are not renewable.)
(Test without the -.)
Line 21: Line 21:
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
{{#if: {{{itemstring | }}} |
 
{{#if: {{{itemstring | }}} |
{{!}}-
 
 
{{!}} '''Itemstring''' {{!}}{{!}} {{{itemstring}}}  | }}
 
{{!}} '''Itemstring''' {{!}}{{!}} {{{itemstring}}}  | }}
 
|}
 
|}

Revision as of 13:19, 13 May 2014


Examples

source output
{{Block Data | image=Dirt.png | name=Dirt}}
Dirt.png
Dirt
Type Solid Block
Drops itself
Physics No
Luminance No
Flammable No
Generated Yes
Renewable No
Stackable Yes (99)


{{Block Data
| image=Sand.png
| name=Sand
| physics = Yes
| itemstring = default:sand }}
Sand.png
Sand
Type Solid Block
Drops itself
Physics Yes
Luminance No
Flammable No
Generated Yes
Renewable No
Stackable Yes (99) Itemstring default:sand