Editing Template:Infobox Item
From Eco - English Wiki
Your changes will be displayed to readers once an authorized user accepts them. (help)
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#invoke:Infobox_Item|ItemMain}} | {{#invoke:Infobox_Item|ItemMain}} | ||
[[Category:Infobox Templates]] | |||
</includeonly> | </includeonly> | ||
== Documentation == | == Documentation == | ||
<pre> | <pre> | ||
{{Infobox_Item|name = 'Item name'}} | {{Infobox_Item|name = 'Item name'}} | ||
</pre> | </pre> | ||
This template can be used to grab details relevant to an item. It formats the results into an infobox. | This template can be used to grab details relevant to an item. It formats the results into an infobox. | ||
If the template is passed, this module creates a table using details from the following Modules: | If the template is passed, this module creates a table using details from the following Modules: | ||
*[[Module:Infobox_Item]] | *[[Module:Infobox_Item]] | ||
Line 48: | Line 47: | ||
|itemidnumber = Item ID Number | |itemidnumber = Item ID Number | ||
</pre> | </pre> | ||
If .footprint (Dimension) ~= nil, or group == 'Block Item' it will generate the following: | If .footprint (Dimension) ~= nil, or group == 'Block Item' it will generate the following: | ||
<pre> | <pre> | ||
World Object | World Object | ||
Line 72: | Line 73: | ||
Fuels Used: List of items the objects use as fuel | Fuels Used: List of items the objects use as fuel | ||
</pre> | </pre> | ||
If .mobile ~= nil it will generate the following: | If .mobile ~= nil it will generate the following: | ||
<pre> | <pre> | ||
Vehicle Object | Vehicle Object | ||
Line 79: | Line 82: | ||
Fuels Used: List of items the objects use as fuel | Fuels Used: List of items the objects use as fuel | ||
</pre> | </pre> | ||
If .itemTable.group == 'Road Items' it will generate the following: | If .itemTable.group == 'Road Items' it will generate the following: | ||
<pre> | <pre> | ||
Road Object | Road Object | ||
Line 86: | Line 91: | ||
==Examples== | |||
<noinclude>{{Infobox_Item|name = Elk Carcass}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Charcoal}}</noinclude> | |||
</noinclude> | <noinclude>{{Infobox_Item|name = Huckleberries}}</noinclude> | ||
<noinclude>{{Infobox_Item|name = Prepared Meat}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Workbench}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Bloomery}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Bookshelf}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Wind Turbine}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Iron Axe}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Coal}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Brick}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Cooking Skill Scroll}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Trousers}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Stockpile}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Wood Cart}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Blast Furnace}}</noinclude> | |||
<noinclude>{{Infobox_Item|name = Water}}</noinclude> |