Template:MoveTutorTable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name= | {{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name= | ||
{{{Move}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,priority=Priority,tm=TM}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}} | {{{Move}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,priority=Priority,tm=TM}}{{#vardefine:cell|#{{{{#external_value:movetype}}_color_light}}}}{{#vardefine:background|#{{{{#external_value:movetype}}_color}}}}{{#vardefine:border|#{{{{#external_value:movetype}}_color_dark}}}} | ||
<table style="width: | <table style="width:64%; background-color:{{#var:background}}; border: 5px solid {{#var:border}}; font-weight: bold; color: {{#var:border}}; border-radius: 25px; padding: 4px; text-align: center;"> | ||
<tr style="background-color:{{#var:cell}}; "><td colspan="4" style="border-radius: 25px; border: 3px solid {{#var:border}};>[[{{#external_value:technique}}|<span style="color:{{#var:border}};">{{#external_value:technique}}</span>]]</td></tr> | <tr style="background-color:{{#var:cell}}; "><td colspan="4" style="border-radius: 25px; border: 3px solid {{#var:border}};>[[{{#external_value:technique}}|<span style="color:{{#var:border}};">{{#external_value:technique}}</span>]]</td></tr> | ||
<tr style="background-color:{{#var:cell}};"> | <tr style="background-color:{{#var:cell}};"> | ||
Line 27: | Line 27: | ||
<tr><td> | <tr><td> | ||
<table cellpadding="5" class="collapsible collapsed" style="width: 100%; padding: 3px;"> | <table cellpadding="5" class="collapsible collapsed" style="width: 100%; padding: 3px;"> | ||
<tr style="background-color: {{#var:border}}; color: #FFFFFF;"><th style="border-top-left-radius: 25px; width: | <tr style="background-color: {{#var:border}}; color: #FFFFFF;"><th style="border-top-left-radius: 25px; width: 28%;">Location</th><th width="9%">Price</th><th style="border-top-right-radius: 25px; width: 70%;">Prerequisites</th></tr> | ||
{{{Contents|}}} | {{{Contents|}}} | ||
</table> | </table> |
Revision as of 06:42, 31 January 2017
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.