Template:Map Point Plus: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Tlosk's Bot
No edit summary
Line 11: Line 11:
  | {{#expr: 256-4-{{{3|0}}}/102.8*256 round 0}} }}px; z-index:2">{{#ifeq:{{{4| }}} | {{{4|u}}}   
  | {{#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}}}]]
  | [[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>
  | }}</span>



Revision as of 15:08, 20 January 2009

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

Syntax

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

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.

You can create new markers if desired, create a 9x9 pixel png image with transparency if it doesn't cover the entire area (center the image if not). 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:

{{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
 | 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
 | 33.8 | S | 85.3 | W | Red | Altar of Bael'Zharon
 | 86.9 | N | 70.0 | W | Yellow | Huntsman of Silyun
 | 64.4 | S | 55.5 | E | Dungeon | Lugian Quarry
}}

displays as:


Dereth Tumerok Fort Cragstone Toppled Stone Head Life Stone Vesayen Isles Portal Altar of Bael'Zharon Huntsman of Silyun Lugian Quarry