Vai al contenuto

Discussioni utente:Mey2008/Sandbox

Contenuti della pagina non supportati in altre lingue.
Aggiungi argomento
Da Wikivoyage.
Ultimo commento: 10 anni fa, lasciato da Mey2008 in merito all'argomento Optional parameters for templates

Optional parameters for templates

[modifica]

For the templates listing (See, Do ...) and marker optional parameters can be added if needed:

  • zoom=0 ... 18, default: 17
  • image=filename (only from Commons!)
Joachim Mey2008 (discussioni) 11:07, 15 feb 2014 (CET)Rispondi
Now I don't have time to check, but I'm quite confident that we shall have to modify the listing editor in order to preserve those parameters, otherwise they will be erased updating a listing through the editor. Do you know the behaviour of the editor on en:voy in this situation? --Andyrom75 (discussioni) 12:27, 15 feb 2014 (CET)Rispondi
Unfortunately I am not familiar with the listing editor. I have temporarily deleted the parameters image and zoom. -- Joachim Mey2008 (discussioni) 14:00, 15 feb 2014 (CET)Rispondi
Ok no problem. If you want I can patch it in order to manage those parameters ( as soon as you have complete your tests) --Andyrom75 (discussioni) 16:13, 15 feb 2014 (CET)Rispondi
Test "image" + "zoom" for listing templates successfully. -- Joachim Mey2008 (discussioni) 13:55, 28 feb 2014 (CET)Rispondi

MapFrame

[modifica]

Why the map frame doesn't work on it:voy?

Is it something related to the template that I've implemented or is something related to a server configuration? --Andyrom75 (discussioni) 08:59, 21 feb 2014 (CET)Rispondi

Done! I was using the old version of the template valid only before the server optimization :-)
Coming back to the coords issue, could you update the server artmap using my regexp patch + your php coords conversion? --Andyrom75 (discussioni) 09:13, 21 feb 2014 (CET)Rispondi