Template:Map Point Plus: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Widgeon
(Added missing /div.)
imported>Tlosk
(Updated template to allow an aribtrary number of points (no longer an upper limit) and now causes points that are clicked to link to the page with caption name.)
Line 3: Line 3:
<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">{{#ifeq:{{{Base Map|}}}||[[Image:Point Map 512.jpg|Dereth]]|[[Image:{{{Base Map|}}}]]}}</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
| {{#expr: 256-{{{1|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{1|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{4|0}}}}}
| E
| {{#expr: 256+{{{3|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{7|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{7|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{10|0}}}}}
| E
| {{#expr: 256+{{{9|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{13|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{13|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{16|0}}}}}
| E
| {{#expr: 256+{{{15|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{19|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{19|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{22|0}}}}}
| E
| {{#expr: 256+{{{21|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{25|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{25|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{28|0}}}}}
| E
| {{#expr: 256+{{{27|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{31|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{31|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{34|0}}}}}
| E
| {{#expr: 256+{{{33|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{37|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{37|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{40|0}}}}}
| E
| {{#expr: 256+{{{39|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{43|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{43|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{46|0}}}}}
| E
| {{#expr: 256+{{{45|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{49|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{49|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{52|0}}}}}
| E
| {{#expr: 256+{{{51|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{55|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{55|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{58|0}}}}}
| E
| {{#expr: 256+{{{57|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{61|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{61|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{64|0}}}}}
| E
| {{#expr: 256+{{{63|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{67|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{67|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{70|0}}}}}
| E
| {{#expr: 256+{{{69|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{73|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{73|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{76|0}}}}}
| E
| {{#expr: 256+{{{75|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{79|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{79|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{82|0}}}}}
| E
| {{#expr: 256+{{{81|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{85|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{85|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{88|0}}}}}
| E
| {{#expr: 256+{{{87|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{91|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{91|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{94|0}}}}}
| E
| {{#expr: 256+{{{93|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{97|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{97|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{100|0}}}}}
| E
| {{#expr: 256+{{{99|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{103|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{103|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{106|0}}}}}
| E
| {{#expr: 256+{{{105|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{109|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{109|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{112|0}}}}}
| E
| {{#expr: 256+{{{111|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{115|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{115|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{118|0}}}}}
| E
| {{#expr: 256+{{{117|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{121|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{121|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{124|0}}}}}
| E
| {{#expr: 256+{{{123|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{127|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{127|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{130|0}}}}}
| E
| {{#expr: 256+{{{129|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{133|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{133|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{136|0}}}}}
| E
| {{#expr: 256+{{{135|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{139|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{139|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{142|0}}}}}
| E
| {{#expr: 256+{{{141|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{145|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{145|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{148|0}}}}}
| E
| {{#expr: 256+{{{147|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{151|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{151|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{154|0}}}}}
| E
| {{#expr: 256+{{{153|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{157|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{157|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{160|0}}}}}
| E
| {{#expr: 256+{{{159|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{163|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{163|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{166|0}}}}}
| E
| {{#expr: 256+{{{165|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{169|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{169|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{172|0}}}}}
| E
| {{#expr: 256+{{{171|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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-{{{175|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{175|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{178|0}}}}}
| E
| {{#expr: 256+{{{177|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{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>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{182|0}}}}} | N
| {{#expr: 256-{{{181|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{181|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{184|0}}}}}
| E
| {{#expr: 256+{{{183|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{183|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{184| }}} | {{{184|u}}}
| [[Image:Map Point {{ucfirst:{{{185|Large}}}}}.png|{{{186|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{188|0}}}}} | N
| {{#expr: 256-{{{187|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{187|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{190|0}}}}}
| E
| {{#expr: 256+{{{189|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{189|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{190| }}} | {{{190|u}}}
| [[Image:Map Point {{ucfirst:{{{191|Large}}}}}.png|{{{192|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{194|0}}}}} | N
| {{#expr: 256-{{{193|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{193|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{196|0}}}}}
| E
| {{#expr: 256+{{{195|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{195|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{196| }}} | {{{196|u}}}
| [[Image:Map Point {{ucfirst:{{{197|Large}}}}}.png|{{{198|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{200|0}}}}} | N
| {{#expr: 256-{{{199|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{199|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{202|0}}}}}
| E
| {{#expr: 256+{{{201|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{201|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{202| }}} | {{{202|u}}}
| [[Image:Map Point {{ucfirst:{{{203|Large}}}}}.png|{{{204|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{206|0}}}}} | N
| {{#expr: 256-{{{205|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{205|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{208|0}}}}}
| E
| {{#expr: 256+{{{207|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{207|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{208| }}} | {{{208|u}}}
| [[Image:Map Point {{ucfirst:{{{209|Large}}}}}.png|{{{210|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{212|0}}}}} | N
| {{#expr: 256-{{{211|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{211|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{214|0}}}}}
| E
| {{#expr: 256+{{{213|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{213|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{214| }}} | {{{214|u}}}
| [[Image:Map Point {{ucfirst:{{{215|Large}}}}}.png|{{{216|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{218|0}}}}} | N
| {{#expr: 256-{{{217|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{217|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{220|0}}}}}
| E
| {{#expr: 256+{{{219|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{219|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{220| }}} | {{{220|u}}}
| [[Image:Map Point {{ucfirst:{{{221|Large}}}}}.png|{{{222|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{224|0}}}}} | N
| {{#expr: 256-{{{223|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{223|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{226|0}}}}}
| E
| {{#expr: 256+{{{225|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{225|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{226| }}} | {{{226|u}}}
| [[Image:Map Point {{ucfirst:{{{227|Large}}}}}.png|{{{228|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{230|0}}}}} | N
| {{#expr: 256-{{{229|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{229|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{232|0}}}}}
| E
| {{#expr: 256+{{{231|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{231|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{232| }}} | {{{232|u}}}
| [[Image:Map Point {{ucfirst:{{{233|Large}}}}}.png|{{{234|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{236|0}}}}} | N
| {{#expr: 256-{{{235|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{235|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{238|0}}}}}
| E
| {{#expr: 256+{{{237|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{237|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{238| }}} | {{{238|u}}}
| [[Image:Map Point {{ucfirst:{{{239|Large}}}}}.png|{{{240|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{242|0}}}}} | N
| {{#expr: 256-{{{241|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{241|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{244|0}}}}}
| E
| {{#expr: 256+{{{243|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{243|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{244| }}} | {{{244|u}}}
| [[Image:Map Point {{ucfirst:{{{245|Large}}}}}.png|{{{246|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{248|0}}}}} | N
| {{#expr: 256-{{{247|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{247|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{250|0}}}}}
| E
| {{#expr: 256+{{{249|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{249|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{250| }}} | {{{250|u}}}
| [[Image:Map Point {{ucfirst:{{{251|Large}}}}}.png|{{{252|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{254|0}}}}} | N
| {{#expr: 256-{{{253|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{253|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{256|0}}}}}
| E
| {{#expr: 256+{{{255|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{255|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{256| }}} | {{{256|u}}}
| [[Image:Map Point {{ucfirst:{{{257|Large}}}}}.png|{{{258|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{260|0}}}}} | N
| {{#expr: 256-{{{259|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{259|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{262|0}}}}}
| E
| {{#expr: 256+{{{261|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{261|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{262| }}} | {{{262|u}}}
| [[Image:Map Point {{ucfirst:{{{263|Large}}}}}.png|{{{264|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{266|0}}}}} | N
| {{#expr: 256-{{{265|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{265|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{268|0}}}}}
| E
| {{#expr: 256+{{{267|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{267|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{268| }}} | {{{268|u}}}
| [[Image:Map Point {{ucfirst:{{{269|Large}}}}}.png|{{{270|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{272|0}}}}} | N
| {{#expr: 256-{{{271|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{271|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{274|0}}}}}
| E
| {{#expr: 256+{{{273|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{273|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{274| }}} | {{{274|u}}}
| [[Image:Map Point {{ucfirst:{{{275|Large}}}}}.png|{{{276|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{278|0}}}}} | N
| {{#expr: 256-{{{277|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{277|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{280|0}}}}}
| E
| {{#expr: 256+{{{279|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{279|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{280| }}} | {{{280|u}}}
| [[Image:Map Point {{ucfirst:{{{281|Large}}}}}.png|{{{282|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{284|0}}}}} | N
| {{#expr: 256-{{{283|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{283|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{286|0}}}}}
| E
| {{#expr: 256+{{{285|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{285|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{286| }}} | {{{286|u}}}
| [[Image:Map Point {{ucfirst:{{{287|Large}}}}}.png|{{{288|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{290|0}}}}} | N
| {{#expr: 256-{{{289|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{289|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{292|0}}}}}
| E
| {{#expr: 256+{{{291|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{291|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{292| }}} | {{{292|u}}}
| [[Image:Map Point {{ucfirst:{{{293|Large}}}}}.png|{{{294|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{296|0}}}}} | N
| {{#expr: 256-{{{295|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{295|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{298|0}}}}}
| E
| {{#expr: 256+{{{297|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{297|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{298| }}} | {{{298|u}}}
| [[Image:Map Point {{ucfirst:{{{299|Large}}}}}.png|{{{300|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{302|0}}}}} | N
| {{#expr: 256-{{{301|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{301|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{304|0}}}}}
| E
| {{#expr: 256+{{{303|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{303|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{304| }}} | {{{304|u}}}
| [[Image:Map Point {{ucfirst:{{{305|Large}}}}}.png|{{{306|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{308|0}}}}} | N
| {{#expr: 256-{{{307|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{307|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{310|0}}}}}
| E
| {{#expr: 256+{{{309|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{309|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{310| }}} | {{{310|u}}}
| [[Image:Map Point {{ucfirst:{{{311|Large}}}}}.png|{{{312|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{314|0}}}}} | N
| {{#expr: 256-{{{313|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{313|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{316|0}}}}}
| E
| {{#expr: 256+{{{315|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{315|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{316| }}} | {{{316|u}}}
| [[Image:Map Point {{ucfirst:{{{317|Large}}}}}.png|{{{318|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{320|0}}}}} | N
| {{#expr: 256-{{{319|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{319|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{322|0}}}}}
| E
| {{#expr: 256+{{{321|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{321|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{322| }}} | {{{322|u}}}
| [[Image:Map Point {{ucfirst:{{{323|Large}}}}}.png|{{{324|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{326|0}}}}} | N
| {{#expr: 256-{{{325|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{325|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{328|0}}}}}
| E
| {{#expr: 256+{{{327|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{327|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{328| }}} | {{{328|u}}}
| [[Image:Map Point {{ucfirst:{{{329|Large}}}}}.png|{{{330|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{332|0}}}}} | N
| {{#expr: 256-{{{331|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{331|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{334|0}}}}}
| E
| {{#expr: 256+{{{333|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{333|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{334| }}} | {{{334|u}}}
| [[Image:Map Point {{ucfirst:{{{335|Large}}}}}.png|{{{336|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{338|0}}}}} | N
| {{#expr: 256-{{{337|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{337|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{340|0}}}}}
| E
| {{#expr: 256+{{{339|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{339|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{340| }}} | {{{340|u}}}
| [[Image:Map Point {{ucfirst:{{{341|Large}}}}}.png|{{{342|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{344|0}}}}} | N
| {{#expr: 256-{{{343|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{343|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{346|0}}}}}
| E
| {{#expr: 256+{{{345|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{345|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{346| }}} | {{{346|u}}}
| [[Image:Map Point {{ucfirst:{{{347|Large}}}}}.png|{{{348|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{350|0}}}}} | N
| {{#expr: 256-{{{349|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{349|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{352|0}}}}}
| E
| {{#expr: 256+{{{351|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{351|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{352| }}} | {{{352|u}}}
| [[Image:Map Point {{ucfirst:{{{353|Large}}}}}.png|{{{354|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{356|0}}}}} | N
| {{#expr: 256-{{{355|0}}}/102.8*256 round 0}}
| {{#expr: 256+{{{355|0}}}/102.8*256 round 0}} }}px; left:{{#ifeq: {{uc:{{{358|0}}}}}
| E
| {{#expr: 256+{{{357|0}}}/102.8*256 round 0}}
| {{#expr: 256-{{{357|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{358| }}} | {{{358|u}}}
| [[Image:Map Point {{ucfirst:{{{359|Large}}}}}.png|{{{360|Point}}}]]
| }}</span>
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
Line 519: Line 10:
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Map Point Plus
{{Map Point Plus
  | <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption>
  | Points =
| <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption>
{{MPP Loc | <Coords> | <N or S> | <Coords> | <E or W> | <Marker> | <Caption> }}
| <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
{{Map Point Plus
  | | | | | |  
  | Points =
  | | | | | |  
{{MPP Loc | | | | | |  }}
  | | | | | |
{{MPP Loc | | | | | | }}
{{MPP Loc |  | | | | | }}
}}
}}


{{Map Point Plus
{{Map Point Plus
  | Base Map = Name.jpg
  | Base Map = Name.jpg
  | | | | | |  
  | Points =
  | | | | | |
{{MPP Loc | | | | |  |  }}
  | | | | | |
}}
}}
</pre>
</pre>


== Usage ==
== Usage ==
Displays multiple locations (up to 60) 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.
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 each point you specify a marker will be placed at that point and a caption describing the point will popup if the mouse cursor hovers over it. 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.
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 [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).
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).
Line 549: Line 43:


{|border=1 cellspacing=0 cellpadding=2 style=background:#F0F0F0
{|border=1 cellspacing=0 cellpadding=2 style=background:#F0F0F0
!Image || Template Name || File Name
!Image || Parameter Name || File Name
|-
|-
|align=center| [[Image: Map Point Large.png]] || Large || Map Point Large.png
|align=center| [[File:Map Point Large.png]] || Large || Map Point Large.png
|-
|-
|align=center| [[Image: Map Point Medium.png]] || Medium || Map Point Medium.png
|align=center| [[File:Map Point Medium.png]] || Medium || Map Point Medium.png
|-
|-
|align=center| [[Image: Map Point Small.png]] || Small || Map Point Small.png
|align=center| [[File:Map Point Small.png]] || Small || Map Point Small.png
|-
|-
|align=center| [[Image: Map Point Dot.png]] || Dot || Map Point Dot.png
|align=center| [[File:Map Point Dot.png]] || Dot || Map Point Dot.png
|-
|-
|align=center| [[Image: Map Point Blue.png]] || Blue || Map Point Blue.png
|align=center| [[File:Map Point Blue.png]] || Blue || Map Point Blue.png
|-
|-
|align=center| [[Image: Map Point Green.png]] || Green || Map Point Green.png
|align=center| [[File:Map Point Green.png]] || Green || Map Point Green.png
|-
|-
|align=center| [[Image: Map Point Purple.png]] || Purple || Map Point Purple.png
|align=center| [[File:Map Point Purple.png]] || Purple || Map Point Purple.png
|-
|-
|align=center| [[Image: Map Point Yellow.png]] || Yellow || Map Point Yellow.png
|align=center| [[File:Map Point Yellow.png]] || Yellow || Map Point Yellow.png
|-
|-
|align=center| [[Image: Map Point LS.png]] || LS || Map Point LS.png
|align=center| [[File:Map Point LS.png]] || LS || Map Point LS.png
|-
|-
|align=center| [[Image: Map Point Dungeon.png]] || Dungeon || Map Point Dungeon.png
|align=center| [[File:Map Point Dungeon.png]] || Dungeon || Map Point Dungeon.png
|-
|-
|align=center| [[Image: Map Point Town.png]] || Town || Map Point Town.png
|align=center| [[File:Map Point Town.png]] || Town || Map Point Town.png
|-
|-
|align=center| [[Image: Map Point Aluv Town.png]] || Aluv Town || Map Point Aluv Town.png
|align=center| [[File:Map Point Aluv Town.png]] || Aluv Town || Map Point Aluv Town.png
|-
|-
|align=center| [[Image: Map Point Gharu Town.png]] || Gharu Town || Map Point Gharu Town.png
|align=center| [[File:Map Point Gharu Town.png]] || Gharu Town || Map Point Gharu Town.png
|-
|-
|align=center| [[Image: Map Point Sho Town.png]] || Sho Town || Map Point Sho Town.png
|align=center| [[File:Map Point Sho Town.png]] || Sho Town || Map Point Sho Town.png
|-
|-
|align=center| [[Image: Map Point Via Town.png]] || Via Town || Map Point Via Town.png
|align=center| [[File:Map Point Via Town.png]] || Via Town || Map Point Via Town.png
|-
|-
|align=center| [[Image: Map Point Cottage.png]] || Cottage || Map Point Cottage.png
|align=center| [[File:Map Point Cottage.png]] || Cottage || Map Point Cottage.png
|-
|-
|align=center| [[Image: Map Point Villa.png]] || Villa || Map Point Villa.png
|align=center| [[File:Map Point Villa.png]] || Villa || Map Point Villa.png
|-
|-
|align=center| [[Image: Map Point Mansion.png]] || Mansion || Map Point Mansion.png
|align=center| [[File:Map Point Mansion.png]] || Mansion || Map Point Mansion.png
|-
|-
|}
|}
Line 593: Line 87:
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Map Point Plus
{{Map Point Plus
  | 50.7 | S | 81.8 | W | Large | Tumerok Fort
  | Points =
| 31.1 | S | 73.7 | E | Small | Toppled Stone Head - 31.1S, 73.7E
{{MPP Loc | 10.0 | N | 10.0 | W | | }}
| 46.9 | S | 73 | W | Green |
{{MPP Loc | 20.0 | N | 20.0 | W | Green | }}
| 44.3 | S | 49.0 | W | Purple | Vesayen Isles Portal
{{MPP Loc | 50.7 | S | 81.8 | W | Large | Tumerok Fort }}
| 86.9 | N | 70.0 | W | Yellow | Huntsman of Silyun - 86.9N, 70.0W
{{MPP Loc | 31.1 | S | 73.7 | E | Small | Toppled Stone Head - 31.1S, 73.7E }}
| 64.4 | S | 55.5 | E | Dungeon | Lugian Quarry
{{MPP Loc | 44.3 | S | 49.0 | W | Purple | Vesayen Isles Portal }}
| 33.6 | N | 56.8 | E | LS | Life Stone
{{MPP Loc | 86.9 | N | 70.0 | W | Yellow | Huntsman of Silyun - 86.9N, 70.0W }}
| 25.7 | N | 49.2 | E | Aluv Town | Cragstone
{{MPP Loc | 64.4 | S | 55.5 | E | Dungeon | Lugian Quarry }}
| 39.1 | S | 83.2 | E | Sho Town | Hebian-To
{{MPP Loc | 33.6 | N | 56.8 | E | LS | Life Stone }}
| 13.7 | N | 00.6 | E | Gharu Town | Zaikhal
{{MPP Loc | 25.7 | N | 49.2 | E | Aluv Town | Cragstone }}
| 01.7 | N | 36.1 | E | Cottage | Adventurer's Haven Cottages
{{MPP Loc | 39.1 | S | 83.2 | E | Sho Town | Hebian-To }}
| 56.9 | S | 35.3 | E | Villa | Erevana Villas
{{MPP Loc | 13.7 | N | 00.6 | E | Gharu Town | Zaikhal }}
| 08.7 | S | 49.7 | E | Mansion | Folthid Mansion
{{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 }}
}}
}}
</pre>
</pre>


displays as:
displays as:


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


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Revision as of 15:52, 19 June 2009

Related topics: Template:Map Point, Points of Interest, Wiki Templates

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
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

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