Jump to content

Template talk:Infobox islands

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

Incorrect parameter check[edit]

Jonesey95 and Hooman Mallahzadeh, in the November 2023 Mapframe implementation, the following check is incorrect:

onByDefault={{#if:{{{pushpin_map|}}}{{{map|}}}|no|yes}}

There is no {{{map}}} parameter used by this template. Instead, the check should have been for {{{image_map}}} and its alternative {{{map_image}}}. --Paul_012 (talk) 07:27, 22 February 2024 (UTC)[reply]

|map= is a valid parameter in this template. It is an alias of |pushpin_map=. It appears that there are four valid map parameters in this template: |image_map= or |map_image= is passed to the infobox's |image2= parameter, and |pushpin_map= or |map= is passed to the infobox's |image3= parameter.
Did you write the above message because something is not working as expected? If so, please link to a page where the infobox is not working and explain how it should work instead. – Jonesey95 (talk) 15:45, 22 February 2024 (UTC)[reply]
Sorry, I was looking at the documentation and forgot to check the template source. My suggestion was prompted by the infobox at New Guinea, which in addition to an already existing image map, now shows a redundant Mapframe map (that is also totally useless due to the wholly inappropriate zoom level, but that's another issue). Given that the default behaviour is not to show Mapframe maps in infoboxes that already have pushpin maps, I think by the same intention, infoboxes that already have image maps should likewise have Mapframe disabled by default. --Paul_012 (talk) 18:39, 22 February 2024 (UTC)[reply]
Thank you for linking to an example page. It is always helpful. I have added the other two map parameters to the "on by default" test for mapframe maps. I believe that someone could still override the default if desired. – Jonesey95 (talk) 18:45, 22 February 2024 (UTC)[reply]
Thanks, that was quick! --Paul_012 (talk) 18:47, 22 February 2024 (UTC)[reply]

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 http://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]