Template:MoveTutorTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Text replacement - "https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/" to "http://wiki.pokemonrevolution.net/index.php?title=Special:GetData/"
m Hopefully fixing the erroneous output of priority-move expressions.
Line 16: Line 16:
<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}};">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; 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>
<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

Revision as of 18:11, 18 May 2024

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.