Template:Map Point Plus: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
mNo edit summary
imported>Tlosk
(Replaced content with '<includeonly> <div style="position:relative; top:0px; left:0px"> <span style="z-index:0>Map</span> <span style="position:absolute; top:4px; left:…')
 
(25 intermediate revisions by 4 users not shown)
Line 2: Line 2:
<div style="position:relative; top:0px; left:0px">
<div style="position:relative; top:0px; left:0px">
<span style="z-index:0>[[Image:Map 4px Border.png|Map]]</span>
<span style="z-index:0>[[Image:Map 4px Border.png|Map]]</span>
<span style="position:absolute; top:4px; left:4px; z-index:1">[[Image:Point Map 512.jpg|Dereth]]</span>
<span style="position:absolute; top:4px; left:4px; z-index:1">{{#ifeq:{{{Base Map|}}}||[[Image:Point Map 512.jpg|Dereth]]|[[Image:{{{Base Map|}}}]]}}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{2|0}}}}}
{{{Points|}}}
| N
</div>
| {{#expr: 256-4-{{{1|0}}}/102.8*256 round 0}}
</includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]][[Category:Navigation Template]]</noinclude>
| {{#expr: 256-4+{{{1|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{4|0}}}}}
| E
| {{#expr: 256-4+{{{3|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{3|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{4| }}} | {{{4|u}}} 
| [[Image:Map Point {{ucfirst:{{{5|Large}}}}}.png|{{{6|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{8|0}}}}}
| N
| {{#expr: 256-4-{{{7|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{7|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{10|0}}}}}
| E
| {{#expr: 256-4+{{{9|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{9|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{10| }}} | {{{10|u}}} 
| [[Image:Map Point {{ucfirst:{{{11|Large}}}}}.png|{{{12|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{14|0}}}}}
| N
| {{#expr: 256-4-{{{13|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{13|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{16|0}}}}}
| E
| {{#expr: 256-4+{{{15|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{15|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{16| }}} | {{{16|u}}} 
| [[Image:Map Point {{ucfirst:{{{17|Large}}}}}.png|{{{18|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{20|0}}}}}
| N
| {{#expr: 256-4-{{{19|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{19|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{22|0}}}}}
| E
| {{#expr: 256-4+{{{21|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{21|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{22| }}} | {{{22|u}}} 
| [[Image:Map Point {{ucfirst:{{{23|Large}}}}}.png|{{{24|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{26|0}}}}}
| N
| {{#expr: 256-4-{{{25|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{25|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{28|0}}}}}
| E
| {{#expr: 256-4+{{{27|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{27|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{28| }}} | {{{28|u}}} 
| [[Image:Map Point {{ucfirst:{{{29|Large}}}}}.png|{{{30|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{32|0}}}}}
| N
| {{#expr: 256-4-{{{31|0}}}/102.8*256 round 0}}  
| {{#expr: 256-4+{{{31|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{34|0}}}}}
| E
| {{#expr: 256-4+{{{33|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{33|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{34| }}} | {{{34|u}}} 
| [[Image:Map Point {{ucfirst:{{{35|Large}}}}}.png|{{{36|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{38|0}}}}}
| N
| {{#expr: 256-4-{{{37|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{37|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{40|0}}}}}
| E
| {{#expr: 256-4+{{{39|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{39|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{40| }}} | {{{40|u}}} 
| [[Image:Map Point {{ucfirst:{{{41|Large}}}}}.png|{{{42|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{44|0}}}}}
| N
| {{#expr: 256-4-{{{43|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{43|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{46|0}}}}}
| E
| {{#expr: 256-4+{{{45|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{45|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{46| }}} | {{{46|u}}} 
| [[Image:Map Point {{ucfirst:{{{47|Large}}}}}.png|{{{48|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{50|0}}}}}
| N
| {{#expr: 256-4-{{{49|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{49|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{52|0}}}}}
| E
| {{#expr: 256-4+{{{51|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{51|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{52| }}} | {{{52|u}}} 
| [[Image:Map Point {{ucfirst:{{{53|Large}}}}}.png|{{{54|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{56|0}}}}}
| N
| {{#expr: 256-4-{{{55|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{55|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{58|0}}}}}
| E
| {{#expr: 256-4+{{{57|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{57|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{58| }}} | {{{58|u}}} 
| [[Image:Map Point {{ucfirst:{{{59|Large}}}}}.png|{{{60|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{62|0}}}}}
| N
| {{#expr: 256-4-{{{61|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{61|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{64|0}}}}}
| E
| {{#expr: 256-4+{{{63|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{63|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{64| }}} | {{{64|u}}} 
| [[Image:Map Point {{ucfirst:{{{65|Large}}}}}.png|{{{66|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{68|0}}}}}
| N
| {{#expr: 256-4-{{{67|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{67|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{70|0}}}}}
| E
| {{#expr: 256-4+{{{69|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{69|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{70| }}} | {{{70|u}}} 
| [[Image:Map Point {{ucfirst:{{{71|Large}}}}}.png|{{{72|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{74|0}}}}}
| N
| {{#expr: 256-4-{{{73|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{73|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{76|0}}}}}
| E
| {{#expr: 256-4+{{{75|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{75|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{76| }}} | {{{76|u}}} 
| [[Image:Map Point {{ucfirst:{{{77|Large}}}}}.png|{{{78|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{80|0}}}}}
| N
| {{#expr: 256-4-{{{79|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{79|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{82|0}}}}}
| E
| {{#expr: 256-4+{{{81|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{81|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{82| }}} | {{{82|u}}} 
| [[Image:Map Point {{ucfirst:{{{83|Large}}}}}.png|{{{84|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{86|0}}}}}
| N
| {{#expr: 256-4-{{{85|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{85|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{88|0}}}}}
| E
| {{#expr: 256-4+{{{87|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{87|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{88| }}} | {{{88|u}}} 
| [[Image:Map Point {{ucfirst:{{{89|Large}}}}}.png|{{{90|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{92|0}}}}}
| N
| {{#expr: 256-4-{{{91|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{91|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{94|0}}}}}
| E
| {{#expr: 256-4+{{{93|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{93|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{94| }}} | {{{94|u}}} 
| [[Image:Map Point {{ucfirst:{{{95|Large}}}}}.png|{{{96|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{98|0}}}}}
| N
| {{#expr: 256-4-{{{97|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{97|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{100|0}}}}}
| E
| {{#expr: 256-4+{{{99|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{99|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{100| }}} | {{{100|u}}} 
| [[Image:Map Point {{ucfirst:{{{101|Large}}}}}.png|{{{102|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{104|0}}}}}
| N
| {{#expr: 256-4-{{{103|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{103|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{106|0}}}}}
| E
| {{#expr: 256-4+{{{105|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{105|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{106| }}} | {{{106|u}}} 
| [[Image:Map Point {{ucfirst:{{{107|Large}}}}}.png|{{{108|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{110|0}}}}}
| N
| {{#expr: 256-4-{{{109|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{109|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{112|0}}}}}
| E
| {{#expr: 256-4+{{{111|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{111|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{112| }}} | {{{112|u}}} 
| [[Image:Map Point {{ucfirst:{{{113|Large}}}}}.png|{{{114|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{116|0}}}}}
| N
| {{#expr: 256-4-{{{115|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{115|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{118|0}}}}}
| E
| {{#expr: 256-4+{{{117|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{117|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{118| }}} | {{{118|u}}} 
| [[Image:Map Point {{ucfirst:{{{119|Large}}}}}.png|{{{120|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{122|0}}}}}
| N
| {{#expr: 256-4-{{{121|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{121|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{124|0}}}}}
| E
| {{#expr: 256-4+{{{123|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{123|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{124| }}} | {{{124|u}}} 
| [[Image:Map Point {{ucfirst:{{{125|Large}}}}}.png|{{{126|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{128|0}}}}}
| N
| {{#expr: 256-4-{{{127|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{127|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{130|0}}}}}
| E
| {{#expr: 256-4+{{{129|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{129|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{130| }}} | {{{130|u}}} 
| [[Image:Map Point {{ucfirst:{{{131|Large}}}}}.png|{{{132|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{134|0}}}}}
| N
| {{#expr: 256-4-{{{133|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{133|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{136|0}}}}}
| E
| {{#expr: 256-4+{{{135|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{135|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{136| }}} | {{{136|u}}} 
| [[Image:Map Point {{ucfirst:{{{137|Large}}}}}.png|{{{138|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{140|0}}}}}
| N
| {{#expr: 256-4-{{{139|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{139|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{142|0}}}}}
| E
| {{#expr: 256-4+{{{141|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{141|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{142| }}} | {{{142|u}}} 
| [[Image:Map Point {{ucfirst:{{{143|Large}}}}}.png|{{{144|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{146|0}}}}}
| N
| {{#expr: 256-4-{{{145|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{145|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{148|0}}}}}
| E
| {{#expr: 256-4+{{{147|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{147|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{148| }}} | {{{148|u}}} 
| [[Image:Map Point {{ucfirst:{{{149|Large}}}}}.png|{{{150|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{152|0}}}}}
| N
| {{#expr: 256-4-{{{151|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{151|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{154|0}}}}}
| E
| {{#expr: 256-4+{{{153|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{153|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{154| }}} | {{{154|u}}} 
| [[Image:Map Point {{ucfirst:{{{155|Large}}}}}.png|{{{156|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{158|0}}}}}
| N
| {{#expr: 256-4-{{{157|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{157|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{160|0}}}}}
| E
| {{#expr: 256-4+{{{159|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{159|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{160| }}} | {{{160|u}}} 
| [[Image:Map Point {{ucfirst:{{{161|Large}}}}}.png|{{{162|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{164|0}}}}}
| N
| {{#expr: 256-4-{{{163|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{163|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{166|0}}}}}
| E
| {{#expr: 256-4+{{{165|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{165|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{166| }}} | {{{166|u}}} 
| [[Image:Map Point {{ucfirst:{{{167|Large}}}}}.png|{{{168|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{170|0}}}}}
| N
| {{#expr: 256-4-{{{169|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{169|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{172|0}}}}}
| E
| {{#expr: 256-4+{{{171|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{171|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{172| }}} | {{{172|u}}} 
| [[Image:Map Point {{ucfirst:{{{173|Large}}}}}.png|{{{174|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{176|0}}}}}
| N
| {{#expr: 256-4-{{{175|0}}}/102.8*256 round 0}}
| {{#expr: 256-4+{{{175|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{178|0}}}}}
| E
| {{#expr: 256-4+{{{177|0}}}/102.8*256 round 0}}
| {{#expr: 256-4-{{{177|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{178| }}} | {{{178|u}}} 
| [[Image:Map Point {{ucfirst:{{{179|Large}}}}}.png|{{{180|Point}}}]]
| }}</span>
 
</includeonly><noinclude>
{{Related|Template:Map Point|Points of Interest|Wiki Templates}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Map Point Plus
| <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption>
| <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption>
| <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption>
}}
 
{{Map Point Plus
| | | | | |
| | | | | |
| | | | | |
}}
</pre>
 
== Usage ==
Displays multiple locations (up to 30) on a large map of Dereth given specific coordinates. You can use either upper or lower case letters (e, w, n, s or E, W, N, S). If the marker is blank, the Large will be used, if the caption is left blank, no caption will be used. Note that because the coordinates need to be transformed into a point on the map, if a coordinate or direction parameter is missing or malformed the page will not render correctly.
 
For each point you specify the marker to that will be placed on that point and a caption describing the point. If the mouse cursor hovers over the point the caption will popup. For a smaller map that displays one to four points use [[Template:Map Point]]. Note that unlike Map Point, for Map Point Plus you '''must''' leave a blank for the caption even if left blank. The page will not render if a caption or marker is skipped.
 
You can create new markers if desired, create a 9x9 pixel [[png]] image. If the icon doesn't cover the entire area, make the surrounding pixels transparent (with [http://www.gimp.org/ GIMP], Layer>>Transparency>>Color to Alpha, set white to alpha and save). And if the nontransparent bits are smaller than 9x9, center the image. Name the file "Map Point <Name>.png" and upload it and simply refer to it as <Name> (for example, Map Point Large.png is referenced as Large).
 
 
For example:
 
<pre style="width:auto; overflow:auto">
{{Map Point Plus
| 50.7 | S | 81.8 | W | Large | Tumerok Fort
| 25.6 | N | 48.8 | E | Medium | Cragstone
| 31.1 | S | 73.7 | E | Small | Toppled Stone Head - 31.1S, 73.7E
| 33.6 | N | 56.8 | E | Blue | Life Stone
| 46.9 | S | 73 | W | Green |
| 44.3 | S | 49.0 | W | Purple | Vesayen Isles Portal
| 86.9 | N | 70.0 | W | Yellow | Huntsman of Silyun - 86.9N, 70.0W
| 64.4 | S | 55.5 | E | Dungeon | Lugian Quarry
}}
</pre>
 
displays as:
 
{{Map Point Plus
| 50.7 | S | 81.8 | W | Large | Tumerok Fort
| 25.6 | N | 48.8 | E | Medium | Cragstone
| 31.1 | S | 73.7 | E | Small | Toppled Stone Head - 31.1S, 73.7E
| 33.6 | N | 56.8 | E | Blue | Life Stone
| 46.9 | S | 73 | W | Green |
| 44.3 | S | 49.0 | W | Purple | Vesayen Isles Portal
| 86.9 | N | 70.0 | W | Yellow | Huntsman of Silyun - 86.9N, 70.0W
| 64.4 | S | 55.5 | E | Dungeon | Lugian Quarry
}}
 
</noinclude>

Latest revision as of 18:50, 3 December 2009

Template Documentation: Edit Documentation

Related topics: Template:Map Point, Points of Interest, Wiki Templates, {{MPP Loc}}

Syntax

{{Map Point Plus
 | Points = 
{{MPP Loc | <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption> }}
{{MPP Loc | <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption> }}
{{MPP Loc | <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption> }}
}}


{{Map Point Plus
 | Points = 
{{MPP Loc |  |  |  |  |  |  }}
{{MPP Loc |  |  |  |  |  |  }}
{{MPP Loc |  |  |  |  |  |  }}
}}


{{Map Point Plus
 | Base Map = Name.jpg
 | Points = 
{{MPP Loc |  |  |  |  |  |  }}
}}

Usage

Displays multiple locations (no longer any upper limit) on a large map of Dereth given specific coordinates. You can use either upper or lower case letters (e, w, n, s or E, W, N, S). If the marker is blank, the "Large" marker will be used, if a caption is specified it will create a pop up label when the mouse hovers over the location and if the location is clicked the user will be sent to a page with the same name as the caption. Note that because the coordinates need to be transformed into a point on the map if a coordinate or direction parameter is missing or malformed the page will not render correctly.

For a smaller map that displays one to four points use Template:Map Point.

You can create new markers if desired, create a 9x9 pixel png image. If the icon doesn't cover the entire area, make the surrounding pixels transparent (with GIMP, Layer>>Transparency>>Color to Alpha, set white to alpha and save). And if the nontransparent bits are smaller than 9x9, center the image. Name the file "Map Point <Name>.png" and upload it and simply refer to it as <Name> (for example, Map Point Large.png is referenced as Large).

The default map is Image:Point Map 512.jpg however you can optionally specify another 512x512px image to use as the map adding the optional parameter Base Map = Name.jpg.


Image Parameter Name File Name
Large Map Point Large.png
Medium Map Point Medium.png
Small Map Point Small.png
Dot Map Point Dot.png
Blue Map Point Blue.png
Green Map Point Green.png
Purple Map Point Purple.png
Yellow Map Point Yellow.png
LS Map Point LS.png
PortLrg Map Point PortLrg.png
PortSml Map Point PortSml.png
Dungeon Map Point Dungeon.png
Town Map Point Town.png
Aluv Town Map Point Aluv Town.png
Gharu Town Map Point Gharu Town.png
Sho Town Map Point Sho Town.png
Via Town Map Point Via Town.png
Cottage Map Point Cottage.png
Villa Map Point Villa.png
Mansion Map Point Mansion.png
Special Use
Exmark Map Point Exmark.png
Festival Map Point Festival.png
ShadSpire Map Point ShadSpire.png
MP Town Map Point MP Town.png
Menhir Map Point Menhir.png
Menhir 2 Map Point Menhir 2.png
Menhir Field Map Point Menhir Field.png
LLNode Map Point LLNode.png

For example:

{{Map Point Plus
 | Points = 
{{MPP Loc | 10.0 | N | 10.0 | W | | }}
{{MPP Loc | 20.0 | N | 20.0 | W | Green | }}
{{MPP Loc | 50.7 | S | 81.8 | W | Large | Tumerok Fort }}
{{MPP Loc | 31.1 | S | 73.7 | E | Small | Toppled Stone Head - 31.1S, 73.7E }}
{{MPP Loc | 44.3 | S | 49.0 | W | Purple | Vesayen Isles Portal }}
{{MPP Loc | 86.9 | N | 70.0 | W | Yellow | Huntsman of Silyun - 86.9N, 70.0W }}
{{MPP Loc | 64.4 | S | 55.5 | E | Dungeon | Lugian Quarry }}
{{MPP Loc | 33.6 | N | 56.8 | E | LS | Life Stone }}
{{MPP Loc | 25.7 | N | 49.2 | E | Aluv Town | Cragstone }}
{{MPP Loc | 39.1 | S | 83.2 | E | Sho Town | Hebian-To }}
{{MPP Loc | 13.7 | N | 00.6 | E | Gharu Town | Zaikhal }}
{{MPP Loc | 01.7 | N | 36.1 | E | Cottage | Adventurer's Haven Cottages }}
{{MPP Loc | 56.9 | S | 35.3 | E | Villa | Erevana Villas }}
{{MPP Loc | 08.7 | S | 49.7 | E | Mansion | Folthid Mansion }}
}}

displays as:


Map Dereth