Difference between revisions of "Template:Map2"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly><table><tr><td><table cellspacing"1" cellpadding="1" style="; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;">
+
<includeonly><table><tr><td><table cellspacing"1" cellpadding="1" style="float:left; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;">
 
<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">{{#if: {{{Region|}}}| <b><big>{{{Region}}}</big> - }}{{PAGENAME}}</b></td></tr><tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;"><br>[[File:{{{Map}}}|{{{px|350px}}}|{{PAGENAME}}]]<br><br></td></tr></table></td><td><table cellspacing"1" cellpadding="1" style="; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;"><tr>{{#if: {{{Map2|}}} |<td colspan="{{#if: {{{Map3|}}} |2|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map2}}}|{{{px2|100px}}}|{{{Map2}}}]]<br><b><small>{{{Cap2|{{{Map2}}}}}}</b></small><br></td></td>}}{{#if: {{{Map3|}}} |<td colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map3}}}|{{{px3|100px}}}|{{{Map3}}}]]<br><b><small>{{{Cap3|{{{Map3}}}}}}</b></small><br></td></tr></td></tr>}}{{#if: {{{Map4|}}} |<td colspan="{{#if: {{{Map5|}}} |1|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map4}}}|{{{px4|100px}}}|{{{Map4}}}]]<br><b><small>{{{Cap4|{{{Map4}}}}}}</b></small><br></td></td>}}{{#if: {{{Map5|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map5}}}|{{{px5|100px}}}|{{{Map5}}}]]<br><b><small>{{{Cap5|{{{Map5}}}}}}</b></small><br></td></tr></td></tr>}}{{#if: {{{Map6|}}} |<td colspan="{{#if: {{{Map7|}}} |2|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map6}}}|{{{px6|100px}}}|{{{Map6}}}]]<br><b><small>{{{Cap6|{{{Map6}}}}}}</b></small><br></td></td>}}{{#if: {{{Map7|}}} |<td colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map7}}}|{{{px7|100px}}}|{{{Map7}}}]]<br><b><small>{{{Cap7|{{{Map7}}}}}}</b></small><br></td></tr></td></tr>}}{{#if: {{{Map8|}}} |<td colspan="{{#if: {{{Map9|}}} |1|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map8}}}|{{{px8|100px}}}|{{{Map8}}}]]<br><b><small>{{{Cap8|{{{Map8}}}}}}</b></small><br></td></td>}}{{#if: {{{NPC|}}} |<tr><td width="33%" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;"><b>NPC Trainers</b><br><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;">&nbsp;&nbsp;&nbsp;{{{NPC|0}}}&nbsp;&nbsp;&nbsp;</span></td><td width="33%" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" colspan="1"><b>HR Pokémon</b><br><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;">&nbsp;&nbsp;&nbsp;{{{HR|0}}}&nbsp;&nbsp;&nbsp;</span></td><td width="33%" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" colspan="1"><b>Water Pokémon</b><br /><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;">&nbsp;&nbsp;&nbsp;{{{Water|0}}}&nbsp;&nbsp;&nbsp;</span></td></tr>}}{{#if: {{{Badge|}}} | <td colspan="1" rowspan="3" style="border: 1px #{{#if: {{{GymType2}}} | {{{{{GymType2|???}}}_color_dark}} | {{{{{GymType|???}}}_color_dark}}}} solid; background: #{{{{{GymType|???}}}_color_light}}; border-radius: 15px;">[[File:{{{Badge}}}Badge.png|70px|{{{Badge}}} Badge]]<br><b><small>{{{Badge}}} Badge</b></small><br><td colspan="2" rowspan="1" style="border: 1px #{{#if: {{{GymType2}}} | {{{{{GymType2|???}}}_color_dark}} | {{{{{GymType|???}}}_color_dark}}}} solid; background: #{{{{{GymType|???}}}_color_light}}; border-radius: 15px;"><small><b>The Gym Leader for this Gym is {{{GymLeader}}}</small></b>
 
<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">{{#if: {{{Region|}}}| <b><big>{{{Region}}}</big> - }}{{PAGENAME}}</b></td></tr><tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;"><br>[[File:{{{Map}}}|{{{px|350px}}}|{{PAGENAME}}]]<br><br></td></tr></table></td><td><table cellspacing"1" cellpadding="1" style="; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;"><tr>{{#if: {{{Map2|}}} |<td colspan="{{#if: {{{Map3|}}} |2|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map2}}}|{{{px2|100px}}}|{{{Map2}}}]]<br><b><small>{{{Cap2|{{{Map2}}}}}}</b></small><br></td></td>}}{{#if: {{{Map3|}}} |<td colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map3}}}|{{{px3|100px}}}|{{{Map3}}}]]<br><b><small>{{{Cap3|{{{Map3}}}}}}</b></small><br></td></tr></td></tr>}}{{#if: {{{Map4|}}} |<td colspan="{{#if: {{{Map5|}}} |1|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map4}}}|{{{px4|100px}}}|{{{Map4}}}]]<br><b><small>{{{Cap4|{{{Map4}}}}}}</b></small><br></td></td>}}{{#if: {{{Map5|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map5}}}|{{{px5|100px}}}|{{{Map5}}}]]<br><b><small>{{{Cap5|{{{Map5}}}}}}</b></small><br></td></tr></td></tr>}}{{#if: {{{Map6|}}} |<td colspan="{{#if: {{{Map7|}}} |2|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map6}}}|{{{px6|100px}}}|{{{Map6}}}]]<br><b><small>{{{Cap6|{{{Map6}}}}}}</b></small><br></td></td>}}{{#if: {{{Map7|}}} |<td colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map7}}}|{{{px7|100px}}}|{{{Map7}}}]]<br><b><small>{{{Cap7|{{{Map7}}}}}}</b></small><br></td></tr></td></tr>}}{{#if: {{{Map8|}}} |<td colspan="{{#if: {{{Map9|}}} |1|3}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[File:{{{Map8}}}|{{{px8|100px}}}|{{{Map8}}}]]<br><b><small>{{{Cap8|{{{Map8}}}}}}</b></small><br></td></td>}}{{#if: {{{NPC|}}} |<tr><td width="33%" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;"><b>NPC Trainers</b><br><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;">&nbsp;&nbsp;&nbsp;{{{NPC|0}}}&nbsp;&nbsp;&nbsp;</span></td><td width="33%" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" colspan="1"><b>HR Pokémon</b><br><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;">&nbsp;&nbsp;&nbsp;{{{HR|0}}}&nbsp;&nbsp;&nbsp;</span></td><td width="33%" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" colspan="1"><b>Water Pokémon</b><br /><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;">&nbsp;&nbsp;&nbsp;{{{Water|0}}}&nbsp;&nbsp;&nbsp;</span></td></tr>}}{{#if: {{{Badge|}}} | <td colspan="1" rowspan="3" style="border: 1px #{{#if: {{{GymType2}}} | {{{{{GymType2|???}}}_color_dark}} | {{{{{GymType|???}}}_color_dark}}}} solid; background: #{{{{{GymType|???}}}_color_light}}; border-radius: 15px;">[[File:{{{Badge}}}Badge.png|70px|{{{Badge}}} Badge]]<br><b><small>{{{Badge}}} Badge</b></small><br><td colspan="2" rowspan="1" style="border: 1px #{{#if: {{{GymType2}}} | {{{{{GymType2|???}}}_color_dark}} | {{{{{GymType|???}}}_color_dark}}}} solid; background: #{{{{{GymType|???}}}_color_light}}; border-radius: 15px;"><small><b>The Gym Leader for this Gym is {{{GymLeader}}}</small></b>
 
</td><tr><td colspan="2" rowspan="1" style="border: 1px #{{#if: {{{GymType2}}} | {{{{{GymType2|???}}}_color_dark}} | {{{{{GymType|???}}}_color_dark}}}} solid; background: #{{{{{GymType|???}}}_color_light}}; border-radius: 15px;"><small><b>Gym Type : [[:Category:{{{GymType}}}|{{{GymType}}}]] {{#if: {{{GymType2|}}} |/[[:Category:{{{GymType2}}}|{{{GymType2}}}]]-Type|-Type}}
 
</td><tr><td colspan="2" rowspan="1" style="border: 1px #{{#if: {{{GymType2}}} | {{{{{GymType2|???}}}_color_dark}} | {{{{{GymType|???}}}_color_dark}}}} solid; background: #{{{{{GymType|???}}}_color_light}}; border-radius: 15px;"><small><b>Gym Type : [[:Category:{{{GymType}}}|{{{GymType}}}]] {{#if: {{{GymType2|}}} |/[[:Category:{{{GymType2}}}|{{{GymType2}}}]]-Type|-Type}}

Revision as of 16:24, 12 August 2015


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.