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 21: Line 21:
  | 31 = Espírito
  | 31 = Espírito
  | 32 = Espírito
  | 32 = Espírito
}}{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_Equip_Part}} |0||<br/>}}{{#switch: {{#yh_data:item_prototypes|{{{1}}}|Req_Equip_Part}}
}}{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_Equip_Part}} |0||<br/>}}{{ItemEquipmentPartName|{{#yh_data:item_prototypes|{{{1}}}|Req_Equip_Part}}}}</div><!--
| 1 = Topo
| 2 = Armadura
| 6 = Escudo
| 7 = Luvas
| 8 = Calçado
| 9 = Baixo
| 10 = Acessório de Cabeça
| 11 = Mochila
| 12 = Capa
| 13 = Acessório de Rosto
| 14 = Anel
| 15 = Colar
| 16 = Cinto
| 17 = Brinco
| 19 = Arma
}}</div><!--


--><div style="clear: left;"></div><!--
--><div style="clear: left;"></div><!--

Revision as of 18:40, 10 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}}