Difference between revisions of "Template:Item Data"

From Minetest Wiki
Jump to navigation Jump to search
(Added CSS style)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="position: relative; clear: right; float: right; overflow: auto; z-index: 1;">
 
{| class="wikitable" style="float:right; text-align:left; margin: 0 0 0.5em 1em; padding:5px; font-size:90%;" width="{{{width|200px}}}"
 
! colspan="2" style="font-size:110%; text-align:center;"| {{{name | {{{item_name|An item}}} }}}
 
|-
 
! colspan="2" | <div class="center">{{Animated|{{{image|Minetest logo.png}}}|160px}}</div>
 
|-
 
! colspan="2" align="center" | An [[Items|item]] in {{{wherein | [[Games/Minetest Game|Minetest Game]]}}}
 
|-
 
| '''Type''' || {{{type | {{{item_type|Craftitem}}} }}}
 
|-
 
| '''Renewable''' || {{{renewable|No}}}
 
|-
 
| '''Durability''' || {{{durability|''N/A''}}}
 
|-
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
|-
 
| '''[[Itemstrings|Itemstring]]''' || {{{itemstring|''Unknown''}}}
 
|}
 
</div>
 
 
<noinclude>
 
<noinclude>
 +
{{Documentation|content=
 +
{{Languages}}
 +
{{Lua|Infobox|data=Infobox/en}}
 +
</noinclude>{{#invoke:Infobox|item
 +
|name={{{name|{{{item_name|An item}}}}}}
 +
|description= An [[Items|item]] in {{{wherein|[[Games/Minetest Game|Minetest Game]]}}}
 +
|type={{{type|{{{item_type|Craftitem}}}}}}
 +
|renewable={{{renewable|No}}}
 +
|durability={{{durability|''N/A''}}}
 +
|stackable={{{stackable|Yes (99)}}}
 +
|itemstring={{{itemstring|''?''}}}
 +
}}<noinclude>
 
<pre>
 
<pre>
 
{{Item Data
 
{{Item Data
Line 31: Line 24:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
== See also ==
 +
{{Data see also}}
 +
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:48, 28 January 2023

Documentation icon.png Documentation
Languages Language: English • Deutsch • español • 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.
An item
Blank.png
An item in Minetest Game
Item Type Craftitem
Renewable No
Durability N/A
Stackable Yes (99)
Itemstring ?
{{Item Data
|name=An Item
|image=Image.png
|wherein=[[Mods/Farming Plus|Farming Plus]]
|type=Craftitems
|renewable=No
|durability=N/A
|stackable=Yes (99)
|itemstring=farming_plus:an_item
}}

See also