Template:Move: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Sequestered the table from the auto-categorizing tags in another transclusive block.
Forgot to add the em dash as a default argument for the base-power tabular alcove.
Line 22: Line 22:
<table width="100%" style="border-spacing: 3px; padding: 5px;">
<table width="100%" style="border-spacing: 3px; padding: 5px;">
<tr><td colspan="4"></tr>
<tr><td colspan="4"></tr>
<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;">{{#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: 3%; margin: auto auto; font-weight: normal;">{{#ifexpr:{{#external_value:priority}} > 0 |+|-}}{{#external_value:priority}}</div></td>}}

Revision as of 14:21, 19 January 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.