Template:ITS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This is to be used in conjunction with [[Template:GenericItemShop]] to construct data rows for it. | <noinclude> | ||
====Test Table==== | |||
{{GenericItemShop|Type=Fighting|Currency=PvP Coins|Contents= | |||
{{ITS|Item=Reroll Ticket|Price=150}} | |||
{{ITS|Item=Missing Candy with icon|Price=1|Icon=missing}} | |||
{{ITS|Item=Missing Candy|Price=404}} | |||
}} | |||
This is to be used in conjunction with [[Template:GenericItemShop]] to construct data rows for it. | |||
It is receptible of the following arguments: <br> | |||
- {{{'''Item'''}}} for the exact item name<br> | |||
- {{{'''Price'''}}} to specify its price<br> | |||
- {{{'''Icon'''}}} with "missing" parameter to use MissingIcon.png<br> | |||
''//Removed the expensive #ifexist parser function because it reached its call limit with too many items.//'' | |||
</noinclude> | </noinclude> | ||
<includeonly><tr style="background-color:#FFFFFF;"><td width="25%">[[File:{{ | <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%">{{#ifeq: {{{Icon}}} | missing | [[File:MissingIcon.png|link={{ucfirst:File:{{{Item}}}}}.png]] | [[File:{{ucfirst:{{{Item}}}}}.png]] }} | |||
</td> | </td> | ||
<td width="25%">{{#ifeq:{{ | <td width="50%">[[{{ucfirst:{{{Item}}}}}]]</td>}} | ||
</tr></includeonly> | <td width="25%">{{#ifeq:{{#var:currency}}|Pdollars|{{Pdollar}}}}{{{Price|{{MartCatalog|{{ucfirst:{{{Item}}}}}}}}}}</td> | ||
</tr> | |||
</includeonly> |
Latest revision as of 14:46, 28 August 2025
Test Table
| ||||||||||||
|
This is to be used in conjunction with Template:GenericItemShop to construct data rows for it.
It is receptible of the following arguments:
- {{{Item}}} for the exact item name
- {{{Price}}} to specify its price
- {{{Icon}}} with "missing" parameter to use MissingIcon.png
//Removed the expensive #ifexist parser function because it reached its call limit with too many items.//