Template:Fossil: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary Tag: Manual revert |
||
(3 intermediate revisions by 2 users not shown) | |||
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=https:// | {{#get_web_data:url=https://wiki.pokemonrevolution.net/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> | ||
Line 9: | Line 9: | ||
<td colspan="3" style="border-radius: 25px; border: 3px solid {{#var:border}}; background-color:{{#var:cell}}; padding: 3px;"><table class="collapsible collapsed" width="100%"><tr><th>Obtainability</th></tr> | <td colspan="3" style="border-radius: 25px; border: 3px solid {{#var:border}}; background-color:{{#var:cell}}; padding: 3px;"><table class="collapsible collapsed" width="100%"><tr><th>Obtainability</th></tr> | ||
<tr><td style="padding: 10px;"><ul style="background-color:#FFFFFF; border-radius: 20px; border: 1px solid {{#var:border}}; text-align: left; font-weight: normal; color:#000000;"> | <tr><td style="padding: 10px;"><ul style="background-color:#FFFFFF; border-radius: 20px; border: 1px solid {{#var:border}}; text-align: left; font-weight: normal; color:#000000;"> | ||
{{#replace: | {{#replace:<li style="margin-left: 50px;">{{{Locations}}} </li>|\|</li><li style="margin-left: 50px;">}} | ||
</ul></td></tr> | </ul></td></tr> | ||
</table></td></tr> | </table></td></tr> | ||
</table></includeonly> | </table></includeonly> |
Latest revision as of 15:11, 28 August 2025
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).