Module talk:Location map/Archive 11: Difference between revisions

Content deleted Content added
m Archiving 2 discussion(s) from Module talk:Location map) (bot
m Archiving 3 discussion(s) from Module talk:Location map) (bot
Line 100:
 
Should the template {{tlp|Location map data documentation}} have some instructions on use? – [[User:Reidgreg|Reidgreg]] ([[User talk:Reidgreg|talk]]) 18:58, 10 April 2022 (UTC)
 
== Template-protected edit request on 22 April 2022: submaps ==
 
{{edit template-protected|Template:Location map data documentation|answered=yes}}
=== Submaps ===
 
* A list of [[Special:PrefixIndex/Module:Location map/data/{{#titleparts:{{FULLPAGENAME}}|1|3}}|{{#titleparts:{{FULLPAGENAME}}|1|3}} submaps here]] <span style="font-weight: bold" >[[User:Alexander_Davronov|<span style="color:#a8a8a8;">AXO</span><span style="color:#000">NOV</span>]] [[User talk:Alexander_Davronov|(talk)]] [[Special:Contributions/Alexander_Davronov|⚑]]</span> 09:03, 22 April 2022 (UTC)
**{{done}} – also note that a separate, unprotected documentation (/doc) page has been created, so please check it and improve as necessary. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I.&nbsp;Ellsworth</span>]]'''''&numsp;-&nbsp;[[Editor|<span style="color:black">ed.</span>]]&nbsp;[[User talk:Paine Ellsworth|<sup>put'r&nbsp;there</sup>]]&nbsp;<small>11:09, 22 April 2022 (UTC)</small>
{{-}}
 
== Problem with error ==
 
{{tq|Lua error in Module:Location_map at line 422: No value was provided for longitude}}. in infobox at [[iSimangaliso Marine Protected Area]], but there is a coordinate for the page, and several other pages for marine protected areas seem to work fine. &middot; &middot; &middot; [[User:Pbsouthwood|Peter Southwood]] [[User talk:Pbsouthwood|<sup>(talk)</sup>]]: 07:05, 10 July 2022 (UTC)
 
:Ther error is because the coordinates were not included in the {{tl|___location map}} template. The article already had a map specified by {{para|map_image}}. If you want to replace that with a ___location map, the template supports that with {{para|map}} which I added within a comment. You can uncomment that and see the result. Or did you want to show both. [[User:MB|<b style="color:#034503">MB</b>]] 16:07, 10 July 2022 (UTC)
 
Also getting maybe a different problem at infobox of [[Trafalgar Marine Protected Area]], where the position is displaying in the wrong place. the red dot is displayed at somewhere near 34S, 20E, while it should be at the position in the only <nowiki>{{coords}}</nowiki> template on the page, about 30S, 30E. &middot; &middot; &middot; [[User:Pbsouthwood|Peter Southwood]] [[User talk:Pbsouthwood|<sup>(talk)</sup>]]: 13:43, 10 July 2022 (UTC)
 
:OK, I see you did want both maps so I have got it working by specifying the coords in {{tl|___location map}} in both articles. [[User:MB|<b style="color:#034503">MB</b>]] 16:22, 10 July 2022 (UTC)
::Follow-up, the template will pull the coords from WD if they are present there. In iSimangaliso, there are no coords in WD which is why you were getting no map at all. In Trafalgar, there were WD coords but they were wrong, which explains why the dot was at the wrong ___location. I updated the later in WD. [[User:MB|<b style="color:#034503">MB</b>]] 16:35, 10 July 2022 (UTC)
:::{{U|MB}}, I was not aware that it took coords from WD. Was not expecting an outside context problem. I guess I missed that in the documentation. Thanks for fixing and letting me know what the problem was. It worked fine in a whole lot of other similar infoboxes, so there was no obvious reason to expect these two to be different. Cheers &middot; &middot; &middot; [[User:Pbsouthwood|Peter Southwood]] [[User talk:Pbsouthwood|<sup>(talk)</sup>]]: 16:56, 10 July 2022 (UTC)
 
== 'class=notpageimage|' displayed in article when ___location map+ is used ==
 
See [[Lake District]] for an example. I have no idea why it's doing this. Can someone look into it? [[User:KaraLG84|KaraLG84]] ([[User talk:KaraLG84|talk]]) 12:16, 11 August 2022 (UTC)