Template:ShopInfoRow: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Tag: Reverted
Line 2: Line 2:
<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|}}}|
<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.
Line 7: Line 13:
== Examples ==
== Examples ==


<pre><nowiki>{{ShopInfoRow|1310100101}}</nowiki></pre>
<pre><nowiki>
{{ShopInfoRow|1310100101|withDescription=1}}
{{ShopInfoRow|1093004001|withStatusEffect=1}}
</nowiki></pre>
<table class="wikitable">
<table class="wikitable">
{{ShopInfoRow|1310100101}}
{{ShopInfoRow|1310100101|withDescription=1}}
{{ShopInfoRow|1093004001|withStatusEffect=1}}
</table>
</table>


[[Category:Game Data Templates{{#translation:}}]]
[[Category:Game Data Templates{{#translation:}}]]
</noinclude>
</noinclude>

Revision as of 15:31, 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}}
icon Small Healing Potion 95 Rupee Regenerates 60 Health over 30 seconds.
icon Beginner's Skirt 1120 Rupee Physical Evasion +1
Maximum Health +15