Template:AreaLandSpawns: Difference between revisions
Jump to navigation
Jump to search
m Attempt to remove 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> | 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> | ||
<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}}<!-- |
Revision as of 18:21, 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.