Template:ItemInfoBox: Difference between revisions

From Ymirheim Wiki
(Marked this version for translation)
No edit summary
Line 35: Line 35:




-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}} | 0 || <translate nowrap><!--T:36--> Level <tvar name="$level">{{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}}</tvar> required.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}} | 0 || <translate nowrap><!--T:36--> Level <tvar name="level">{{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}}</tvar> required.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_AllowMale}} | 0 | <translate nowrap><!--T:37--> Female only.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_AllowMale}} | 0 | <translate nowrap><!--T:37--> Female only.</translate> <br/> }}<!--
Line 41: Line 41:
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_AllowFemale}} | 0 | <translate nowrap><!--T:38--> Male only.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_AllowFemale}} | 0 | <translate nowrap><!--T:38--> Male only.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_STR}} | 0 || <translate nowrap><!--T:39--> <tvar name="$value">{{#yh_data:item_prototypes|{{{1}}}|Req_STR}}</tvar> Strength required.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_STR}} | 0 || <translate nowrap><!--T:39--> <tvar name="value">{{#yh_data:item_prototypes|{{{1}}}|Req_STR}}</tvar> Strength required.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_DEX}} | 0 || <translate nowrap><!--T:40--> <tvar name="$value">{{#yh_data:item_prototypes|{{{1}}}|Req_DEX}}</tvar> Dexterity required.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_DEX}} | 0 || <translate nowrap><!--T:40--> <tvar name="value">{{#yh_data:item_prototypes|{{{1}}}|Req_DEX}}</tvar> Dexterity required.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_INT}} | 0 || <translate nowrap><!--T:41--> <tvar name="$value">{{#yh_data:item_prototypes|{{{1}}}|Req_INT}}</tvar> Intelligence required.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_INT}} | 0 || <translate nowrap><!--T:41--> <tvar name="value">{{#yh_data:item_prototypes|{{{1}}}|Req_INT}}</tvar> Intelligence required.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_CON}} | 0 || <translate nowrap><!--T:42--> <tvar name="$value">{{#yh_data:item_prototypes|{{{1}}}|Req_CON}}</tvar> Concentration required.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_CON}} | 0 || <translate nowrap><!--T:42--> <tvar name="value">{{#yh_data:item_prototypes|{{{1}}}|Req_CON}}</tvar> Concentration required.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_LUK}} | 0 || <translate nowrap><!--T:43--> <tvar name="$value">{{#yh_data:item_prototypes|{{{1}}}|Req_LUK}}</tvar> Luck required.</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|Req_LUK}} | 0 || <translate nowrap><!--T:43--> <tvar name="value">{{#yh_data:item_prototypes|{{{1}}}|Req_LUK}}</tvar> Luck required.</translate> <br/> }}<!--


-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|IsDyeing}} | 0 || <translate nowrap><!--T:44--> Dyeable Item</translate> <br/> }}<!--
-->{{#ifeq: {{#yh_data:item_prototypes|{{{1}}}|IsDyeing}} | 0 || <translate nowrap><!--T:44--> Dyeable Item</translate> <br/> }}<!--

Revision as of 07:29, 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.


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
Pukui Slice
Normal
Weight: 0.080
Max stack: 20

A small juicy piece. The ancients loved to enjoy them for dessert.
Price: 20 Rupee
Selling price: 5 Rupee
{{ItemInfoBox|1330000004}}


icon
Flatro Card
Card
Dagger
Weight: 0.001
Max stack: 20
This item can't be sold.

A magic card enchanted with Flatro Spirit.
By casting the spell written on this card you can transfer the spirit into a piece of equipment.

When enchanted:
Melee Defense Penetration +3
{{ItemInfoBox|1601006401}}


icon
Reinforced Wooden Chestpiece
Armor
Weight: 2.500
Max Durability: 1260
Level 11 required.
5 Strength required.
Dyeable Item

Physical Defense +7
Maximum Health +50
Decent protection, although not very durable.
Price: 3712 Rupee
Selling price: 928 Rupee
{{ItemInfoBox|1022001402}}