PRO Wiki Discord

Difference between revisions of "Template:AreaSurfSpawns"

From Pokémon Revolution Online Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
-->{{#vardefine:waterbackground|#{{Water_color}}}}<!--
 
-->{{#vardefine:waterbackground|#{{Water_color}}}}<!--
 
-->{{#vardefine:watercell|#{{Water_color_light}}}}<!--
 
-->{{#vardefine:watercell|#{{Water_color_light}}}}<!--
-->{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawWaterSpawnData|format=CSV with header|filters=Area={{#var:Location}},Location=Surfing|data=member=Member,number=DexID,name=Pokemon,morning=Morning,day=Day,night=Night,item=Item,rarity=Tier,MinLvl=MinLvl,MaxLvl=MaxLvl,rod=RequiredRod}}<!--
+
-->{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawWaterSpawnData|format=CSV with header|filters=Map={{#var:Location}},Location=Surfing|data=member=Member,number=DexID,name=Pokemon,morning=Morning,day=Day,night=Night,item=Item,rarity=Tier,lvls=Levels,rod=RequiredRod}}<!--
 
--><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: 53px; height: 53px; border: 3px solid #{{Water_color_dark}}; border-radius: 40px; background-color: #{{Water_color_light}}; padding: 5px;">[[File:PikachuSurf.png]]</div></td></tr>
 
<tr><td colspan="9"><div style="margin: auto auto; width: 53px; height: 53px; border: 3px solid #{{Water_color_dark}}; border-radius: 40px; background-color: #{{Water_color_light}}; padding: 5px;">[[File:PikachuSurf.png]]</div></td></tr>
Line 18: Line 18:
 
<td>[[File:{{{number}}}Icon.png]]</td>
 
<td>[[File:{{{number}}}Icon.png]]</td>
 
<td>[[{{{name}}}|<span style="color:{{{member}}};">{{{name}}}</span>]]</td>
 
<td>[[{{{name}}}|<span style="color:{{{member}}};">{{{name}}}</span>]]</td>
<td>{{{MinLvl}}}-{{{MaxLvl}}}</td>
+
<td>{{{lvls}}}</td>
 
<td width="8%" style="background-color: #{{ {{{morning}}}_color}}; border: 2px solid #{{ {{{morning}}}_color_dark}};"><span style="color:#{{ {{{morning}}}_color_dark}}; font-weight: bold;">{{{morning}}}</span></td>
 
<td width="8%" style="background-color: #{{ {{{morning}}}_color}}; border: 2px solid #{{ {{{morning}}}_color_dark}};"><span style="color:#{{ {{{morning}}}_color_dark}}; font-weight: bold;">{{{morning}}}</span></td>
 
<td width="8%" style="background-color: #{{ {{{day}}}_color}}; border: 2px solid #{{ {{{day}}}_color_dark}};"><span style="color:#{{ {{{day}}}_color_dark}}; font-weight: bold;">{{{day}}}</span></td>
 
<td width="8%" style="background-color: #{{ {{{day}}}_color}}; border: 2px solid #{{ {{{day}}}_color_dark}};"><span style="color:#{{ {{{day}}}_color_dark}}; font-weight: bold;">{{{day}}}</span></td>

Latest revision as of 18:04, 11 October 2019

This is to be used on area-specific pages for fishably encounterable Pokemon.

If Pokemon-spawn data is documented for the page name on RawWaterSpawnData, 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.