Difference between revisions of "Template:Map"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
 
{{#if: {{{Last|}}} |<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><b><small>Pokémon World Routes</small></b><br></td><tr>
 
{{#if: {{{Last|}}} |<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><b><small>Pokémon World Routes</small></b><br></td><tr>
 
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px 1px 1px 15px; width=50%;">←[[ Route {{{Last}}}]]</b></small></td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 1px 1px 1px;px; width=50%;">{{PAGENAME}}</td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 15px 15px 1px;; width=50%;">[[Route {{{Next}}}]] →</b></small></td></tr>}}{{#if: {{{LastC|}}} |<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><b><small>Pokémon World Cities</small></b><br></td><tr><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px 1px 1px 15px; width=50%;">←[[{{{LastC}}}]]</b></small></td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 1px 1px 1px;px; width=50%;">{{PAGENAME}}</td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 15px 15px 1px;; width=50%;">[[{{{NextC}}}]] →</b></small></td></tr>}}</table>
 
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px 1px 1px 15px; width=50%;">←[[ Route {{{Last}}}]]</b></small></td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 1px 1px 1px;px; width=50%;">{{PAGENAME}}</td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 15px 15px 1px;; width=50%;">[[Route {{{Next}}}]] →</b></small></td></tr>}}{{#if: {{{LastC|}}} |<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><b><small>Pokémon World Cities</small></b><br></td><tr><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px 1px 1px 15px; width=50%;">←[[{{{LastC}}}]]</b></small></td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 1px 1px 1px;px; width=50%;">{{PAGENAME}}</td><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 1px 15px 15px 1px;; width=50%;">[[{{{NextC}}}]] →</b></small></td></tr>}}</table>
[[Category:All Locations]] [[Category:{{{Region}}}}]] {{#switch: [[Category:{{{Type}}}]] | building = Buildings | cave = Caves | Mountain = Mountains| grass = Routes | water = Routes}}
+
[[Category:All Locations]] [[Category:{{{Region}}}]] {{#switch: [[Category:{{{Type}}}]] | building = Buildings | cave = Caves | Mountain = Mountains| grass = Routes | water = Routes}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 07:03, 21 November 2013


Example Syntax

{{Map|Region=Kanto|Type=Grass|Map=Route 1.png|NPC=1|HR=1|Water=10|GIF=Route_1|North=Route 2|West=Route 4|South=Route 6|East=Route 5|Cave=Digglets Cave|Last=1|Next=2}}

List of Parameters in Use

  • Region - Just state the region the map is in)
  • Type - Sets the colors for the tables, you can use land, forest, fog, marsh, ash, ruins, sand, lake, ocean, underwater, cave, mountain, volcano, snow, space, distortion, building, road.
  • Map - Just type the Route file
  • Map2 - Allows for multiple maps to be displayed (Map2, Map3, Map4, up to 8), for use when there are multiple levels to one location.
  • Badge - For use in city locations, displays what Badge it is. (i.e. Boulder, Volcano, etc.)
  • BadgeNum - Displays what the badge number is for that region, (i.e. 6th, 7th, 8th)
  • GymType - What Gym Type it is.
  • GymType2 - For cases where the Gym has two Types.
  • Gym Leader - Who the Gym Leader is (i.e. Brock, Misty)
  • NPC - How many NPC's in the area
  • HR - How many HR in the area
  • px2 - Changes the size of the extra maps, Map2 = px2, Map3 = px3. Use : px2=250px
  • Water - How many Water Pokemon
  • Gif - Just look for the file name, no ".gif" needed
  • North - If there is one, just add, if not, leave blank.
  • South - If there is one, just add, if not, leave blank.
  • East - If there is one, just add, if not, leave blank.
  • West - If there is one, just add, if not, leave blank.
  • Cave - If there is one, just add, if not, leave blank.
  • LastC - For use in City Locations, Add the last City (i.e. Pallet Town, Viridian City)
  • NextC - For use in City Locations, Add the Next City.
  • Last - Add the last Route number. (i.e. for Route 1, Last=1)
  • Next - Add the next Route number.