Template:ShopInfoRow: Difference between revisions
From Ymirheim Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly><tr> | ||
<td>{{ItemLink|{{{1}}}}}</td> | <td>{{ItemLink|{{{1}}}}}</td> | ||
<td>{{PriceFormatted| {{#yh_data:item_prototypes|{{{1}}}|Price}} }}</td>{{#if:{{{withLevel|}}}|<td>{{#ifeq:{{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}}|0|| {{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}} }}</td>}}{{#if:{{{withPart|}}}|<td>{{#ifeq:{{#yh_data:item_prototypes|{{{1}}}|Part}}|0|| {{ItemEquipmentPartName|{{#yh_data:item_prototypes|{{{1}}}|Part}}}} }}</td>}}{{#if:{{{withStatusEffect|}}}|<td>{{#if:{{#yh_data:item_prototypes|{{{1}}}|StatusEffectId}}| {{#yh_data_format:{{#yh_data:status_effects|{{{1}}}|Description}}}} }}</td>}}{{#if:{{{withDescription|}}}|<td>{{#yh_data_format:{{#yh_data:item_prototypes|{{{1}}}|Description}}}}</td>}} | <td data-sort-value="{{#yh_data:item_prototypes|{{{1}}}|Price}}">{{PriceFormatted| {{#yh_data:item_prototypes|{{{1}}}|Price}} }}</td>{{#if:{{{withLevel|}}}|<td>{{#ifeq:{{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}}|0|| {{#yh_data:item_prototypes|{{{1}}}|Req_BaseLevel}} }}</td>}}{{#if:{{{withPart|}}}|<td>{{#ifeq:{{#yh_data:item_prototypes|{{{1}}}|Part}}|0|| {{ItemEquipmentPartName|{{#yh_data:item_prototypes|{{{1}}}|Part}}}} }}</td>}}{{#if:{{{withStatusEffect|}}}|<td>{{#if:{{#yh_data:item_prototypes|{{{1}}}|StatusEffectId}}| {{#yh_data_format:{{#yh_data:status_effects|{{{1}}}|Description}}}} }}</td>}}{{#if:{{{withDescription|}}}|<td>{{#yh_data_format:{{#yh_data:item_prototypes|{{{1}}}|Description}}}}</td>}} | ||
</tr></includeonly><noinclude> | </tr></includeonly><noinclude> | ||
This template is used to render a table row for the NPC shop item list. | This template is used to render a table row for the NPC shop item list. |
Revision as of 16:41, 14 July 2024
This template is used to render a table row for the NPC shop item list.
Examples
{{ShopInfoRow|1310100101}} {{ShopInfoRow|1022001401|withLevel=1|withPart=1|withStatusEffect=1|withDescription=1}}
Small Healing Potion | 95 Rupee | ||||
Wooden Chestpiece | 2712 Rupee | 10 | Armor | Physical Defense +7 | Decent protection, although not very durable. |