Difference between revisions of "Template:Node Data"

From Luanti Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>
 
{| class="wikitable" style="float: right; margin: 0 0 0.5em 1.5em" width="{{{width|200px}}}"
 
!align="center" colspan="2"|[[File:{{{image}}}|150px|150px]]
 
|-
 
! colspan="2" | {{{name | {{{block_name}}} }}}
 
|-
 
| '''Type''' || {{{type | {{{block_type | Solid Block}}} }}}
 
|-
 
| '''Drops''' || {{{drops|''itself''}}}
 
|-
 
| '''Physics''' || {{{physics|No}}}
 
|-
 
| '''Luminance''' || {{{luminance|No}}}
 
|-
 
| '''Flammable''' || {{{flammable|No}}}
 
|-
 
| '''Generated''' || {{{generated|Yes}}}
 
|-
 
| '''Renewable''' || {{{renewable|No}}}
 
|-
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
|-
 
| '''Itemstring''' || {{{itemstring|''?''}}}
 
|}
 
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
== Examples ==
+
{{Documentation|content=
{| class="wikitable"
+
{{Languages}}
! source
+
{{Lua|Infobox|data=Infobox/en}}
! output
+
</noinclude>{{#invoke:Infobox|block
|-
+
|name={{{name|{{{block_name|A block}}}}}}
|
+
|description=A [[Nodes|node]] in {{{wherein|[[Games/Minetest Game|Minetest Game]]}}}
<nowiki>
+
|type={{{type|{{{block_type|Full node}}}}}}
 +
|drops={{{drops|''Itself''}}}
 +
|physics={{{physics|No}}}
 +
|luminance={{{luminance|No}}}
 +
|flammable={{{flammable|No}}}
 +
|generated={{{generated|Yes}}}
 +
|renewable={{{renewable|No}}}
 +
|stackable={{{stackable|Yes (99)}}}
 +
|itemstring={{{itemstring|''?''}}}
 +
}}<noinclude>
 +
<pre>
 
{{Block Data
 
{{Block Data
| image=Dirt.png
+
|name=A Block
| name=Dirt
+
|image=Image.png
}}</nowiki>
+
|wherein=[[Mods/xPanes|xPanes]]
|{{Block Data | image=Dirt.png | name=Dirt}}
+
|type=Liquid
|-
+
|drops=No
|
+
|physics=No
<nowiki>
+
|luminance=No
{{Block Data
+
|generated=No
| image=Sand.png
+
|renewable=No
| name=Sand
+
|stackable=Yes (18)
| physics = Yes
+
|itemstring=xpanes:a_block
| itemstring = default:sand
+
}}
}}</nowiki>
+
</pre>
|{{Block Data | image=Sand.png | name=Sand | physics = Yes | itemstring = default:sand }}
+
 
|}
+
== See also ==
 +
{{Data see also}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:34, 10 March 2024

Documentation icon.png Documentation
Languages Language: English • Deutsch • français • Bahasa Indonesia • Bahasa Melayu • русский
Lua logo.png This template uses Module:Infobox, with data stored in Module:Infobox/en.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.
A block
Blank.png
A node in Minetest Game
Node Type Full node
Drops Itself
Physics No
Luminance No
Flammable No
Generated Yes
Renewable No
Stackable Yes (99)
Itemstring ?
{{Block Data
|name=A Block
|image=Image.png
|wherein=[[Mods/xPanes|xPanes]]
|type=Liquid
|drops=No
|physics=No
|luminance=No
|generated=No
|renewable=No
|stackable=Yes (18)
|itemstring=xpanes:a_block
}}

See also