Template:Fossil: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Text replacement - "pro-wiki" to "prowiki"
mNo edit summary
Line 3: Line 3:
It accepts the following-three modular arguments: {{{Fossil}}} for the fossil name, {{{Pokemon}}} for the name of the Pokemon that it correspondingly ends up generated into, and {{{Locations}}} for a list of areas wheren it's obtainable (using \ as the delimiter between discrete locations).</noinclude>
It accepts the following-three modular arguments: {{{Fossil}}} for the fossil name, {{{Pokemon}}} for the name of the Pokemon that it correspondingly ends up generated into, and {{{Locations}}} for a list of areas wheren it's obtainable (using \ as the delimiter between discrete locations).</noinclude>
<includeonly>{{#vardefine:cell|#{{Ground_color_light}}}}{{#vardefine:background|#{{Ground_color}}}}{{#vardefine:border|#{{Ground_color_dark}}}}
<includeonly>{{#vardefine:cell|#{{Ground_color_light}}}}{{#vardefine:background|#{{Ground_color}}}}{{#vardefine:border|#{{Ground_color_dark}}}}
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Pokemon}}}|data=number=Pokedex Number,name=Name}}
{{#get_web_data:url=https://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Pokemon}}}|data=number=Pokedex Number,name=Name}}
<table style="width:50%; background-color:{{#var:background}}; border: 5px solid {{#var:border}}; font-weight: bold; color: {{#var:border}}; border-radius: 25px; padding: 4px; text-align: center;">
<table style="width:50%; 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 style="border-radius: 25px 1px 1px 25px; padding: 3px; border: 3px solid {{#var:border}}; width: 33%;"><table align="center"><tr><td  style="background-color:#FFFFFF; border-radius: 25px; padding: 3px;">[[File:{{{Fossil}}}.png]]</td><td>{{{Fossil}}}</td></tr></table></td><td style="border: 3px solid {{#var:border}}; width: 33%;">Reanimates into <span style="font-weight: bold: font-size: 25px;">→</span></td><td style="border-radius: 1px 25px 25px 1px; border: 3px solid {{#var:border}}; width: 33%;><table align="center"><tr><td style="background-color:#FFFFFF; border-radius: 25px; padding: 4px;">[[File:{{#external_value:number}}Icon.png]]</td><td>[[{{#external_value:name}}|<span style="color:{{#var:border}};">{{#external_value:name}}</span>]]</td></tr></table></td></tr>
<tr style="background-color:{{#var:cell}}; "><td style="border-radius: 25px 1px 1px 25px; padding: 3px; border: 3px solid {{#var:border}}; width: 33%;"><table align="center"><tr><td  style="background-color:#FFFFFF; border-radius: 25px; padding: 3px;">[[File:{{{Fossil}}}.png]]</td><td>{{{Fossil}}}</td></tr></table></td><td style="border: 3px solid {{#var:border}}; width: 33%;">Reanimates into <span style="font-weight: bold: font-size: 25px;">→</span></td><td style="border-radius: 1px 25px 25px 1px; border: 3px solid {{#var:border}}; width: 33%;><table align="center"><tr><td style="background-color:#FFFFFF; border-radius: 25px; padding: 4px;">[[File:{{#external_value:number}}Icon.png]]</td><td>[[{{#external_value:name}}|<span style="color:{{#var:border}};">{{#external_value:name}}</span>]]</td></tr></table></td></tr>

Revision as of 20:24, 18 March 2020

To be used to tabulate all Pokémon-fossil data and obtainability information thereof—chiefly for applicative usage on the page of its namesake in fossils.

It accepts the following-three modular arguments: {{{Fossil}}} for the fossil name, {{{Pokemon}}} for the name of the Pokemon that it correspondingly ends up generated into, and {{{Locations}}} for a list of areas wheren it's obtainable (using \ as the delimiter between discrete locations).