Difference between revisions of "Template:Food Item Data"

From Minetest Wiki
Jump to navigation Jump to search
(Replaced template with module)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#invoke:Infobox|foodItem}}<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 13: 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