Difference between revisions of "Template:Food Item Data"

From Minetest Wiki
Jump to navigation Jump to search
(Added CSS style)
 
(24 intermediate revisions by 3 users 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|A food}}} }}}
 
|-
 
! colspan="2" | <div class="center">{{Animated|{{{image|Minetest logo.png}}}|160px}}</div>
 
|-
 
! colspan="2" align="center" | A food [[Items|item]] in {{{wherein | [[Games/Minetest Game|Minetest Game]]}}}
 
|-
 
| '''Type''' || {{{type | {{{item_type|Food}}} }}}
 
|-
 
| '''Restores''' || {{{restores|''Unknown''}}}
 
|-
 
| '''Cookable''' || {{{cookable|No}}}
 
|-
 
| '''Renewable''' || {{{renewable|No}}}
 
|-
 
| '''Stackable''' || {{{stackable|Yes (99)}}}
 
|-
 
| '''[[Itemstrings|Itemstring]]''' || {{{itemstring|''Unknown''}}}
 
|}
 
</div>
 
 
<noinclude>
 
<noinclude>
 +
{{Documentation|content=
 +
{{Languages}}
 +
{{Lua|Infobox|data=Infobox}}
 +
</noinclude>{{#invoke:Infobox|foodItem
 +
|name={{{name|{{{item_name|A food item}}}}}}
 +
|description= A food [[Items|item]] in {{{wherein|[[Games/Minetest Game|Minetest Game]]}}}
 +
|type={{{type|{{{item_type|Food}}}}}}
 +
|restores={{{restores|''?''}}}
 +
|cookable={{{cookable|No}}}
 +
|renewable={{{renewable|No}}}
 +
|stackable={{{stackable|Yes (99)}}}
 +
|itemstring={{{itemstring|''?''}}}
 +
}}<noinclude>
 
<pre>
 
<pre>
{{Item Data
+
{{Food Item Data
 
|name=A Food
 
|name=A Food
 
|image=Image.png
 
|image=Image.png
Line 34: Line 26:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
== See also ==
 +
{{Data see also}}
 +
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:51, 28 January 2023

Documentation icon.png Documentation
Languages Language: English • Bahasa Melayu
Lua logo.png This template uses Module:Infobox, with data stored in Module:Infobox.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.
A food item
Blank.png
A food item in Minetest Game
Food Item Type Food
Restores ?
Cookable No
Renewable No
Stackable Yes (99)
Itemstring ?
{{Food Item Data
|name=A Food
|image=Image.png
|wherein=[[Mods/Farming Plus|Farming Plus]]
|type=Food
|restores={{Heart|1}}
|cookable=No
|renewable=No
|stackable=Yes (99)
|itemstring=farming_plus:a_food
}}

See also