Difference between revisions of "Template:Node Data"

From Minetest Wiki
Jump to navigation Jump to search
 
(45 intermediate revisions by 10 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" | {{{block_name}}}
 
|-
 
| '''Type''' || {{{block_type|Solid Block}}}
 
|-
 
| '''Physics''' || {{{physics|No}}}
 
|-
 
| '''Transparency''' || {{{transparency|No}}}
 
|-
 
| '''Luminance''' || {{{luminance|No}}}
 
|-
 
| '''Inflammable''' || {{{inflammable|No}}}
 
|-
 
| '''Generated''' || {{{generated|Yes}}}
 
|-
 
| '''Renewable''' || {{{renewable|Yes}}}
 
|-
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
|}</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>{{Block Data | image=Dirt.png | block_name=Dirt}}</nowiki>
+
|type={{{type|{{{block_type|Full node}}}}}}
|{{Block Data | image=Dirt.png | block_name=Dirt}}
+
|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
 +
|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
 +
}}
 +
</pre>
 +
 
 +
== See also ==
 +
{{Data see also}}
 +
 
 +
[[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