Difference between revisions of "Template:Node Data"

From Luanti Wiki
Jump to navigation Jump to search
(some changes)
Line 1: Line 1:
<includeonly>
+
{| class="wikitable" style="float:right; text-align:left; margin: 0 0 0.5em 1em; padding:5px; font-size:90%; max-width:30%;"
{| class="wikitable" style="float: right; margin: 0 0 0.5em 1.5em" width="{{{width|200px}}}"
+
! colspan="2" style="font-size:110%; text-align:center;"| {{{block_name}}}
!align="center" colspan="2"|[[File:{{{image}}}|150px|150px]]
 
 
|-
 
|-
! colspan="2" | {{{name | {{{block_name}}} }}}
+
! colspan="2" align="center" |[[File:{{{image}}}|150px|150px]]
 
|-
 
|-
| '''Type''' || {{{type | {{{block_type | Solid Block}}} }}}
+
| '''Type''' || {{{type | {{{block_type|Solid Block}}} }}}
 
|-
 
|-
| '''Drops''' || {{{drops|''itself''}}}
+
| '''Drops''' || {{{drops|''Itself''}}}
 
|-
 
|-
 
| '''Physics''' || {{{physics|No}}}
 
| '''Physics''' || {{{physics|No}}}
Line 23: Line 22:
 
| '''Itemstring''' || {{{itemstring|''?''}}}
 
| '''Itemstring''' || {{{itemstring|''?''}}}
 
|}
 
|}
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
== Examples ==
+
<pre>
{| class="wikitable"
+
{{Block Data
! source
+
|block_name=
! output
+
|image=
|-
+
|type=
|
+
|drops=
<nowiki>{{Block Data | image=Dirt.png | name=Dirt}}</nowiki>
+
|physics=
|{{Block Data | image=Dirt.png | name=Dirt}}
+
|luminance=
|-
+
|generated=
|
+
|renewable=
<nowiki>{{Block Data
+
|stackable=
| image=Sand.png
+
|itemstring=
| name=Sand
+
}}
| physics = Yes
+
</pre>
| itemstring = default:sand }}</nowiki>
+
[[Category:Templates]]
|{{Block Data | image=Sand.png | name=Sand | physics = Yes | itemstring = default:sand }}
 
|}
 
 
</noinclude>
 
</noinclude>

Revision as of 17:45, 3 January 2015

{{{block_name}}}
[[File:{{{image}}}|150px|150px]]
Type Solid Block
Drops Itself
Physics No
Luminance No
Flammable No
Generated Yes
Renewable No
Stackable Yes (99)
Itemstring ?
{{Block Data
|block_name=
|image=
|type=
|drops=
|physics=
|luminance=
|generated=
|renewable=
|stackable=
|itemstring=
}}