Template:HeadbuttData: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
<table class="collapsible collapsed" width="75%" cellspacing="5" style="background-color: {{#var:background}}; text-align: center; border: 5px solid {{#var:border}}; padding: 5px; border-radius: 25px;">
<table class="collapsible collapsed" width="75%" cellspacing="5" style="background-color: {{#var:background}}; text-align: center; border: 5px solid {{#var:border}}; padding: 5px; border-radius: 25px;">
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/HeadbuttSpawnData|format=CSV with header|filters=Area={{{Area|}}}|data=member=Membership,number=Pokedex Number,name=Pokemon,rarity=Tier,levels=Levels,area=Area,region=Region,ma=MembersAccessible}}
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/HeadbuttSpawnData|format=CSV with header|filters=Area={{{Area|}}}|data=member=Membership,number=Pokedex Number,name=Pokemon,rarity=Tier,levels=Levels,area=Area,region=Region,ma=MembersAccessible}}
<tr><th><div style="width: 25%; 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><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>
<td width="100%">
<td width="100%">

Revision as of 05:26, 17 February 2017

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.