Template:AreaFishingSpawns: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
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. If you want to specify the locational name, use the {{{Location}}} argument; otherwise, it'll default to the page-name as the location name.</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. If you want to specify the locational name, use the {{{Location}}} argument; otherwise, it'll default to the page-name as the location name.</noinclude> | ||
<includeonly> | <includeonly> | ||
{{#if:{{{ | {{#if:{{{FishingLocation|}}} | {{#vardefine:FishingLocation|{{{Location}}}}} | {{#vardefine:Location|{{PAGENAME}}}} }} | ||
{{#vardefine:waterborder|#{{Water_color_dark}}}} | {{#vardefine:waterborder|#{{Water_color_dark}}}} | ||
{{#vardefine:waterbackground|#{{Water_color}}}} | {{#vardefine:waterbackground|#{{Water_color}}}} | ||
{{#vardefine:watercell|#{{Water_color_light}}}} | {{#vardefine:watercell|#{{Water_color_light}}}} | ||
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawSpawnData|format=CSV with header|filters=Area={{#var: | {{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawSpawnData|format=CSV with header|filters=Area={{#var:FishingLocation}},Location=Fishing|data=member=Membership,number=Pokedex Number,name=Pokemon,morning=Morning,day=Day,night=Night,item=Held Item,rarity=Tier,levels=Levels,rod=Rod}} | ||
<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:waterborder}}; background-color: {{#var:waterbackground}}; 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:waterborder}}; background-color: {{#var:waterbackground}}; padding: 7px;"> | ||
<tr><td colspan="9"><div style="margin: auto auto; width: 30px; height: 30px; border: 3px solid #{{Water_color_dark}}; border-radius: 40px; background-color: #{{Water_color_light}}; padding: 5px;">[[File:Old Rod.png]]</div></td></tr> | <tr><td colspan="9"><div style="margin: auto auto; width: 30px; height: 30px; border: 3px solid #{{Water_color_dark}}; border-radius: 40px; background-color: #{{Water_color_light}}; padding: 5px;">[[File:Old Rod.png]]</div></td></tr> |
Revision as of 12:42, 15 March 2017
This is to be used on area-specific pages for fishably encounterable Pokemon.
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. If you want to specify the locational name, use the {{{Location}}} argument; otherwise, it'll default to the page-name as the location name.