Template:Move: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Text replacement - "pro-wiki" to "prowiki"
Now auto-categorizes typeless moves.
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 | {{#ifexpr:{{#external_value:priority}} > 0 | [[Category:Increased-priority moves]] | [[Category:Decreased-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]]}}}} {{#ifeq:{{#external_value:typeless}}|Y|[[Category:Typeless moves]]}}
</includeonly>
</includeonly>

Revision as of 04:29, 23 March 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.