Template:ItemInfoBox: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="Template:ItemInfoBox/styles.css"/><div class="item-infobox"><!--
<includeonly><templatestyles src="Template:ItemInfoBox/styles.css"/><div class="item-infobox"><!--


-->[[File:Item Icon {{#yh_data:item_prototypes|{{{1}}}|Icon}}.png|64px|icon]]<!--
-->[[File:Item Icon {{#yh_data:item_prototypes|{{{1}}}|Icon}}.png|64px|icon]]<!--
Line 53: Line 53:
-->}}<!--
-->}}<!--


--></div>
--></div></includeonly><noinclude>
This template can be used to display an information box about a specific item on a page.
 
== Usage ==
 
<nowiki>{{ItemInfoBox|ITEM_ID}}</nowiki>
 
You have to supply the specific item ID, not the item name.
 
 
[[File:Item ID Search On Ymirheim Translate.png|thumb|How to find Item ID]]
You can find the item ID by searching the item in [https://translate.ymirheim.org/browse/ymirheim/item_prototypes/en/'''Ymirheim Translate'''] (item_prototypes component).
 
The item ID is contained in the string key.
 
For example, if you look up [https://translate.ymirheim.org/browse/ymirheim/item_prototypes/en/?q=Pukui+Peel&sort_by=-priority%2Cposition&checksum= "Pukui Peel"] in Ymirheim Translate, you will see the item ID in the "Key" column (the portion before the forward slash).
 
 
 
== Examples ==
<nowiki>{{ItemInfoBox|1330000004}}</nowiki>
</noinclude>

Revision as of 10:42, 30 June 2024

This template can be used to display an information box about a specific item on a page.

Usage

{{ItemInfoBox|ITEM_ID}}

You have to supply the specific item ID, not the item name.


How to find Item ID

You can find the item ID by searching the item in Ymirheim Translate (item_prototypes component).

The item ID is contained in the string key.

For example, if you look up "Pukui Peel" in Ymirheim Translate, you will see the item ID in the "Key" column (the portion before the forward slash).


Examples

{{ItemInfoBox|1330000004}}