Template:AreaLandSpawns: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>This is to be used on area-specific pages. If Pokemon-spawn data is documented for the page name, it'll be auto-tabulated when this template is applied on the page...." |
Added a clause that I'll foreknowably need later. |
||
Line 1: | Line 1: | ||
<noinclude>This is to be used on area-specific pages. If Pokemon-spawn data is documented for the page name, it'll be auto-tabulated when this template is applied on the page.</noinclude> | <noinclude>This is to be used on area-specific pages. | ||
If Pokemon-spawn data is documented for the page name, it'll be auto-tabulated when this template is applied on the page. To specify the locational name, use the {{{Location}}} parameter—especially recommendable for multisectional areas.</noinclude> | |||
<includeonly> | <includeonly> | ||
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawSpawnData|format=CSV with header|filters=Area={{ | {{#if:{{{Location|}}} | {{#vardefine:Location|{{{Location}}}}} | {{#var:define:Location|{{PAGENAME}}}} }} | ||
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawSpawnData|format=CSV with header|filters=Area={{#var:Location}},Location=Land|data=member=Membership,number=Pokedex Number,name=Pokemon,morning=Morning,day=Day,night=Night,item=Held Item,rarity=Tier,levels=Levels}} | |||
<table align="center" style="width: 85%; max-width: 90%; text-align: center; cellpadding: 3px; cellspacing: 10px; margin: auto auto; border-radius: 15px; border: 4px solid {{#var:border}}; background-color: {{#var:background}}; padding: 7px;"> | <table align="center" style="width: 85%; max-width: 90%; text-align: center; cellpadding: 3px; cellspacing: 10px; margin: auto auto; border-radius: 15px; border: 4px solid {{#var:border}}; background-color: {{#var:background}}; padding: 7px;"> | ||
<tr style="background-color: {{#var:cell}};"><th scope="col" colspan="2" style="border-radius: 15px 1px 1px 1px; width: 15%; border: 2px solid {{#var:border}}; color: {{#var:border}};">Pokémon</th><th scope="col" style="width: 23%; border: 2px solid {{#var:border}}; color: {{#var:border}};">Level range</th><th colspan="3" scope="col" style="width: 6%; border: 2px solid {{#var:border}};">[[Pokétime|<span style="color: {{#var:border}};">Times</span>]]</th><th style="width: 20%; border: 2px solid {{#var:border}}; color: {{#var:border}};">Held Item</th><th style="border-radius: 1px 15px 1px 1px; width: 10%; border: 2px solid {{#var:border}};">[[List of Pokémon by Rarity Tier|<span style="color: {{#var:border}};">Rarity Tier</span>]]</tr> | <tr style="background-color: {{#var:cell}};"><th scope="col" colspan="2" style="border-radius: 15px 1px 1px 1px; width: 15%; border: 2px solid {{#var:border}}; color: {{#var:border}};">Pokémon</th><th scope="col" style="width: 23%; border: 2px solid {{#var:border}}; color: {{#var:border}};">Level range</th><th colspan="3" scope="col" style="width: 6%; border: 2px solid {{#var:border}};">[[Pokétime|<span style="color: {{#var:border}};">Times</span>]]</th><th style="width: 20%; border: 2px solid {{#var:border}}; color: {{#var:border}};">Held Item</th><th style="border-radius: 1px 15px 1px 1px; width: 10%; border: 2px solid {{#var:border}};">[[List of Pokémon by Rarity Tier|<span style="color: {{#var:border}};">Rarity Tier</span>]]</tr> |
Revision as of 16:32, 13 January 2017
This is to be used on area-specific pages.
If Pokemon-spawn data is documented for the page name, it'll be auto-tabulated when this template is applied on the page. To specify the locational name, use the {{{Location}}} parameter—especially recommendable for multisectional areas.