Template:ItemShop: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>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..." |
mNo edit summary |
||
Line 4: | Line 4: | ||
</noinclude> | </noinclude> | ||
<includeonly><tr style="background-color:#FFFFFF;">{{#if:{{{TM|}}}| | <includeonly><tr style="background-color:#FFFFFF;">{{#if:{{{TM|}}}| | ||
{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{{TM}}}|data=technique=Name,movetype=Type,tm=TM}}<td width="25%">[[File:TM-{{#external_value:movetype}}.png]]</td><td width="50%">[[TMs and HMs|TM{{#external_value:tm}}]] - [[{{#external_value:technique}}]]</td>|<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> | {{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{{TM}}}|data=technique=Name,movetype=Type,tm=TM}}<td width="25%">[[File:TM-{{#external_value:movetype}}.png]]</td><td width="50%">[[TMs and HMs|TM{{#external_value:tm}}]] - [[{{#external_value:technique}}]]</td>|<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:10, 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.