Template:ShopInfoRow: Difference between revisions
From Ymirheim Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
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> | --><td>{{PriceFormatted| {{#yh_data:item_prototypes|{{{1}}}|Price}} }}</td><!-- | ||
{{#if:{{{withStatusEffect|}}}| | -->{{#if:{{{withStatusEffect|}}}|<td>{{#if:{{#yh_data:item_prototypes|{{{1}}}|StatusEffectId}}| {{#yh_data_format:{{#yh_data:status_effects|{{{1}}}|Description}}}} }}</td>}}<!-- | ||
<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> | ||
{{#if:{{{withDescription|}}}| | |||
<td>{{#yh_data_format:{{#yh_data:item_prototypes|{{{1}}}|Description}}}}</td> | |||
}} | |||
</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 15:37, 14 July 2024
This template is used to render a table row for the NPC shop item list.
Examples
{{ShopInfoRow|1310100101|withDescription=1}} {{ShopInfoRow|1093004001|withStatusEffect=1}}
Small Healing Potion | 95 Rupee | Regenerates 60 Health over 30 seconds. |
Beginner's Skirt | 1120 Rupee | Physical Evasion +1 Maximum Health +15 |