Template:ItemInfoBox/uk: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<includeonly><templatestyles src="Template:ItemInfoBox/styles.css"/><div class="item-infobox"><!--
<includeonly><templatestyles src="Template:InfoBox/styles.css"/><templatestyles src="Template:ItemInfoBox/styles.css"/><div class="infobox-wrapper"><div class="infobox 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]]<!--


--><span class="heading grade-{{#yh_data:item_prototypes|{{{1}}}|Grade}}">{{#yh_data:item_prototypes|{{{1}}}|Name}}</span><br/><!--
--><div class="heading grade-{{#yh_data:item_prototypes|{{{1}}}|Grade}}">{{#yh_data:item_prototypes|{{{1}}}|Name}}</div><br/><!--


--><div class="item-type">{{#switch: {{#yh_data:item_prototypes|{{{1}}}|Type}}
--><div class="item-type">{{#switch: {{#yh_data:item_prototypes|{{{1}}}|Type}}
Line 53: Line 53:
-->}}<!--
-->}}<!--


--></div></includeonly><noinclude>
--></div></div></includeonly><noinclude>
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.



Revision as of 08:40, 9 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
Долька Пукуї
Звичайне
Вага: 0.080
Макс. кількість у слоті: 20

Маленька соковита долька. Стародавні любили ласувати ними на десерт.
Ціна: 20 Рупій
Ціна продажу: 5 Рупій
{{ItemInfoBox|1330000004}}