Difference between revisions of "Template:MaatMaps"
From A Wiki in the Desert
m |
|||
Line 2: | Line 2: | ||
dlayer overlay | dlayer overlay | ||
mlayer markers | mlayer markers | ||
− | |{{#tag:emap|{{{1}}}|iconsize="32x32"|showregion="yes"|showposition="yes"|mouseoverpopup={{{mouseoverpopup|yes}}}|lat={{{lat|1024}}}|lon={{{lon|0}}}|zoom={{{zoom|2}}}|width={{{width|512}}}|height={{{height|1024}}}|tale={{{tale| | + | |{{#tag:emap|{{{1}}}|iconsize="32x32"|showregion="yes"|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"}} |
− | }}</includeonly> | + | }}</includeonly><noinclude> |
− | + | {{Documentation}} | |
− | <noinclude> | + | [[Category:Content templates]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: | ||
</noinclude> | </noinclude> |
Latest revision as of 16:02, 17 May 2021
Template documentation (for the above template, sometimes hidden or invisible)
This is a custom CondMap for Brotherhood of Maât Guild.
How to use
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 | ||
Cir | Rd | ||
Cir | Vi | A | |
Cir | Or | 1 | |
Cir | Bl | diamond | |
Cir | Pu | star | |
Cir | Lb | Cir | |
Cir | Br | fish | |
Cir | Gr | pollution | |
Cir | (blank) | triangle | |
Dp | Ye | (blank) | |
Pin | Wh | Z | |
GH | Pk | (blank) | |
Mp | Ti (element) | (blank) | |
altar2 | (blank) | (blank) |
For a whole lot of other options, go to: https://static.atitd.wiki/maps/markers/
Visit Template:MaatMaps/doc to edit this text! (How does this work?)