Difference between revisions of "Template:Food Item Data"

From Minetest Wiki
Jump to navigation Jump to search
m (Added Lua notice and "See also" template)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Infobox|foodItem
+
<noinclude>
 +
{{Documentation|content=
 +
{{Languages}}
 +
{{Lua|Infobox|data=Infobox}}
 +
</noinclude>{{#invoke:Infobox|foodItem
 
|name={{{name|{{{item_name|A food item}}}}}}
 
|name={{{name|{{{item_name|A food item}}}}}}
|description= A food [[Items|item]] in {{{wherein|[[Subgames/Minetest Game|Minetest Game]]}}}
+
|description= A food [[Items|item]] in {{{wherein|[[Games/Minetest Game|Minetest Game]]}}}
 
|type={{{type|{{{item_type|Food}}}}}}
 
|type={{{type|{{{item_type|Food}}}}}}
 
|restores={{{restores|''?''}}}
 
|restores={{{restores|''?''}}}
Line 8: Line 12:
 
|stackable={{{stackable|Yes (99)}}}
 
|stackable={{{stackable|Yes (99)}}}
 
|itemstring={{{itemstring|''?''}}}
 
|itemstring={{{itemstring|''?''}}}
}}</includeonly><noinclude>
+
}}<noinclude>
{{Languages}}
 
{{Lua|Infobox|data=Infobox/en}}
 
{{Food Item Data}}
 
 
<pre>
 
<pre>
{{Item Data
+
{{Food Item Data
 
|name=A Food
 
|name=A Food
 
|image=Image.png
 
|image=Image.png
Line 30: Line 31:
  
 
[[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