Template:ItemInfoBox/pt-br: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 3: Line 3:
-->[[File:Item Icon {{#yh_data:item_prototypes|{{{1}}}|Icon}}.png|64px|icon]]<!--
-->[[File:Item Icon {{#yh_data:item_prototypes|{{{1}}}|Icon}}.png|64px|icon]]<!--


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


--><div class="item-type">{{#switch: {{#yh_data:item_prototypes|{{{1}}}|Type}}
--><div class="item-type">{{#switch: {{#yh_data:item_prototypes|{{{1}}}|Type}}
Line 37: Line 37:
  | 17 = Brinco
  | 17 = Brinco
  | 19 = Arma
  | 19 = Arma
}}</div><br/><!--
}}</div><!--
 
--><div style="clear: left;"></div><!--


-->Peso: {{padright:{{#expr: {{#yh_data:item_prototypes|{{{1}}}|Weight}} / 1000 }}|5}}<br/><!--
-->Peso: {{padright:{{#expr: {{#yh_data:item_prototypes|{{{1}}}|Weight}} / 1000 }}|5}}<br/><!--

Revision as of 08:41, 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
Fatia de Pukui
Normal
Peso: 0.080
Pilha máxima: 20

Um pequeno pedaço suculento. Os antigos adoravam apreciá-los como sobremesa.
Preço: 20 Rupee
Preço de venda: 5 Rupee
{{ItemInfoBox|1330000004}}