Topic on Extension talk:ImageMap

Template inside of slippymap

5
Karl Gruber (talkcontribs)

Im want us a template inside of the string <slippymap lat="48.07" lon="16.233333" z="15" w="360" h="360" layer="Mapnik" marker="0" /> lat und lon should be created through a template to read out metadata. e.g. <slippymap lat="{{Gdekoord-Nord|Hinterbrühl}}" lon="16.233333" z="15" w="360" h="360" layer="Mapnik" marker="0" /> But it doesn't work. Are there an other possibility. thx in adv.

קיפודנחש (talkcontribs)

you should use {{#tag:slippymap

see Help:Magic words (last item in table)

peace.

Karl Gruber (talkcontribs)

Sorry, but I am a little bit confused and can't understand. Would you be so helpfull and write me my sample: <slippymap lat="{{Gdekoord-Nord|Hinterbrühl}}" lon="16.233333" z="15" w="360" h="360" layer="Mapnik" marker="0" />. Thanks in advance --

קיפודנחש (talkcontribs)

according to the documentation, it should be something like:

{{#tag:slippymap
 | lat = {{Gdekoord-Nord|Hinterbrühl}}
 | lon = 16.233333 
 | z = 15 
 | w = 360 
 | h = 360 
 | layer = Mapnik 
 | marker = 0
}}

in your question, it seems that the tag itself has no body. if it would, you would want the body to appear as a nameless parameter - i ususally use "1 =" for nameless parameters.

HTH,

peace

Karl Gruber (talkcontribs)

Many thanks, it's a verry big help und helpfull

Reply to "Template inside of slippymap"