Template talk:Location map/Creating a new map definition
Appearance
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Text and/or other creative content from this version of Template:Location map/Creating a new map definition was copied or moved into Template:Location map data documentation/doc with this edit on 15 February 2024. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
Errors
[edit]When I follow this procedure, and I view my attempt in "Preview", it displays errors such as:
- Expression error: Unrecognized punctuation character "[".
Is this a problem with preview, or something else? I did not use any brackets. --Bejnar (talk) 22:38, 9 June 2013 (UTC)
- I've just figured that one out myself, major thanks to Nilfanion, after several days of racking my brains. Turns out you get the error when previewing, but it's fine when saved. BigSteve (talk) 13:43, 22 October 2013 (UTC)
in x/y expressions is $1 the width or the height?
[edit]I am trying to copy a map from Polish wikipedia (w:pl:Moduł:Mapa/dane/Nunavut) to English wikipedia, they have this:
x = "100 * ( (218/521*100)/100 + ( 1/(512/638)/2 - (-100/638*100)/(512/638)/100 ) * ( 1 - 2.486* ({{{szerokość}}}-67.395) * ( 0.01745329252 + 0.00000177219231 * ({{{szerokość}}}-67.395) * ({{{szerokość}}}-67.395) ) ) * ( ({{{długość}}} -(-90)) * 0.958 * ( 0.01745329252 - 0.000000886096156 * ({{{długość}}} -(-90)) * ({{{długość}}} -(-90)) * 0.958 * 0.958)))",
y = "100 * (84.37 - {{{szerokość}}}) / (84.37 - 50.4) round 1",
I need to convert {{{szerokość}}}
(width) to $1
or $2
and I'm having a hard time finding documentation that tells me which one is correct. Can someone please document that. Akeosnhaoe (talk) 15:26, 19 April 2021 (UTC)