Template:MoveTutorTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
Cae (talk | contribs)
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>For applicative usage principally on the [[Move tutors]] page to outline all available tutor-taught moves and locational information thereof. Use the {{{Move}}} argument to furnish the move name, and use [[Template:MTRow]] to construct the data rows for the locational information.</noinclude>
<noinclude>For applicative usage principally on the [[Move tutors]] page to outline all available tutor-taught moves and locational information thereof. Use the {{{Move}}} argument to furnish the move name, and use [[Template:MTRow]] to construct the data rows for the locational information.</noinclude>
<includeonly>
<includeonly>
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name=
{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name=
{{{Move}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,priority=Priority,tm=TM}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}}
{{{Move}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,priority=Priority,tm=TM}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}}
<table style="width:58%; background-color:{{#var:background}}; border: 5px solid {{#var:border}}; font-weight: bold; color: {{#var:border}}; border-radius: 25px; padding: 4px; text-align: center;">
<table style="width:73%; background-color:{{#var:background}}; border: 5px solid {{#var:border}}; font-weight: bold; color: {{#var:border}}; border-radius: 25px; padding: 4px; text-align: center;">
<tr style="background-color:{{#var:cell}}; "><td colspan="4" style="border-radius: 25px; border: 3px solid {{#var:border}};>[[{{#external_value:technique}}|<span style="color:{{#var:border}};">{{#external_value:technique}}</span>]]</td></tr>
<tr style="background-color:{{#var:cell}}; "><td colspan="4" style="border-radius: 25px; border: 3px solid {{#var:border}};>[[{{#external_value:technique}}|<span style="color:{{#var:border}};">{{#external_value:technique}}</span>]]</td></tr>
<tr style="background-color:{{#var:cell}};">
<tr style="background-color:{{#var:cell}};">
Line 13: Line 13:
<tr style="background-color:{{#var:cell}};>
<tr style="background-color:{{#var:cell}};>
<td style="border-radius: 25px 1px 1px 25px; border: 3px solid {{#var:border}}; padding: 4px;">Base power
<td style="border-radius: 25px 1px 1px 25px; border: 3px solid {{#var:border}}; padding: 4px;">Base power
<div style="background-color:#FFFFFF; border-radius: 25px; width: 30%; margin: auto auto; color:#000000; font-weight: normal;">{{#if: {{#external_value:power}} | {{#external_value:power}} | —}}</div></td>
<div style="background-color:#FFFFFF; border: 1px solid {{#var:border}}; border-radius: 25px; width: 30%; margin: auto auto; color:#000000; font-weight: normal;">{{#if: {{#external_value:power}} | {{#external_value:power}} | —}}</div></td>
<td style="border: 3px solid {{#var:border}};">Accuracy<div style="background-color:#FFFFFF; width: 30%; border-radius: 25px; margin: auto auto; color:#000000; font-weight: normal;">{{#external_value:accuracy}}</div></td>
<td style="border: 3px solid {{#var:border}};">Accuracy<div style="background-color:#FFFFFF; border: 1px solid {{#var:border}}; width: 30%; border-radius: 25px; margin: auto auto; color:#000000; font-weight: normal;">{{#external_value:accuracy}}</div></td>
<td style="border: 3px solid {{#var:border}}; padding: 4px;">[[Priority Moves|<span style="color:{{#var:border}};">Priority</span>]]
<td style="border: 3px solid {{#var:border}}; padding: 4px;">[[Priority Moves|<span style="color:{{#var:border}};">Priority</span>]]
<div style="background-color:#FFFFFF; border-radius: 25px; width: 30%; margin: auto auto; color:#000000; font-weight: normal;">{{#ifexpr:{{#external_value:priority}} > 0 | +}}{{#external_value:priority}}</div>
<div style="background-color:#FFFFFF; vorder: 1px solid {{#var:border}}; border-radius: 25px; width: 30%; margin: auto auto; color:#000000; font-weight: normal;">{{#iferror:{{#ifexpr:{{#external_value:priority}} > 0 | +}}{{#external_value:priority}}|0}}</div>
</td>
</td>
<td style="border-radius: 1px 25px 25px 1px; border: 3px solid {{#var:border}}; padding: 4px;">PP
<td style="border-radius: 1px 25px 25px 1px; border: 3px solid {{#var:border}}; padding: 4px;">PP
<div style="background-color:#FFFFFF; border-radius: 25px; width: 30%; margin: auto auto; color:#000000; border-radius: 25px; font-weight: normal;">{{#external_value:pp}}</div></td>
<div style="background-color:#FFFFFF; border: 1px solid {{#var:border}}; border-radius: 25px; width: 30%; margin: auto auto; color:#000000; border-radius: 25px; font-weight: normal;">{{#external_value:pp}}</div></td>
</tr>
</tr>
<tr>
<tr>
Line 27: Line 27:
<tr><td>
<tr><td>
<table cellpadding="5" class="collapsible collapsed" style="width: 100%; padding: 3px;">
<table cellpadding="5" class="collapsible collapsed" style="width: 100%; padding: 3px;">
<tr style="background-color: {{#var:border}}; color: #FFFFFF;"><th style="border-top-left-radius: 25px; width: 31%;">Location</th><th width="9%">Price</th><th style="border-top-right-radius: 25px;">Prerequisites</th></tr>
<tr style="background-color: {{#var:border}}; color: #FFFFFF;"><th style="width: 28%; border: 1px solid {{#var:background}};">Location</th><th width="9%" style="border: 1px solid {{#var:background}};>Price</th><th style="width: 70%; border: 1px solid {{#var:background}};">Prerequisites</th></tr>
{{{Contents|}}}
{{{Contents|}}}
</table>
</table>

Latest revision as of 16:34, 28 August 2025

For applicative usage principally on the Move tutors page to outline all available tutor-taught moves and locational information thereof. Use the {{{Move}}} argument to furnish the move name, and use Template:MTRow to construct the data rows for the locational information.