Template:Move: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
<tr><td style="width: 25%; border-radius: 25px 1px 1px 25px; color:{{#var:cell}}; background-color:{{#var:border}}; font-weight: bold; border: 3px solid {{#var:background}}; padding: 7px;">Base Power<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 38%; margin: auto auto; font-weight: normal;">{{#if: {{#external_value:power}} | {{#external_value:power}} | —}}</div></td>
<tr><td style="width: 25%; border-radius: 25px 1px 1px 25px; color:{{#var:cell}}; background-color:{{#var:border}}; font-weight: bold; border: 3px solid {{#var:background}}; padding: 7px;">Base Power<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 38%; margin: auto auto; font-weight: normal;">{{#if: {{#external_value:power}} | {{#external_value:power}} | —}}</div></td>
{{#ifexpr:{{#external_value:priority}} != 0 |
{{#ifexpr:{{#external_value:priority}} != 0 |
<td style="color:{{#var:cell}}; width: 25%; background-color:{{#var:border}}; font-weight: bold; border: 3px solid {{#var:background}}; margin-bottom: 7px;">Priority<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 3%; margin: auto auto; font-weight: normal;">{{#ifexpr:{{#external_value:priority}} > 0 |+|-}}{{#external_value:priority}}</div></td>}}
<td style="color:{{#var:cell}}; width: 25%; background-color:{{#var:border}}; font-weight: bold; border: 3px solid {{#var:background}}; margin-bottom: 7px;">Priority<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 37%; margin: auto auto; font-weight: normal;">{{#ifexpr:{{#external_value:priority}} > 0 |+|-}}{{#external_value:priority}}</div></td>}}
<td style="color:{{#var:cell}}; width: 25%; background-color:{{#var:border}}; font-weight: bold; border: 3px solid {{#var:background}}; margin-bottom: 7px;">Accuracy<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 39%; margin: auto auto; font-weight: normal;">{{#external_value:accuracy}}</div></td>
<td style="color:{{#var:cell}}; width: 25%; background-color:{{#var:border}}; font-weight: bold; border: 3px solid {{#var:background}}; margin-bottom: 7px;">Accuracy<div style="background-color:#FFFFFF; color:#000000; border-radius: 25px; width: 39%; margin: auto auto; font-weight: normal;">{{#external_value:accuracy}}</div></td>
<td style="color:{{#var:cell}}; width: 25%; background-color:{{#var:border}}; border-radius: 1px 25px 25px 1px; font-weight: bold; border: 3px solid {{#var:background}}; padding: 7px;">Power Points<div style="background-color:#FFFFFF; border-radius: 25px; border: 2px solid {{#var:border}}; width: 35%; margin: auto auto; color:#000000; font-weight: normal;">{{#external_value:pp}}</div></td></tr>
<td style="color:{{#var:cell}}; width: 25%; background-color:{{#var:border}}; border-radius: 1px 25px 25px 1px; font-weight: bold; border: 3px solid {{#var:background}}; padding: 7px;">Power Points<div style="background-color:#FFFFFF; border-radius: 25px; border: 2px solid {{#var:border}}; width: 35%; margin: auto auto; color:#000000; font-weight: normal;">{{#external_value:pp}}</div></td></tr>
Line 33: Line 33:
<tr><td>
<tr><td>
<ul style="text-align: left; color:#000000; font-weight: normal; width: 52%; background-color:#FFFFFF; border-radius: 25px; margin: auto auto; padding: 5px;">
<ul style="text-align: left; color:#000000; font-weight: normal; width: 52%; background-color:#FFFFFF; border-radius: 25px; margin: auto auto; padding: 5px;">
<li style="margin-left: 40px;">Level-up/instinctual</li> {{#if: {{#external_value:tm}}  | <li style="margin-left: 40px;">[[TMs and HMs|{{{DEV|TM}}}{{padleft:{{#external_value:tm}}|2}}]]</li>}} {{#ifeq:{{#external_value:tutor}} | Y | <li style="margin-left: 40px;">Move-tutor</li>}} {{#ifeq:{{#external_value:egg}} | Y | <li style="margin-left: 40px;">[[Egg-Inheritable Moves|Hereditary move-tutor]]</li>}}
<li style="margin-left: 40px;">Level-up/instinctual</li> {{#if: {{#external_value:tm}}  | <li style="margin-left: 40px;">[[TMs and HMs|{{{DEV|TM}}}{{padleft:{{#external_value:tm}}|2}}]]</li>}} {{#ifeq:{{#external_value:tutor}} | Y | <li style="margin-left: 40px;">[[Move tutors|Move-tutor]]</li>}} {{#ifeq:{{#external_value:egg}} | Y | <li style="margin-left: 40px;">[[Egg-Inheritable Moves|Hereditary move-tutor]]</li>}}
</ul>
</ul>
</td></tr>
</td></tr>
Line 42: Line 42:
<includeonly>{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#vardefine:stab|1}} }} }}</includeonly>
<includeonly>{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#vardefine:stab|1}} }} }}</includeonly>
<includeonly>
<includeonly>
[[Category:Move techniques]] [[Category:{{#external_value:movetype}}-type moves]] [[Category:{{#external_value:category}} moves]] {{#ifeq:{{#external_value:broken}} | Y | [[Category:Broken moves]]}} {{#if: {{#external_value:tm}} | [[Category:TM-learnable moves]]}} {{#ifeq:{{#external_value:tutor}} | Y | [[Category:Tutor-teachable moves]]}} {{#ifeq:{{#external_value:egg}} | Y | [[Category:Egg-inheritable moves]]}} {{#ifexpr:{{#external_value:priority}} != 0 | [[Category:Priority moves]]}}
[[Category:Move techniques]] [[Category:{{#external_value:movetype}}-type moves]] [[Category:{{#external_value:category}} moves]] {{#ifeq:{{#external_value:broken}} | Y | [[Category:Broken moves]]}} {{#if: {{#external_value:tm}} | [[Category:TM-learnable moves]]}} {{#ifeq:{{#external_value:tutor}} | Y | [[Category:Tutor-teachable moves]]}} {{#ifeq:{{#external_value:egg}} | Y | [[Category:Egg-inheritable moves]]}} {{#ifexpr:{{#external_value:priority}} != 0 | {{#ifexpr:{{#external_value:priority}} > 0 | [[Category:Increased-priority moves]] | [[Category:Decreased-priority moves]]}}}}
</includeonly>
</includeonly>

Revision as of 22:48, 16 February 2017

Use this on any individualized move-technique pages; it will automatically glean data collated on RawMovesList to tabulate the data.

If you wish to edit the move-attribute data, you will need to do so on RawMovesList.