Template:ItemInfoBox/en: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 54: Line 54:


--></div></includeonly><noinclude>
--></div></includeonly><noinclude>
[[Category:Game Data Templates]]
This template can be used to display an information box about a specific item on a page.
This template can be used to display an information box about a specific item on a page.


Line 76: Line 75:
{{ItemInfoBox|1330000004}}
{{ItemInfoBox|1330000004}}
  <nowiki>{{ItemInfoBox|1330000004}}</nowiki>
  <nowiki>{{ItemInfoBox|1330000004}}</nowiki>
[[Category:Game Data Templates{{#translation:}}]]
</noinclude>
</noinclude>

Revision as of 19:45, 8 July 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

icon
Pukui Slice
Normal
Weight: 0.080
Max stack: 20

A small juicy piece. The ancients loved to enjoy them for dessert.
Price: 20 Rupee
Selling price: 5 Rupee
{{ItemInfoBox|1330000004}}