Template talk:Infobox islands

How to suppress the OSM map

edit

Hello all, I was wondering if anyone knows how to suppress the automatic OSM map. I'm not sure how it works, but at Malay Archipelago it is for some reason displaying a map of Belitung, which is deeply unhelpful. CMD (talk) 08:55, 10 April 2024 (UTC)Reply

@Chipmunkdavis To suppress OSM you can use the argument | mapframe-id = none . But to correct the map, you should correct wikidata coordinate location additionally you can set for OSM area the wikidata-id. Cheers, Hooman Mallahzadeh (talk) 10:06, 10 April 2024 (UTC)Reply
What would the coordinate location be for an entire archipelago? CMD (talk) 13:48, 10 April 2024 (UTC)Reply
@Chipmunkdavis Here https://www.wikidata.org/wiki/Q208643 at coordinate location, I updated it to 2°4'50.09462"S, 126°32'48.79298"E Hooman Mallahzadeh (talk) 13:54, 10 April 2024 (UTC)Reply
Thanks very much. CMD (talk) 13:57, 10 April 2024 (UTC)Reply

Add territorial seas info?

edit

It would be helpful to add information about maritime claims to the infobox. Particularly outside the territorial seas of a nation, islands like Navassa Island or Clipperton Island are used to stake out exclusive economic zones for fishing, mineral exploration, etc. Suggest adding under geography two new fields: Territorial Sea and EEZ. One tricky bit is that these may be reported as a radius (mi, nm, or km) or as an area (km2, sqmi), so a few options are probably needed to support different source units (for example, eez_mi=, eez_nm=, eez_km=, eez_area_sqmi=, eez_area_km2=, etc.). Corresponding footnote fields would be needed too. —Carter (Tcr25) (talk) 15:47, 8 July 2024 (UTC)Reply

I think I have it working in the sandbox. The only issue that someone needs to add nautical miles (nm) to Template:Infobox islands/length; other than that, it seems to be working in Example 2 in the test cases. —Carter (Tcr25) (talk) 19:35, 8 July 2024 (UTC)Reply

Template-protected edit request on 10 July 2024

edit

Please add to Template:Infobox islands/length

|{{#if:{{{nm|}}}<!--nm and no mi and no km-->
|{{formatnum:{{{nm}}}}}&nbsp;nm ({{#expr: ({{formatnum:{{{nm}}}|R}})*1.150779 round ({{precision|{{formatnum:{{{nm}}}|R}}}&#125;-0)}}&nbsp;mi; {{#expr: ({{formatnum:{{{nm}}}|R}})*1.852 round ({{precision|{{formatnum:{{{nm}}}|R}}}&#125;-0)}}&nbsp;km)

I believe that is the correct code to add support for nautical miles. Once this is confirmed as working, please also see the comment above. —Carter (Tcr25) (talk) 14:57, 10 July 2024 (UTC)Reply