Template:AreaLandSpawns: Difference between revisions
Jump to navigation
Jump to search
Added a clause that I'll foreknowably need later. |
mNo edit summary |
||
Line 3: | Line 3: | ||
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> | 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> | ||
{{#if:{{{Location|}}} | {{#vardefine:Location|{{{Location}}}}} | {{# | {{#if:{{{Location|}}} | {{#vardefine:Location|{{{Location}}}}} | {{#vardefine: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}} | {{#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;"> |
Revision as of 16:37, 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.