Difference between revisions of "Template:Node Data"

From Luanti Wiki
Jump to navigation Jump to search
(fixed itemstring parsing)
(added “drop” (for what the block drops when mined))
Line 6: Line 6:
 
|-
 
|-
 
| '''Type''' || {{{type | {{{block_type | Solid Block}}} }}}
 
| '''Type''' || {{{type | {{{block_type | Solid Block}}} }}}
 +
|-
 +
| '''Drops''' || {{{drops|''itself''}}}
 
|-
 
|-
 
| '''Physics''' || {{{physics|No}}}
 
| '''Physics''' || {{{physics|No}}}
Line 18: Line 20:
 
|-
 
|-
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 +
 
{{#if: {{{itemstring | }}} |
 
{{#if: {{{itemstring | }}} |
 
{{!}}-
 
{{!}}-

Revision as of 09:25, 20 October 2013


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 Yes
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 Yes
Stackable Yes (99)
Itemstring default:sand