Template:ItemShop: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
It is receptible of the following arguments: {{{Item}}} for the exact item name, {{{Shop}}} to specify where it's purchasable (auto-encoded into an internal link), {{{Currency}}} (only required for non-Pokémoney currencies), and {{{Price}}} to specify its price. | It is receptible of the following arguments: {{{Item}}} for the exact item name, {{{Shop}}} to specify where it's purchasable (auto-encoded into an internal link), {{{Currency}}} (only required for non-Pokémoney currencies), and {{{Price}}} to specify its price. | ||
</noinclude> | </noinclude> | ||
<includeonly><tr style="background-color:#FFFFFF;"> | <includeonly><tr style="background-color:#FFFFFF;"><td width="25%">{{#ifexist:File:{{ucfirst:{{{Item}}}}}.png|[[File:{{ucfirst:{{{Item}}}}}.png]]|[[File:MissingIcon.png|link={{ucfirst:{{{Item|}}}}}.png]]}}</td><td width="50%">[[{{ucfirst:{{{Item|}}}}}]]</td><td>[[{{{Shop|}}}]]</td><td width="25%">{{#ifeq:{{{Currency|Pdollar}}}|Pdollar|{{Pdollar}}{{{Price|}}}|{{{Price|}}}{{{Currency|}}}}}</td></tr></includeonly> | ||
Revision as of 14:11, 28 March 2022
This is to be used in conjunction with Template:ItemShops to construct data rows for it.
It is receptible of the following arguments: {{{Item}}} for the exact item name, {{{Shop}}} to specify where it's purchasable (auto-encoded into an internal link), {{{Currency}}} (only required for non-Pokémoney currencies), and {{{Price}}} to specify its price.