Template:HeadbuttData: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
m Text replacement - "prowiki.info" to "wiki.pokemonrevolution.net"
Line 4: Line 4:
</noinclude>
</noinclude>
<includeonly>{{#vardefine:border|#{{Forest_color_dark}}}}{{#vardefine:background|#{{Forest_color}}}}{{#vardefine:cell|#{{Forest_color_light}}}}<table class="collapsible collapsed" width="78%" cellspacing="5" style="background-color: {{#var:background}}; text-align: center; border: 5px solid {{#var:border}}; padding: 5px; border-radius: 25px;">
<includeonly>{{#vardefine:border|#{{Forest_color_dark}}}}{{#vardefine:background|#{{Forest_color}}}}{{#vardefine:cell|#{{Forest_color_light}}}}<table class="collapsible collapsed" width="78%" cellspacing="5" style="background-color: {{#var:background}}; text-align: center; border: 5px solid {{#var:border}}; padding: 5px; border-radius: 25px;">
{{#get_web_data:url=https://prowiki.info/index.php?title=Special:GetData/HeadbuttSpawnData|format=CSV with header|filters=Area={{{Area|}}}|data=number=Pokedex Number,name=Pokemon,rarity=Tier,levels=Levels,area=Area,ma=Membership}}
{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/HeadbuttSpawnData|format=CSV with header|filters=Area={{{Area|}}}|data=number=Pokedex Number,name=Pokemon,rarity=Tier,levels=Levels,area=Area,ma=Membership}}
<tr><th><div style="width: 50%; margin: auto auto; background-color: {{#var:cell}}; border-radius: 15px; border: 3px solid {{#var:border}}; font-weight: bold; border: 3px solid {{#var:border}}; font-size: 20px;">[[{{{Area}}}|<span style="color:{{#var:border}};">{{{Area}}}</span>]]</div></th></tr><tr>
<tr><th><div style="width: 50%; margin: auto auto; background-color: {{#var:cell}}; border-radius: 15px; border: 3px solid {{#var:border}}; font-weight: bold; border: 3px solid {{#var:border}}; font-size: 20px;">[[{{{Area}}}|<span style="color:{{#var:border}};">{{{Area}}}</span>]]</div></th></tr><tr>
<td width="100%">
<td width="100%">

Revision as of 06:18, 30 October 2021

This is used centrally on Headbutt trees to tabulate all Headbutt-spawn data of areas containing Headbutt trees.

The only arguments needed are {{{Area}}} to determine the area name and {{{Amount}}} to define the amount of Headbutt trees on in the relevant area; the template will transclude the rest of the data from HeadbuttSpawnData.