ATTENTION! The process of updating WiKi to version Eco 10.x has begun. Those wishing to participate can find out more Information on our ECO Contribution Wiki Discord.
From April 26 to May 12, errors may occur in the Wiki, as we will be carrying out a major update to the information processing modules.

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>


Line 8: Line 9:
{{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]]
*[[Module:ItemData]]
*[[Module:ItemData]]
*[[Module:CraftingRecipes]].
*[[Module:CraftingRecipes]].
== Usage==
== Usage==
===Parameters===
===Parameters===
; name
; name
: The name of an item. This pulls the description for that item.
: The name of an item. This pulls the description for that item.
===Infobox Properies===
===Infobox Properies===
If .name is found it will generate the following:
If .name is found it will generate the following:
Line 84: Line 81:
     |image = ItemName_Placed.png
     |image = ItemName_Placed.png
</pre>
</pre>
''Note:'' Put the tag between <code>&lt;noinclude&gt; &lt;/noinclude&gt;</code> tags for outdated transcluded pages.
''Note:'' Put the tag between <code>&lt;noinclude&gt; &lt;/noinclude&gt;</code> tags for outdated transcluded pages.
 
==Examples==
[[Category:Infobox Templates]]
{{Infobox_Item|name = Elk Carcass}}
{{Infobox_Item|name = Charcoal}}
{{Infobox_Item|name = Huckleberries}}
{{Infobox_Item|name = Prepared Meat}}
{{Infobox_Item|name = Workbench}}
{{Infobox_Item|name = Bloomery}}
{{Infobox_Item|name = Bookshelf}}
{{Infobox_Item|name = Wind Turbine}}
{{Infobox_Item|name = Iron Axe}}
{{Infobox_Item|name = Coal}}
{{Infobox_Item|name = Brick}}
{{Infobox_Item|name = Cooking Skill Scroll}}
{{Infobox_Item|name = Trousers}}
{{Infobox_Item|name = Stockpile}}
{{Infobox_Item|name = Wood Cart}}
{{Infobox_Item|name = Blast Furnace}}
{{Infobox_Item|name = Water}}
</noinclude>
</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)