Template:ShopInfoTable: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Line 1: Line 1:
{| class="wikitable"
<includeonly><table class="wikitable">
! Item !! Price
<tr><th>Item</th><th>Price</th></tr>
<!--
 
-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|0}}|


{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|0}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|0}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|0}} |,|0}}  }}
}}<!--
}}
 
-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|1}}|


{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|1}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|1}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|1}} |,|0}}  }}
}}<!--
}}
 
-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|2}}|


{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|2}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|2}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|2}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|3}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|3}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|3}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|3}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|4}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|4}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|4}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|4}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|5}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|5}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|5}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|5}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|6}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|6}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|6}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|6}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|7}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|7}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|7}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|7}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|8}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|8}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|8}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|8}} |,|0}}  }}
}}<!--
}}


-->{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|9}}|
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|9}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|9}} |,|0}}  }}
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|9}} |,|0}}  }}
}}
}}
|}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|10}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|10}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|11}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|11}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|12}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|12}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|13}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|13}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|14}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|14}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|15}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|15}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|16}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|16}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|17}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|17}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|18}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|18}} |,|0}}  }}
}}
 
{{#if:{{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|19}}|
{{ShopInfoRow|  {{#explode: {{#explode:{{#yh_data:shops|{{{1}}}|ItemList}}|;|19}} |,|0}}  }}
}}
 
</table></includeonly><noinclude>
 
== Examples ==
<nowiki>{{ShopInfoTable|1001}}</nowiki>
{{ShopInfoTable|1001}}
</noinclude>

Revision as of 18:38, 30 June 2024


Examples

{{ShopInfoTable|1001}}
Item Price
icon Small Healing Potion 95 Rupee
icon Medium Healing Potion 255 Rupee
icon Big Healing Potion 750 Rupee
icon Small Mana Potion[!# 1310101101 ] 1500 Rupee
icon Small Bruni Crystal 1000 Rupee