A Wiki in the Desert
Log in

Difference between revisions of "Template:CondMap"

From A Wiki in the Desert
m (Updated all example images to point directly to the marker files rather than to File links, most of which were broken)
Line 29: Line 29:
 
!width="100px" | Image
 
!width="100px" | Image
 
|-
 
|-
| Dot  || Rd  ||  || [[Image:markerDotRd.png]]
+
| Dot  || Rd  ||  || https://wiki.desert-nomad.com/maps/markers/markerDotRd.png
 
|-
 
|-
| Cir  || Rd  ||  || [[Image:markerCirRd.png]]
+
| Cir  || Rd  ||  || https://wiki.desert-nomad.com/maps/markers/markerCirRd.png
 
|-
 
|-
| Cir  || Vi  || A || [[Image:markerCirViA.png]]
+
| Cir  || Vi  || A || https://wiki.desert-nomad.com/maps/markers/markerCirViA.png
 
|-
 
|-
| Cir  || Or  || 1 || [[Image:MarkerCirOr1.png‎]]
+
| Cir  || Or  || 1 || https://wiki.desert-nomad.com/maps/markers/markerCirOr1.png
 
|-
 
|-
| Cir  || Bl  || diamond || [[Image:MarkerBldiamond.png]]
+
| Cir  || Bl  || diamond || https://wiki.desert-nomad.com/maps/markers/MarkerBldiamond.png
 
|-
 
|-
| Cir  || Pu  || star || [[Image:markerCirPustar.png]]
+
| Cir  || Pu  || star || https://wiki.desert-nomad.com/maps/markers/markerCirPustar.png
 
|-
 
|-
| Cir  || Lb  || Cir || [[Image:MarkerCirLbcircle.png]]
+
| Cir  || Lb  || Cir || https://wiki.desert-nomad.com/maps/markers/MarkerCirLbcircle.png
 
|-
 
|-
| Cir  || Br  || fish || [[Image:MarkerBrfish.png]]
+
| Cir  || Br  || fish || https://wiki.desert-nomad.com/maps/markers/MarkerBrfish.png
 
|-
 
|-
| Cir  || Gr  || pollution || [[Image:MarkerCirGrpollution.png]]
+
| Cir  || Gr  || pollution || https://wiki.desert-nomad.com/maps/markers/MarkerCirGrpollution.png
 
|-
 
|-
| Cir  || (blank) || triangle || [[Image:MarkerCirtriangle.png]]
+
| Cir  || (blank) || triangle || https://wiki.desert-nomad.com/maps/markers/MarkerCirtriangle.png
 
|-
 
|-
| Dp  || Ye || (blank) || [[Image:MarkerDPYe.png]]
+
| Dp  || Ye || (blank) || https://wiki.desert-nomad.com/maps/markers/MarkerDPYe.png
 
|-
 
|-
| Pin  || Wh || Z || [[Image:MarkerPinWhZ.png]]
+
| Pin  || Wh || Z || https://wiki.desert-nomad.com/maps/markers/MarkerPinWhZ.png
 
|-
 
|-
| GH  || Pk || (blank) || [[Image:MarkerGHPk.png]]
+
| GH  || Pk || (blank) || https://wiki.desert-nomad.com/maps/markers/MarkerGHPk.png
 
|-
 
|-
| Mp  || Ti (element) || (blank) || [[Image:markerMpTi.png]]
+
| Mp  || Ti (element) || (blank) || https://wiki.desert-nomad.com/maps/markers/markerMpTi.png
 
|-
 
|-
| altar2  || (blank) || (blank) || [[Image:markeraltar2.png]]
+
| altar2  || (blank) || (blank) || https://wiki.desert-nomad.com/maps/markers/markeraltar2.png
 
|-
 
|-
 
|}
 
|}
 
 
  
 
----
 
----
  
For a whole lot of other options, go to: http://www.atitd.org/wiki/tale6/images/markers/
+
For a whole lot of other options, go to: https://wiki.desert-nomad.com/maps/markers/
 
</noinclude>
 
</noinclude>

Revision as of 08:30, 6 August 2018

This template is intended to be used to allow a single reference source for map objects.

By default the generated map is 512x1024 pixels, at zoom level 2

The reason this template is required is that passing templates into extensions requires use of the #tag: function. In practice this template can probably be simplified somewhat

Parameters:

  • lat
  • lon
  • zoom
  • width
  • height
  • mouseoverpopup
  • tale
  • contentonly - The important part of this template. If contentonly=yes then only the first parameter (the map data lines) will be returned from the template. This allows condmaps to be nested so that multiple maps can be merged

Some Marker Options:

Shape Color Icon Image
Dot Rd markerDotRd.png
Cir Rd markerCirRd.png
Cir Vi A markerCirViA.png
Cir Or 1 markerCirOr1.png
Cir Bl diamond MarkerBldiamond.png
Cir Pu star markerCirPustar.png
Cir Lb Cir MarkerCirLbcircle.png
Cir Br fish MarkerBrfish.png
Cir Gr pollution MarkerCirGrpollution.png
Cir (blank) triangle MarkerCirtriangle.png
Dp Ye (blank) MarkerDPYe.png
Pin Wh Z MarkerPinWhZ.png
GH Pk (blank) MarkerGHPk.png
Mp Ti (element) (blank) markerMpTi.png
altar2 (blank) (blank) markeraltar2.png

For a whole lot of other options, go to: https://wiki.desert-nomad.com/maps/markers/