Module talk:Location map: Difference between revisions

Content deleted Content added
m Archiving 2 discussion(s) to Module talk:Location map/Archive 11) (bot
m Archiving 2 discussion(s) to Module talk:Location map/Archive 11) (bot
Line 12:
{{Copied |from=Template:Location map/Creating a new map definition |from_oldid=1207855218 |to=Template:Location map data documentation/doc |date=15 February 2024 |afd= |merge= |diff= |to_diff=1207858852 |to_oldid=1207854611 }}
{{Lua sidebar}}
 
== Still not showing up ==
 
Hi! I tried using a map with like 27 locations on it, I followed it and it's still not showing up! help me! [[User:45BearsFan|45BearsFan]] ([[User talk:45BearsFan|talk]]) 03:43, 28 June 2024 (UTC)
 
:@[[User:45BearsFan|45BearsFan]] there was a <code>}}</code> missing at the end of your call to {{tl|Location map+}}. [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 13:00, 28 June 2024 (UTC)
::Now that I got the easy part out of the way. The dots aren't showing up in their places. [[User:45BearsFan|45BearsFan]] ([[User talk:45BearsFan|talk]]) 14:13, 28 June 2024 (UTC)
:::[[Special:Permalink/1231480913]] [[User:Ponor|Ponor]] ([[User talk:Ponor|talk]]) 14:31, 28 June 2024 (UTC)
::::Thank you so much!! [[User:45BearsFan|45BearsFan]] ([[User talk:45BearsFan|talk]]) 14:36, 28 June 2024 (UTC)
 
== {{tl|Location map~}} {{para|background}} is sometimes ignored when {{para|position|bottom}} or {{para|position|top}} ==
 
[[Special:Permalink/1237233339#Venues|Example here]] in which the label background color is ignored for one element:
 
:<code><nowiki>{{Location map~|France Paris and inner ring|lat=48.8737|long=2.2950|background = #ffcc7777|label=<div style="font-size:70%;">'''[[Arc de Triomphe]]'''<br />'''[[Place Charles de Gaulle]]'''</div>|position=top}}</nowiki></code>
 
In the above example, the color has partial alpha but that's irrelevant to the issue: I previewed {{para|background|#ffcc77}} and/or {{para|position|bottom}} with same problem; changing {{para|position|left}} or {{para|position|right}} work OK. likewise changing other elements' {{para|position}} broke them.
 
[[User:Jnestorius|jnestorius]]<sup>([[User talk:Jnestorius|talk]])</sup> 20:26, 28 July 2024 (UTC)
 
* It's the <code><nowiki><div style="font-size:70%;"></nowiki></code>. [[Special:Diff/1237243334|My workaround]] was to use {{tl|resize}} instead, which is better practice anyway. The underlying issue may still be worth fixing, whenever. [[User:Jnestorius|jnestorius]]<sup>([[User talk:Jnestorius|talk]])</sup> 21:00, 28 July 2024 (UTC)
 
== Buggy and unnecessary float ==