Template:HeadbuttData: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
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=http://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}} | {{#get_web_data:url=http://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}} | ||
<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%"> | ||
Line 20: | Line 20: | ||
<th style="border: 3px solid {{#var:border}}; background-color: {{#var:background}};">Rarity</th> | <th style="border: 3px solid {{#var:border}}; background-color: {{#var:background}};">Rarity</th> | ||
</tr>{{#for_external_table: | </tr>{{#for_external_table: | ||
<tr style="background-color:#FFFFFF;"><td width="5%">[[File:{{{number}}}Icon.png]]</td><td>[[{{{name}}}]]</td><td>{{{rarity}}}</td></tr> | <tr style="background-color:#FFFFFF;"><td width="5%">[[File:{{{number}}}Icon.png]]</td><td>[[{{{name}}}|<span style="color: {{{ma}}};">{{{name}}}</span>]]</td><td>{{{rarity}}}</td></tr> | ||
}} | }} | ||
</table> | </table> |
Revision as of 00:08, 9 October 2019
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.