Editing Template:Infobox Item

From Eco - English Wiki

Your changes will be displayed to readers once an authorized user accepts them. (help)

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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>


<noinclude>
 
== 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:




''Note:'' Put the tag between <code>&lt;noinclude&gt; &lt;/noinclude&gt;</code> tags for outdated transcluded pages.
==Examples==
 
<noinclude>{{Infobox_Item|name = Elk Carcass}}</noinclude>
[[Category:Infobox Templates]]
<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>
Please note that all contributions to Eco - English Wiki are considered to be released under the CC BY-NC-SA 4.0 (see Eco:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)