Template:AreaSurfSpawns: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This is to be used on area-specific pages for fishably encounterable Pokemon. | <noinclude>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.</noinclude | 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.</noinclude><includeonly><!-- | ||
-->{{#if:{{{Location|}}} | {{#vardefine:Location|{{{Location}}}}} | {{#vardefine:Location|{{PAGENAME}}}} }}<!-- | -->{{#if:{{{Location|}}} | {{#vardefine:Location|{{{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_file_data:source=spawns|file name=surf_spawns.json|format=JSON|filters=Map={{#var:Location}},FishingOnly=0|data=smember=MemberOnly,snumber=MonsterID,sname=Pokemon,time=Daytime,sitem=Item,srod=RequiredRod,srarity=Tier,sminlvl=MinLvl,smaxlvl=MaxLvl,fishable=Fishing}}<!-- | ||
--><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> | ||
<tr style="background-color: {{#var:watercell}};"><th scope="col" colspan="2" style="border-radius: 15px 1px 1px 1px; width: 15%; border: | <tr style="background-color: {{#var:watercell}};"><th scope="col" colspan="2" style="border-radius: 15px 1px 1px 1px; width: 15%; border: 1px solid {{#var:waterborder}}; color: {{#var:waterborder}};">Pokémon</th><th scope="col" style="width: 23%; border: 1px solid {{#var:waterborder}}; color: {{#var:waterborder}};">Level range</th><th colspan="3" scope="col" style="width: 6%; border: 1px solid {{#var:waterborder}};">[[Pokétime|<span style="color: {{#var:waterborder}};">Times</span>]]</th><th style="width: 20%; border: 1px solid {{#var:waterborder}}; color: {{#var:waterborder}};">Held Item</th><th style="width: 8%; border: 1px solid {{#var:waterborder}}; color: {{#var:waterborder}};">Rod</th><th style="border-radius: 1px 15px 1px 1px; width: 10%; border: 1px solid {{#var:waterborder}};">[[List of Pokémon by Rarity Tier|<span style="color: {{#var:waterborder}};">Rarity Tier</span>]]</tr> | ||
{{# | {{#display_external_table:template=AreaSurfSpawnRow|data=area=sarea,number=snumber,name=sname,time=time,minlvl=sminlvl,maxlvl=smaxlvl,item=sitem,rarity=srarity,rod=srod,fishable=fishable,member=smember}} | ||
}} | |||
<br> | <br> | ||
<br> | <br> | ||
<tr><td colspan="9" style="text-align: left; border: | <tr><td colspan="9" style="text-align: left; border: 1px solid {{#var:waterborder}}; background-color: {{#var:watercell}}; border-radius: 1px 1px 25px 25px;"><p style="margin-top: 8px; margin-left: 10px;"><ul><li><span style="color:#FF00BF; font-weight: bold;">Pink-colored</span> names denote that this Pokémon is exclusively encounterable for [[members]] in this area</li> | ||
<li>'''Emboldened''' levels indicate they are isolatable with the [[Repel trick]]</li></ul></p></td></tr> | |||
</table> | </table> | ||
</includeonly> | </includeonly> |
Latest revision as of 02:04, 14 December 2023
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.