Template:Move: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
<includeonly>{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name=
<includeonly>{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name=
{{PAGENAME}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM,priority=Priority,tm=TM,tutor=Move Tutor,egg=Egg}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}
{{PAGENAME}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM,priority=Priority,tm=TM,tutor=Move Tutor,egg=Egg}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}
<table class="informational-box" align="right" style="border: 4px solid {{#var: border}}; background-color: {{#var:background}}; width: 45%; max-width: 52%; padding: 4px; border-radius: 25px; text-align: center; border-spacing: 5px;">
<table class="informational-box" align="right" style="border: 4px solid {{#var: border}}; background-color: {{#var:background}}; width: 42%; max-width: 52%; padding: 4px; border-radius: 25px; text-align: center; border-spacing: 5px;">
<tr><td colspan="5" style="color:{{#var:border}}; font-weight: bold; font-size: 18px; background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};">{{#external_value:technique}}</td></tr>
<tr><td colspan="5" style="color:{{#var:border}}; font-weight: bold; font-size: 18px; background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};">{{#external_value:technique}}</td></tr>
<tr><td style="color:{{#var:border}}; background-color: {{#var:cell}}; border-radius: 25px; font-weight: bold; border: 3px solid {{#var:border}}; font-weight: bold; padding: 3px;">Categories
<tr><td style="color:{{#var:border}}; background-color: {{#var:cell}}; border-radius: 25px; font-weight: bold; border: 3px solid {{#var:border}}; font-weight: bold; padding: 3px;">Categories

Revision as of 05:59, 10 May 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.