Template:ItemInfoBox: Difference between revisions
From Ymirheim Wiki
No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
-->{{#ifeq:{{#yh_data:item_prototypes|{{{1}}}|StatusEffectId}}|0|| <hr/>{{#yh_data_format:{{#yh_data:status_effects| | -->{{#ifeq:{{#yh_data:item_prototypes|{{{1}}}|StatusEffectId}}|0|| <hr/>{{#yh_data_format:{{#yh_data:status_effects|{{{1}}}|Description}}|full}} }}<!-- | ||
--><hr/><!-- | --><hr/><!-- |
Revision as of 09:14, 11 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.
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}}
{{ItemInfoBox|1601006401}}
{{ItemInfoBox|1022001402}}