Template:MoveTutorTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Text replacement - "pro-wiki" to "prowiki"
m A few visual touch-ups.
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;">{{#ifexpr:{{#external_value:priority}} > 0 | +}}{{#external_value:priority}}</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: 28%; border: 1px solid {{#var:background}};">Location</th><th width="9%" style="border: 1px solid {{#var:background}};>Price</th><th style="border-top-right-radius: 25px; width: 70%; border: 1px solid {{#var:background}};">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>

Revision as of 01:21, 7 February 2020

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.