Template talk:Map caption

Camel?!
This template causes the caption to read 'in the European Union (camel)'. I presume 'camel' is an official term for the colour used, but it's an obscure term and looks rather bizarre in this context (I initially thought it was some kind of weird vandalism). I suggest changing it to 'orange' which the average reader will understand better. Cop 633 16:03, 2 May 2007 (UTC)

I agree: This is utter nonsense. The colours should be called red, orange, and white. 81.156.250.222 (talk) 14:38, 17 August 2008 (UTC)

Someone who knows how please rename the color "Camel"!!! I thought it might say Carmel, as in Caramel. Camel is nonsense and totally distracting. —Preceding unsigned comment added by 24.20.169.77 (talk) 00:39, 16 February 2009 (UTC)


 * I changed 'camel' to 'tan' for now. Hope that's an improvement. Kaldari (talk) 16:59, 1 December 2013 (UTC)

Category:Mapping templates
Please categorize this template also under Category:Mapping templates. --Timeshifter (talk) 21:41, 26 September 2008 (UTC)


 * [[Image:Yes check.svg|20px]] Done on unprotected /doc subpage. { { Nihiltres | talk | log } } 05:43, 27 September 2008 (UTC)


 * thanks! I see that the doc page has the category between tags. I had forgotten about that possibility. Those tags oftentimes confuse me anyway. Along with  --Timeshifter (talk) 03:38, 28 September 2008 (UTC)

Continental Europe v Europe
In English the phrase "continental Europe" is sometimes defined as meaning Europe less its islands. Its unfortunate, therefore, that setting the region parameter to "Europe" results in a place being described as being "on the European continent". I would suggest it would be much more straightforward to describe the place as being "in Europe" as this avoids potential ambiguity. — Blue-Haired Lawyer t 20:32, 4 September 2011 (UTC)
 * No objections, so change made. &mdash; Martin (MSGJ · talk) 13:29, 12 September 2011 (UTC)

Region subregion
Currently, this template places regions above subregions in captions. Surely, since we're identifying a place's location within larger areas, it makes sense to go downwards with increasing area? CMD (talk) 05:26, 4 January 2013 (UTC)

Hardcoded width
Hardcoding the width of the region fields to 250px in order to accommodate the legend is problematic. Can we come up with a less hacky way to do this? Kaldari (talk) 16:46, 1 December 2013 (UTC)


 * Use the nowrap templates instead? I agree it's problematic. Rob (talk &#124; contribs) 22:58, 18 March 2014 (UTC)


 * As a result of the hardcoded width, this template is now increasing the width by about 10px of every instance of Template:Infobox country it is present on, from the infobox's default width of 22em. Please remove or reduce the hardcoded width to avoid this behaviour. Rob984 (talk) 12:53, 6 January 2017 (UTC)
 * Can you please experiment with this in the sandbox and request a change when ready? &mdash; Martin (MSGJ · talk) 17:07, 30 January 2017 (UTC)
 * Can you please experiment with this in the sandbox and request a change when ready? &mdash; Martin (MSGJ · talk) 17:07, 30 January 2017 (UTC)

Edit request 8 October 2016
Remove the circular link (I assume this was a mistake):



to

Thanks.

Rob984 (talk) 18:18, 8 October 2016 (UTC)
 * Red information icon with gradient background.svg Not done: Based on the Parameters description, this is intentional. Primefac (talk) 18:52, 8 October 2016 (UTC)
 * I assumed whoever wrote the documentation was just explaining the behaviour. This syntax will always result in the title of the page being bolded. If this is intended, it should be . However I don't see why the country's name should be bolded? I have added   to many, many articles, although now I realise actually anything would prevent the link (for example   or   ) because it is simply looking for a linkable term. Rob984 (talk) 19:09, 8 October 2016 (UTC)


 * Can someone please explain this? Rob984 (talk) 12:50, 6 January 2017 (UTC)
 * I have removed this is the sandbox &mdash; Martin (MSGJ · talk) 17:06, 30 January 2017 (UTC)
 * I have removed this is the sandbox &mdash; Martin (MSGJ · talk) 17:06, 30 January 2017 (UTC)

Antarctica
Since Antarctica is a continent, not an island, locations there should be "in" not "on" it. "On Antarctica" simply sounds incorrect. Hairy Dude (talk) 11:46, 28 January 2017 (UTC)

Please change  to , per Hairy Dude's comment above. Rob984 (talk) 11:48, 29 January 2017 (UTC)
 * Since "in" is the default, I think a better edit would be to delete the two "Antarctica" lines completely. But to test this properly I would like to find an article that currently displays the wrong wording. Did either of you have one in mind? -- John of Reading (talk) 16:48, 29 January 2017 (UTC)
 * I have removed those two lines per John of Reading's suggestion. Rob984: please confirm this is working correctly now. &mdash; Martin (MSGJ · talk) 13:32, 30 January 2017 (UTC)


 * Indeed, working at Queen Maud Land. Thanks! Rob984 (talk) 16:45, 30 January 2017 (UTC)

Add option for argument "link=no" to not link the country name if desired
See Republic of Ireland. The caption links to Ireland. I have prevented this by adding, but this is not a very elegant solution. On other articles, such as Germany it makes the name appear in bold, which again I believe is not intended. At some articles, such as Portugal, I have added, which again is not very elegant. Rob984 (talk) 16:55, 30 January 2017 (UTC)
 * Please add the required code to Template:Map caption/sandbox if you are able &mdash; Martin (MSGJ · talk) 17:05, 30 January 2017 (UTC)

Edit request 23 April 2017
I would like to see the sandbox copied into the mainspace, which includes a few changes:


 * Removal of the hard coded width of 250px, which has no effect other than widening the infobox the template is placed into. The default width of an infobox is 22em, which unless the user has modified their preferences is about 250px. So this means any infobox this template is placed in is usually just widened by a few pixels.
 * Removed html tags which reduced the font size of the colours to 9px, which is a violation of MOS:ACCESS: "In no case should the resulting font size drop below 85% of the page font size (or 11px)". I don't see a reason why they should be smaller anyway, they're in brackets which is sufficient.
 * As with, prevented the circular link  which just causes the page title to appear as bold text for no reason, requiring editors to use Template:nobold to counteract this abnormal behaviour.

All tested at Template:Map caption/testcases.

Rob984 (talk) 12:47, 23 April 2017 (UTC)
 * Yes check.svg Done —&thinsp;JJMC89&thinsp; (T·C) 16:18, 23 April 2017 (UTC)


 * Thanks! Rob984 (talk) 09:48, 24 April 2017 (UTC)

Small font sizes removed per MOS:FONTSIZE
I have removed the too-small font sizing from this template per MOS:FONTSIZE. I did not address the forced spaces in the caption text, which seem excessive to me but which may have some purpose. – Jonesey95 (talk) 05:20, 13 March 2019 (UTC)


 * The font size in this template seems broken to me. See map caption in the infobox for France. The font is larger for the caption than in the rest of the infobox. Dgp4004 (talk) 15:22, 15 April 2024 (UTC)
 * Although having experimented, it seems to be only the mobile view which is affected. Desktop view seems to work okay. Dgp4004 (talk) 15:24, 15 April 2024 (UTC)
 * I looked at France in mobile view on Firefox on Mac OS and on iOS 17 in Safari. The map caption text, e.g. "France on the globe centred on Europe", looks either smaller than the infobox default text or the same size. A screen shot may help, along with your OS and browser and skin information. Does it happen when you are logged out? – Jonesey95 (talk) 03:32, 17 April 2024 (UTC)
 * Sorry for the slow reply. It only occurs on my mobile, not desktop. I'm using the Chrome browser (Chrome 124.0.6367.113) on Android (Android 14; Pixel 5 Build/UP1A.231105.001.B2).
 * 'Location of France (blue or dark green)' is the correct size.
 * Whereas 'in Europe (green & dark grey)' and 'in the European Union' (green)' are smaller.
 * I'm unsure how to get a screenshot to you. Dgp4004 (talk) 20:42, 6 May 2024 (UTC)
 * See Screenshots of Wikipedia. – Jonesey95 (talk) 19:45, 7 May 2024 (UTC)
 * Thank you:
 * [[File:Map caption.png]] Dgp4004 (talk) 22:03, 7 May 2024 (UTC)