Jump to content

Template talk:Infobox islands

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

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]

 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. Template:Infobox islands/sandbox and Template:Infobox islands/length/sandbox. —⁠andrybak (talk) 22:25, 14 July 2024 (UTC)[reply]
I've created Template:Infobox islands/length/sandbox and it's not displaying any errors, but I'm not sure how to get testcases to call it. The above #Add territorial seas info? request is already in the sandbox and testcases shows it working well.
I've forced testcases to call the sandbox version of /length and it seems to be working other than the template not liking it if you put in multiple units (i.e., mi and km), but that seems to be the case no matter what. I do wonder if it would make sense to simplify /length and /area to use {{convert}} instead of magic words. It would definitely make it simpler to identify how to expand functionality. ——Carter (Tcr25) (talk) 14:59, 16 July 2024 (UTC)[reply]
 Done} * Pppery * it has begun... 21:47, 19 August 2024 (UTC)[reply]

Add field for degree of isolatedness

[edit]

In the List of isolated islands and archipelagos, there is a field for distance to nearest landmass. How about adding a field for that measurement in this infobox as well, so that people can see it in each individual island's article? What should it be called? And, would people use it? Cooljeanius (talk) (contribs) 01:34, 28 July 2024 (UTC)[reply]

Template-protected edit request on 30 July 2024

[edit]

I request that a new parameter be added for flag (and its formatting) as in {{Infobox state}}, this specific is for the page for Leeward Islands (Society Islands). Juwan (talk) 17:45, 30 July 2024 (UTC)[reply]

 Not done It seems to me like either your talking about the island geographically, in which case you don't need the flag, or you're talking about it as a political entity, in which case you should use a different infobox. * Pppery * it has begun... 21:47, 19 August 2024 (UTC)[reply]