The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:CondMap"

From ATITD5
Jump to navigationJump to search
m
(Fixed map markers)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{contentonly}}}|yes|{{{1}}}|{{#tag:googlemap|{{{1}}}|iconsize="32x32"|showregion="yes"|showposition="yes"|lat=1010|lon=0|zoom={{{zoom|2}}}|width={{{width|500}}}|height={{{height|800}}}|icons="/wiki/tale5/images/markers/marker{label}.png"|iconlabels=A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick, Ag,Al,An,Au,Co,Cu,Fe,Go,Ir,Le,Li,Ma,Mg,Pb,Pl,Pt,Sb,Si,Sn,Sr,St,Ti,Tn,Tu,W,Zi,Zn"}}}}</includeonly><noinclude>
+
<includeonly>{{#ifeq: {{{contentonly}}}|yes|{{{1}}}|{{#tag:googlemap|{{{1}}}|iconsize="32x32"|showregion="yes"|showposition="yes"|lat={{{lat|1024}}}|lon={{{lon|0}}}|zoom={{{zoom|2}}}|width={{{width|512}}}|height={{{height|1024}}}|icons="https://static.atitd.wiki/maps/markers/marker{label}.png"}}}}
 +
This map uses the [[Template:CondMap|CondMap]] template and should not be edited directly. 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. This template is still being actively worked on ans is as yet undocumented. If in doubt, don't use it yet.
 
This template is intended to be used to allow a single reference source for map objects. This template is still being actively worked on ans is as yet undocumented. If in doubt, don't use it yet.
  
By default the generated map is 500x800 pixels, at zoom level 2
+
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
 +
*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
 +
 
 
</noinclude>
 
</noinclude>

Latest revision as of 03:36, 21 October 2019

This template is intended to be used to allow a single reference source for map objects. This template is still being actively worked on ans is as yet undocumented. If in doubt, don't use it yet.

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