Template:AreaLandSpawns: Difference between revisions
Jump to navigation
Jump to search
m Attempt to remove more strange linebreaks |
m Attempt to remove more strange linebreaks |
||
| Line 1: | Line 1: | ||
<noinclude>This is to be used on area-specific pages. | <noinclude>This is to be used on area-specific pages. | ||
If Pokemon-spawn data is documented for the page name on [[RawSpawnData]], 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> | If Pokemon-spawn data is documented for the page name on [[RawSpawnData]], 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><!-- | ||
{{#if:{{{Location|}}} | {{#vardefine:Location|{{{Location}}}}} | {{#vardefine:Location|{{PAGENAME}}}} }}{{#if:{{{Type|}}} | {{#vardefine:border|#{{{{{Type}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type}}}_color}}}}{{#vardefine:cell|#{{{{{Type}}}_color_light}}}}}}<!-- | -->{{#if:{{{Location|}}} | {{#vardefine:Location|{{{Location}}}}} | {{#vardefine:Location|{{PAGENAME}}}} }}{{#if:{{{Type|}}} | {{#vardefine:border|#{{{{{Type}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type}}}_color}}}}{{#vardefine:cell|#{{{{{Type}}}_color_light}}}}}}<!-- | ||
-->{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawSpawnData|format=CSV with header|filters=Area={{#var:Location}}|data=member=Membership,number=Pokedex Number,name=Pokemon,morning=Morning,day=Day,night=Night,item=Held Item,rarity=Tier,levels=Levels}}<!-- | -->{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawSpawnData|format=CSV with header|filters=Area={{#var:Location}}|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;"> | ||
Revision as of 18:22, 28 August 2018
This is to be used on area-specific pages.
If Pokemon-spawn data is documented for the page name on RawSpawnData, 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.