Difference between revisions of "Template:Map"
From Pokemon World Online Wiki
m |
m |
||
| (56 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly><table cellspacing"1" cellpadding="1" | + | <includeonly><table cellspacing"1" cellpadding="1" style="float: right; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; width: 30%; max-width: 30%; 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%"><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;" 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>{{#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;"> {{{NPC|0}}} </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;"> {{{HR|0}}} </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;"> {{{Water|0}}} </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;"><br>[[File:{{{Map}}}|{{{px| | + | </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}} |
| − | <tr><td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" colspan="1"><b>NPC Trainers</b><br><span style="background: #FFFFFF; border-radius: 15px; border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid;"> {{{NPC|0}}} </span></td> | + | </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>This is the {{{BadgeNum}}} Badge in the {{{Region}}} Region. </small></b></td></tr>}}<tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{GymType}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><small><b>Location</small></b><br> |
| − | <td 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;"> {{{HR|0}}} </span></td> | + | [[File:{{{GIF}}}.gif|{{PAGENAME}} location]]<br><small><b>{{PAGENAME}} is located here in the {{{Region}}} region. </small></b></td></tr>{{#if: {{{North|}}} |<tr><td width="33%" colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">↑ <b>North Exit:</b> </td><td width="66%" colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{North}}}]]</b></td></tr>}}{{#if: {{{East|}}} |<tr><td width="33%" colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">→ <b>East Exit:</b> </td><td width="66%" colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{East}}}]]</b></td></tr>}}{{#if: {{{South|}}} |<tr><td width="33%" colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">↓ <b>South Exit:</b> <td width="66%" colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{South}}}]]</b></td></tr>}}{{#if: {{{West|}}} |<tr><td width="33%" colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">← <b>West Exit:</b></td><td width="66%" colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{West}}}]]</b></td></tr>}}{{#if: {{{Cave|}}} |<tr><td colspan="1" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><b>Cave Entrance:</b></td><td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{Cave}}}]]</b></td></tr>}} |
| − | <td 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;"> {{{Water|0}}} </span> | + | {{#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> | + | <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> |
| − | </tr> | + | [[Category:All Locations]] {{#if: {{{Region|}}} | [[Category:{{{Region}}}]]}} {{#if: {{{Badge|}}} | [[Category:Gyms]]}} {{#switch: {{ucfirst:{{{Type}}}}} | Building = [[Category:Buildings]] | Cave = [[Category:Caves]] | Grass = [[Category:Routes]] | Water = [[Category:Routes]] | Forest = [[Category:Forests]] | Mountain = [[Category:Mountains]] }} |
| − | <tr><td colspan="6" style="border: 1px #{{Locationcolor/dark|{{{ | + | </includeonly> |
| − | [[File:{{{GIF}}}.gif|{{PAGENAME}} location]] | + | |
| − | <br> | + | |
| − | <small><b>{{PAGENAME}} is located here in the {{{Region}}} region. </small></b> | + | |
| − | </td></tr> | + | |
| − | {{#if: {{{North|}}} | | + | |
| − | <tr><td colspan=" | + | |
| − | {{#if: {{{East|}}} | | + | |
| − | <tr><td colspan=" | + | |
| − | {{#if: {{{South|}}} | | + | |
| − | <tr><td colspan=" | + | |
| − | {{#if: {{{West|}}} | | + | |
| − | <tr><td colspan=" | + | |
| − | {{#if: {{{Cave|}}} | | + | |
| − | <tr><td colspan=" | + | |
| − | {{#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> | + | |
| − | [[Route {{{Last}}} | + | |
| − | + | ||
| − | + | ||
| − | </table></includeonly> | + | |
<noinclude> | <noinclude> | ||
Example Syntax | Example Syntax | ||
| Line 37: | Line 17: | ||
*'''''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. | *'''''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 | *'''''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 | *'''''NPC''''' - How many NPC's in the area | ||
*'''''HR''''' - How many HR 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 | *'''''Water''''' - How many Water Pokemon | ||
*'''''Gif''''' - Just look for the file name, no ".gif" needed | *'''''Gif''''' - Just look for the file name, no ".gif" needed | ||
| Line 47: | Line 33: | ||
*'''''West''''' - 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. | *'''''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) | *'''''Last''''' - Add the last Route number. (i.e. for Route 1, Last=1) | ||
*'''''Next''''' - Add the next Route number. | *'''''Next''''' - Add the next Route number. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:05, 9 June 2014
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.