Jump to content

Template talk:Location map/Creating a new map definition

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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)[reply]

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)[reply]

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)[reply]