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) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 30: | Line 30: | ||
--><div style="clear: left;"></div><!-- | --><div style="clear: left;"></div><!-- | ||
-->Peso: {{ | -->Peso: {{#expr: floor({{#yh_data:item_prototypes|{{{1}}}|Weight}} / 1000) }}.{{padleft:{{#expr: {{#yh_data:item_prototypes|{{{1}}}|Weight}} mod 1000 }}|3}}<br/><!-- | ||
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|MaxStackQuantity}} | 1 || Pilha máxima: {{#yh_data:item_prototypes|{{{1}}}|MaxStackQuantity}}<br/> }}<!-- | -->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|MaxStackQuantity}} | 1 || Pilha máxima: {{#yh_data:item_prototypes|{{{1}}}|MaxStackQuantity}}<br/> }}<!-- | ||
Line 38: | Line 38: | ||
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanTrade}} | 0 | | -->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanTrade}} | 0 | Este item não pode ser trocado. <br/> }}<!-- | ||
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanSell}} | 0 | | -->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanSell}} | 0 | Este item não pode ser vendido. <br/> }}<!-- | ||
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanThrow}} | 0 | | -->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanThrow}} | 0 | Este item não pode ser descartado. <br/> }}<!-- | ||
Line 63: | Line 63: | ||
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|IsDyeing}} | 0 || Item tingível <br/> }}<!-- | -->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|IsDyeing}} | 0 || Item tingível <br/> }}<!-- | ||
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanSeal}} | 1 | | -->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|CanSeal}} | 1 | Selado. <br/> }}<!-- | ||
Latest revision as of 13:08, 25 July 2024
This template can be used to display an information box about a specific item on a page.
Usage
{{ItemInfoBox|ITEM_ID | obtain_by_purchase = no | obtain_by_trade = no }}
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 | obtain_by_purchase = no | obtain_by_trade = no }}
{{ItemInfoBox|1601006401 | obtain_by_purchase = no | obtain_by_trade = no }}
{{ItemInfoBox|1022001402 | obtain_by_purchase = no | obtain_by_trade = yes }}