Template:AIR: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Text replacement - "pro-wiki" to "prowiki"
No edit summary
Line 9: Line 9:
<td>[[File:TM-{{#external_value:movetype}}.png]]</td>
<td>[[File:TM-{{#external_value:movetype}}.png]]</td>
<td>[[TMs and HMs|TM{{#external_value:tm}}]] - [[{{#external_value:technique}}]]</td>
<td>[[TMs and HMs|TM{{#external_value:tm}}]] - [[{{#external_value:technique}}]]</td>
|
{{#if:{{{HM|}}}|
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{ucfirst:{{{HM}}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM}}
<td>[[File:TM-{{#external_value:movetype}}.png]]</td>
<td>[[TMs and HMs|HM{{#external_value:hm}}]] - [[{{#external_value:technique}}]]</td>
|
|
<td width="5%">{{#ifexist: File:{{{Item}}}.png | [[File:{{{Item}}}.png]] | [[File:MissingIcon.png]]}}</td>
<td width="5%">{{#ifexist: File:{{{Item}}}.png | [[File:{{{Item}}}.png]] | [[File:MissingIcon.png]]}}</td>
<td width="15%">[[{{{Item}}}]]</td>
<td width="15%">[[{{{Item}}}]]</td>
}}
}}
}}
<td width="10%">{{{Quantity|1}}}</td>
<td width="10%">{{{Quantity|1}}}</td>

Revision as of 05:03, 31 March 2017

Use this in tandem with Template:AreaItems to construct tabular rows for it.

It accepts four arguments: {{{Item}}}, {{{Quantity}}}, {{{Cooldown}}}, and {{{Location}}}. Leave {{{Quantity}}} and {{{Cooldown}}} blank if you have to ascertain even a rough amount, but do furnish values for {{{Item}}} and {{{Location}}}, at least.