A Wiki in the Desert
Log in

Difference between revisions of "Template:CondMapnoregion"

From A Wiki in the Desert
m
m
 
(10 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
dlayer overlay
 
dlayer overlay
 
mlayer markers
 
mlayer markers
|{{#tag:emap|{{{1}}}|iconsize="32x32"|showposition="yes"|mouseoverpopup={{{mouseoverpopup|yes}}}|lat={{{lat|1024}}}|lon={{{lon|0}}}|zoom={{{zoom|2}}}|width={{{width|512}}}|height={{{height|1024}}}|tale={{{tale|8}}}|maxzoom={{{maxzoom|8}}}|icons="maps/markers/marker{label}.png"}}
+
|{{#tag:emap|{{{1}}}|iconsize="32x32"|showregion="no"|showposition="yes"|mouseoverpopup={{{mouseoverpopup|yes}}}|lat={{{lat|1024}}}|lon={{{lon|0}}}|zoom={{{zoom|2}}}|width={{{width|512}}}|height={{{height|1024}}}|tale={{{tale|9}}}|maxzoom={{{maxzoom|8}}}|icons="maps/markers/marker{label}.png"}}
 
 
  
 
This map uses the [[Template:CondMap|CondMap]] template, if this map imports data from other maps please edit those. Please see [[Maps]] for further details and links to all raw data pages}}</includeonly><noinclude>
 
This map uses the [[Template:CondMap|CondMap]] template, if this map imports data from other maps please edit those. Please see [[Maps]] for further details and links to all raw data pages}}</includeonly><noinclude>
This template is intended to be used to allow a single reference source for map objects.
+
{{Documentation}}
 
+
[[Category:Content templates]]
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:==
 
 
 
{| border="1" class="wikitable sortable"
 
!width="150px" | Shape
 
!width="100px" | Color
 
!width="100px" | Icon
 
!width="100px" | Image
 
|-
 
| Dot  || Rd  ||  || [[Image:markerDotRd.png]]  
 
|-
 
| Cir  || Rd  ||  || [[Image:markerCirRd.png]]
 
|-
 
| Cir  || Vi  || A || [[Image:markerCirViA.png]]
 
|-
 
| Cir  || Or  || 1 || [[Image:MarkerCirOr1.png‎]]
 
|-
 
| Cir  || Bl  || diamond || [[Image:MarkerBldiamond.png]]
 
|-
 
| Cir  || Pu  || star || [[Image:markerCirPustar.png]]
 
|-
 
| Cir  || Lb  || Cir || [[Image:MarkerCirLbcircle.png]]
 
|-
 
| Cir  || Br  || fish || [[Image:MarkerBrfish.png]]
 
|-
 
| Cir  || Gr  || pollution || [[Image:MarkerCirGrpollution.png]]
 
|-
 
| Cir  || (blank) || triangle || [[Image:MarkerCirtriangle.png]]
 
|-
 
| Dp  || Ye || (blank) || [[Image:MarkerDPYe.png]]
 
|-
 
| Pin  || Wh || Z || [[Image:MarkerPinWhZ.png]]
 
|-
 
| GH  || Pk || (blank) || [[Image:MarkerGHPk.png]]
 
|-
 
| Mp  || Ti (element) || (blank) || [[Image:markerMpTi.png]]
 
|-
 
| altar2  || (blank) || (blank) || [[Image:markeraltar2.png]]
 
|-
 
|}
 
 
 
 
 
 
 
----
 
 
 
For a whole lot of other options, go to: http://www.atitd.org/wiki/tale6/images/markers/
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:31, 17 May 2021

Template documentation (for the above template, sometimes hidden or invisible)

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 File:MarkerCirViA.png
Cir Or 1 File:MarkerCirOr1.png
Cir Bl diamond File:MarkerBldiamond.png
Cir Pu star File:MarkerCirPustar.png
Cir Lb Cir MarkerCirLbcircle.png
Cir Br fish MarkerBrfish.png
Cir Gr pollution File:MarkerCirGrpollution.png
Cir (blank) triangle File:MarkerCirtriangle.png
Dp Ye (blank) File:MarkerDPYe.png
Pin Wh Z File:MarkerPinWhZ.png
GH Pk (blank) File:MarkerGHPk.png
Mp Ti (element) (blank) File:MarkerMpTi.png
altar2 (blank) (blank) File:Markeraltar2.png

For a whole lot of other options, go to: https://static.atitd.wiki/maps/markers/