This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | ← | Archive 12 | Archive 13 | Archive 14 | Archive 15 |
Hi, I just want more clarification about this parameter. Is it about the demographic data about the religion of the society of the state or about the religion of the state itself????
See the religion parameter value in Yemen article is Islam but in other articles such as Australia it gives the census data about the religion of the society and not the religion of the government.-- SharabSalam ( talk) 08:38, 29 June 2019 (UTC)
For former country, leader1 and title_leader does not work but leader_name1 and leader_title1 does work at formatting. Look at UNTAC. Manabimasu ( talk) 04:43, 20 July 2019 (UTC)
|leader1=
only shows if |year_leader1=
is used, because the former leaders are listed by year instead of individually (so it's "leader title" followed by pairs of year/leader). |leader_name1=
is a pairing with |leader_title1=
so they are used together.
Primefac (
talk)
11:48, 20 July 2019 (UTC)This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add a field for the mains electricity of the country, as it is a stable hard fact of a country. Ythlev ( talk) 13:16, 25 July 2019 (UTC)
|electricity=
is displayed in the infobox, it is also parsed as an error and articles using the para are in
Category:Pages using infobox country with unknown parameters.
MB
23:44, 15 August 2019 (UTC)
The country version of this template supports |image_flag=
and |image_flag2=
. There is an undocumented |flag_size=
but no corresponding |flag2_size=
. This came up in
Rhodesia where a second flag was recently added. I just removed usage of flag_size and now the two flags are identical in size. I'm not sure if there needs to be a way to specify the second flag size, or |flag_size=
can be deprecated.
MB
19:10, 3 September 2019 (UTC)
Is it just me, or are some entries crossing certain boundaries that are not supposed to be a part of the format. For example, there's an entry that crossed into the outside of the infobox in the article for the United Kingdom - Bokmanrocks01 ( talk) 04:59, 6 September 2019 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
There appears to be a typo in the following line:
| data9 = {{#ifexist:{{{capital_exile|}}}|[[{{{capital_exile|}}}]]|{{{captial_exile|}}}}}
Jay D. Easy ( t • c) 17:09, 6 September 2019 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
In general, all countries constitutionally divide government powers into two or three branches - with the judiciary exclusively as one independent power and legislative and executive powers either separated (USA, Australia, Italy) or combined (Germany)... the current info box includes government but sort of mixes the executive in this, and then separates the legislature. Would suggest including a new subsection "Judiciary" that follows the legislature subsection with three parameters: highest court (supreme court) of appeal, title of head of the court, and name of the head of the court. Something like this, perhaps:
|judiciary = <!--Name of highest court (supreme court), if given (e.g. "Supreme Court")-->
|judiciary_leader_title1= <!--Title of the head highest court (supreme court), (e.g. "Chief Justice")-->
|judiciary_leader_name1=
Goldsztajn (
talk)
12:58, 13 September 2019 (UTC)
</nowiki>
{{
edit template-protected}}
template.@ Cabayi: Genuine question: How does one achieve consensus when there is no difference of opinion? I take it what you are saying is you prefer others comment on the proposal? Given that this is about providing an option to add to the template, and some country infoboxes contain this information (eg USA, Australia, but could appear in a more clear manner given this proposal), this is commonsense. Can you please tell me why my request is not clear about adding an option so that the information of the judiciary can be included for each country? Are you asking me to provide the specific coding? -- Goldsztajn ( talk) 16:38, 15 September 2019 (UTC)
{{
edit template-protected}}
requests assistance from
template editors, not subject specialists, and specifically requests "This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.".
Your request, with phrases like "Would suggest including a new subsection..." and "Something like this, perhaps", is not fully formed. What you have is not so much a difference of opinion as a lack of opinion. Hopefully your notices on the project talk pages will attract the right kind of assistance.1. What is the reason for having the parameter life_span in addition to the parameters year_start and year_end? In the template code for the subheading, life_span is given priority.
2. The life_span parameter is not documented on the template documentation page.
3. I came looking because the life_span parameter has been used in Italian Eritrea to include years before the formal establishment of the colony. Is this OK? To me it looks strange to state that the colony was formally created in 1890 but then show 1882–1947 in the infobox. — Coroboy ( talk) 08:53, 22 September 2019 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change template call {{ ifempty}} to {{ if empty}} to avoid the redirect. The call to that template is transcluded in nearly 5,000 articles through being called in this template, so that unnecessary redirect has to be followed every time one of those articles is viewed. Colonies Chris ( talk) 15:57, 10 October 2019 (UTC) Colonies Chris ( talk) 15:57, 10 October 2019 (UTC)
{{
edit template-protected}}
template. For further discussion see
User talk:Colonies Chris. --
Trialpears (
talk)
16:31, 10 October 2019 (UTC)There is currently a discussion at Wikipedia talk:WikiProject Heraldry and vexillology#Types of flags used on country articles where there are some questions about the intended usage of the flag parameters. Feedback is welcome... -- IamNotU ( talk) 16:10, 28 October 2019 (UTC)
Every republic I'm aware of has a constitution of sorts, so why does "constitutional" need to be mentioned in the infobox of republics? It seems rather redundant. I can understand why it should be used for monarchies, as the constitution serves to limit the powers of the monarch and not all monarchies have one. It is also a useful adjective to distinguish absolute monarchies from those with far weaker monarchs. But what purpose does it serve for republics, given they all seem to have a constitution of sorts? Especially since the infobox is meant to be as compact as it can, while still conveying the basic, important and distinguishing facts. Fuse809 ( contribs · email · talk · uploads) 18:05, 3 November 2019 (UTC)
There's a line in the TemplateData that reads:
"format": "{{_\n| _ = _\n}}\n"
Apparently it's causing problems, where edits made using the Visual Editor insert about a thousand spaces, for example in this edit: [1]. It makes it very difficult to understand what was actually changed in the edit, and can even look like vandalism - in this particular case it contributed (among other factors) to the user being temporarily blocked for disruptive editing.
It also makes diffs between older and newer revisions similarly hard to read, and the layout it's left in, with the large blank space between the parameter name and the "= value" doesn't seem very helpful either. Can it be removed?
I don't understand it very well but I read a little about it here: https://phabricator.wikimedia.org/T179259. The line was added by Daviddwd earlier this year in this edit: [2]. Could anyone (maybe you David?) comment? Thanks... -- IamNotU ( talk) 00:16, 5 November 2019 (UTC)
The field iso3166code takes the full input and assumes it being the code. This causes issues when you need to add notes, add multiple codes or the like. Most notably on
Kosovo where the ISO code is temporary and XK can never be an official code. I would suggest having a secondary field that inserts the same value as for iso3166code
, but does not apply any formatting. For Kosovo, the text would be inputted as XK<sup>f</sup>
, where "XK" won't be a link, and the note marker f is added. For a region like
Puerto Rico, the code would be {{hlist|[[ISO 3166-2:PR|PR]]|[[ISO 3166-2:US|US-PR]]}}
, if it were using the infobox country.
I made an edit to
Template:Infobox_country/sandbox and added a variable for iso3166
, that you replace iso3166code
with. For this variable, you insert the whole code yourself, instead of just the letters alone. This will make it optionally more flexible. Testing it on
Kosovo by using /sandbox
, and replacing iso3166code
with iso3166
, and replacing the value with XK<sup>f</sup>
. It does work. – The final value should probably be: [[ISO 3166-1 alpha-2#User-assigned code elements|XK]]<sup>f</sup>
instead.
Liggliluff ( talk) 16:50, 16 November 2019 (UTC)
Hi,
{{
Infobox country/imagetable}}
is set to produce its captions at 90%, but since this is a subpart of an infobox where text size is already reduced (in the case of {{
Infobox country}}
, to 88%), this means the text for the "Flag" and "Coat of arms" captions renders <85%, violating
MOS:FONTSIZE. Could someone remove the divs from around the <div style="font-size:90%;">{{{caption1|}}}</div>
(and related) code? —
Joeyconnick (
talk)
23:04, 3 December 2019 (UTC)
There should be a way to set "official language" rather than "official languages" for countries with only 1 official language. Otherwise, it is confusing. See Belize for example. Kaldari ( talk) 20:57, 12 December 2019 (UTC)
The appearance of these codes is an anachronism. It arises from using the common name field. The country code is removed from the infobox by deleting the common name field. Is there any detrimental consequence of doing this for a former country? Should the documentation be updated to depricate the field for former countries that ceased to exist prior to 1974 (first edition of the codes)? Regards Cinderella157 ( talk) 06:32, 22 December 2019 (UTC)
|iso3166code=omit
to make the inappropriate country code go away. We may need a bot/script run to add that parameter and value to existing instances of {{
infobox former country}}, perhaps with a hidden comment that the parameter was added by a bot and should be removed if a country code is valid (for something like
Polish People's Republic, which existed until 1989). The bot/script might also be able to key off the value of |year_end=
to decide whether to add the parameter or not. –
Jonesey95 (
talk)
06:32, 4 February 2020 (UTC)
|year_end=
date, so that it only shows if year>1974, would suffice.
Primefac (
talk)
11:13, 4 February 2020 (UTC)|year_end=
parameter. I think we need a {{
Str number/trim}}, or maybe a {{
trim}} and a {{
Str left}}. –
Jonesey95 (
talk)
15:20, 5 February 2020 (UTC)
|year_end=
into
my sandbox. –
Jonesey95 (
talk)
17:14, 5 February 2020 (UTC)
|common_name=
is not present, do not show the ISO code.|common_name=
is present and |year_end=
is post-1973 or not present, show the ISO code.|common_name=
is present and |year_end=
is pre-1974, do not show the ISO code.Should we add a Continent field? I'd say it would prove especially useful in border situations like the countries in the Caribbean, western Europe or the middle east. -- uKER ( talk) 00:18, 12 March 2020 (UTC)
The documentation includes:
|population_density_km2 = 39.7 |population_density_sq_mi = 102,8 <!--Do not remove per [[WP:MOSNUM]]-->
Some articles I have seen include both a km2 and a sq_mi value, for example, India has:
| population_density_km2 = {{Pop density|{{Indian population clock}}|3287263|km2|disp=num|prec=1}} | population_density_sq_mi = {{Pop density|{{Indian population clock}}|1269219|sqmi|disp=num|prec=1}}
Presumably the advice to have both was useful at some time in the past. However, a missing value is now entered automatically. For example, previewing the following in a sandbox gives three identical infoboxes.
{{Infobox country | common_name = India | population_estimate = {{increase}}{{UN Population|India}}{{UN Population|ref}} | population_census = 1,210,854,977 | population_density_km2 = {{Pop density|{{Indian population clock}}|3287263|km2|disp=num|prec=1}} | population_density_sq_mi = {{Pop density|{{Indian population clock}}|1269219|sqmi|disp=num|prec=1}} }} {{Infobox country | common_name = India | population_estimate = {{increase}}{{UN Population|India}}{{UN Population|ref}} | population_census = 1,210,854,977 | population_density_km2 = {{Pop density|{{Indian population clock}}|3287263|km2|disp=num|prec=1}} }} {{Infobox country | common_name = India | population_estimate = {{increase}}{{UN Population|India}}{{UN Population|ref}} | population_census = 1,210,854,977 | population_density_sq_mi = {{Pop density|{{Indian population clock}}|1269219|sqmi|disp=num|prec=1}} }}
Is there a reason to have both population_density_km2 and population_density_sq_mi? Johnuniq ( talk) 06:55, 12 March 2020 (UTC)
I noticed that some countries have a corresponding map in the commons category commons:Category:Maps by United Nations Office for the Coordination of Humanitarian Affairs in the infobox ( China for example). I was wondering if we should remove all the maps from the infoboxes or add them to the infoboxes of all countries? Interstellarity ( talk) 16:13, 6 April 2020 (UTC)
Hi, could somebody please help with getting the iso3166code parameter to work correctly in Slovenia? The 2 references are important because Slovenia is one of the few countries with conflicting iso3166 / vehicle / IOC codes. Thanks! Dr. Vogel ( talk) 18:00, 25 April 2020 (UTC)
Hello everyone, Here we have Template:Infobox person/Wikidata (i.e Mary Wesley) that fetches Wikidata information and it's useful to saving time on Wikipedia. Now, I want to ask you to create a template like above for Template:Infobox country (It should be Template:Infobox country/Wikidata). Can someone create it? Thanks! ⇒ Aram Talk 20:42, 21 May 2020 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Several articles are using map images that include areas that are claimed by a country but are not under that country's sovereignty. This can be misleading and agenda pushing by those promoting irredentist claims. It also contravenes the purpose of the infobox in summarising the article's key points. Such maps might be suitable for articles specifically about territorial claims, but not about a country in general. Examples of this are in countries with territorial claims on the Antarctic continent. All claims there are not recognised by the vast majority of other states and very little, if any, exercise of sovereignty takes place there. The claims therefore remain as claims. Examples where claimed areas might be relevant are, for example, India with Kashmir, where Kashmir is split between two countries, both of whom claim and exercise sovereignty over each half. This is quite different from, say, Argentina's claim to South Georgia. Should we clarify the infobox guidelines to exclude all land not recognised as being under direct sovereign control of the country in question. Exceptions will be limited and dealt with on a case by case basis. Maps of claimed ares would of course be suitable in relevant sub-sections dealing with that claim of dispute, but not in the infobox. We should also not confuse a recognition of a dispute with non-recognition or sovereignty. This is an angle sometimes taken by those promoting a claim. Roger 8 Roger ( talk) 21:02, 25 April 2020 (UTC)
Thank you for the feedback. A problem arises when the boundaries of a country are disputed, which is why I though a more precise definition might be useful. I do see though that this might be better discussed on each relevant article's talk page. Roger 8 Roger ( talk) 21:02, 2 May 2020 (UTC)
A claim and a dispute are not synonymous. Linking the two is part of the problem. A claim can be undisputed but still have no validity in law. There are different types of claim with differing effects. Lumping them all together just as "claims", which is what seems to be happening with infobox maps, can therefore be misleading. Kashmir (not each half of Kashmir) is disputed but India and Pakistan (excluding China to keep this simple) each exercise effective control over a half each, putting it into a different category from the Falklands, or Belize, or Ceuta, where effective control is not shared. Just because a country says an area is part of its country does not make it so. Look here [3] for example - a completely misleading map. To claim that Chile extends to the south pole is theoretical at best. Just because it is in the Chilean constitution does not make it any less theoretical. The world is full of irredentist and expansionist claims: if we catered for all of the infobox maps would quickly become unworkable. This is why IMO we should stick to effective control and recognition by the majority of countries. All the variations and claims can be dealt with further down in an article. Roger 8 Roger ( talk) 10:23, 5 May 2020 (UTC)
Test cases in international law exist, pre and post the founding of the ICJ. See Island of Palmas Case, which found against the US claim by stressing the importance of the Netherlands' "peaceful and continuous" display of authority over the island (what I called 'effective possession'), which contrasted with the US position based more on inheriting the earlier Spanish claim of first discovery and geographical proximity to the Philippines. Primefac, I don't follow what you are trying to say. The infobox guidelines state a map should be that country/location. What if what that is is disputed, as with Chile's idea of what and where it is is not the same as what everyone else thinks Chile is and where it is. Whatever, 'LocationCountry' does not allow for claimed 'LocationCountry' areas, so we should not use claimed areas. In fact 'country/location is quite specific, so I am not sure why we are even having this discussion. All we need it guidelines clarification that 'country/location' means ..."xyz" Also, the infobox is meant to be a summary of the very basic facts, not abstract concepts like the south pole being part of Chile. That can easily be dealt with lower down. Roger 8 Roger ( talk) 09:26, 7 May 2020 (UTC)
Is there a good reason why this parameter isn't documented? -- ColinFine ( talk) 11:06, 2 June 2020 (UTC)
|linking_name = <!-- For wikilinks, if diff from name -->
, which seems pretty self-explanatory to me.
Primefac (
talk)
13:20, 2 June 2020 (UTC)Would it make more sense to add the inequality-adjusted HDI above the HDI given that the non-adjusted HDI shows where countries could be if there was no inequality? KREOH ( talk) 01:32, 29 May 2020 (UTC)
Hello! I propose that we add the option in the template to add info about the ease of doing buisness index ranking about the respective country. Arcatom ( talk) 19:56, 6 June 2020 (UTC)
It seems strange not to be able to add a representative image of the country in this template, and having just a map is often quite bland. Could someone add this option in the script? For example Template:Infobox_settlement has "image_skyline". We could all the same have "image_skyline" or "image_sample" in this infobox. पाटलिपुत्र Pat (talk) 04:44, 16 June 2020 (UTC)
Was wondering if someone would be able to change how the national_anthem parameter is rendered as currently it renders as "anthem" which causes a bit of a logic issue especially where countries have multiple anthems. For example, royal_anthem renders as "Royal Anthem", but national_anthem just as "anthem" so both together lead to a bit of an inconsistency. I think it would be more consistent to have them render as "National Anthem" and "Royal Anthem" respectively. trackratte ( talk) 10:55, 3 July 2020 (UTC)
Autonomous Province of Western Bosnia has two flags. The first is specified with |image_flag=
and the second with |image_flag2=
. The documentation says each can have a caption, specified with |flag_type=
and |flag2_type=
. But flag2_type causes an "unrecognized parameter" error. The caption given with flag_type (or undocumented flag_caption) is centered under both images.
I tried moving the second flag to the |image_coat=
& |symbol_type=
as a work-around and that does display both images and captions, but the two flags are different size. Can flag2_type be made to work as documented?
MB
03:03, 26 June 2020 (UTC)
|flag2_type=
to the documentation
in August 2018 while performing a tricky merge of {{
Infobox former country}} into this template. I see no evidence (when searching with WikiBlame) that |flag2_type=
was ever supported by {{
Infobox country}} (disclaimer: I only searched back to 2005). The subtemplate that displays two flags appears to accept only one caption underneath either one or two flags, but I could definitely be wrong; the syntax is a bit tricky.|flag2_type=
could be made to work. –
Jonesey95 (
talk)
05:35, 3 July 2020 (UTC)
Any chance of including a pushpin map to the template, for those articles where we have no map image, but we do have coordinates? Liverpoolpics ( talk) 09:49, 22 June 2020 (UTC)
Currently, if only one sovereignty event is provided (via established_event1
along with a sovereignty_type
), there is a division line between the first event and the sovereignty type line (
see example). This seems to be happening because the class check (in rowclass46
) checks for the existence of established_event2
instead of established_event1
.
Getsnoopy (
talk)
04:14, 27 July 2020 (UTC)
ISO 3166 was introduced in 1974, but it's showing on countries that never had an ISO 3166 code such as Fourth French Republic and Dominion of Pakistan. Is there a way of removing it? DrKay ( talk) 10:47, 14 September 2020 (UTC)
|iso3166code=omit
to the infobox will omit the code. I've done that for you at
Special:Diff/978357399, as an example.
ProcrastinatingReader (
talk)
12:25, 14 September 2020 (UTC)
The template seems to support |image_map3=
but there is no corresponding |image_map3_caption=
.
Colonial Brazil using workaround.
MB
17:17, 6 October 2020 (UTC)
I am trying to understand how to include the World Happiness indexes parameter in this Infobox. The result should be something like this (Romania):
World Happiness Indexes [1] 48 - 6.070 (rank - score)
Thanks for any help. ( Carlotm ( talk) 01:41, 17 October 2020 (UTC))
References
This template is somehow setting an ISO 3166 country code on the page Kingdom of Cyprus. That cannot be correct – the ISO 3166 code CY refers to the modern Republic of Cyprus, not the mediaeval kingdom, which claimed different territory. (Indeed, at certain times the mediaeval Kingdom of Cyprus possessed territory on the Anatolian mainland, modern-day Turkey; the modern Republic of Cyprus has never claimed or possessed any such territory.) I think the CY code would be removed but I can't work out how to do it, I don't understand how the logic of the template is applying it. Mr248 ( talk) 04:25, 20 October 2020 (UTC)
| label127= [[ISO 3166|ISO 3166 code]] | data127= {{#switch:{{{iso3166code|}}} |omit = <!--(do nothing)--> | = <!--if iso3166code is not supplied: -->{{#if:{{{common_name|}}} | {{#if:{{ISO 3166 code|{{{common_name}}}|nocat=true}} | [[ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}]] }} }} |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]] }}
|omit=anything_you_want
(usually "y" or similar). --
Izno (
talk)
04:57, 20 October 2020 (UTC)
|omit=y
, when this template is invoked on the page, or are you talking about modifying this template?
Mr248 (
talk)
20:19, 20 October 2020 (UTC)
|omit=y
in the article in question. --
Izno (
talk)
18:35, 21 October 2020 (UTC)
|omit=y
to {{
Infobox country}}. It didn't do anything, the ISO-3166 country code was still displayed in the infobox, it also displayed the warning: Warning: Page using Template:Infobox country with unknown parameter "omit" (this message is shown only in preview).
Mr248 (
talk)
20:30, 21 October 2020 (UTC)
|iso3166code=omit
. --
Izno (
talk)
20:38, 21 October 2020 (UTC)
The tag government_type automatically links to the article "Politics of [name of country]". On Korea under Japanese rule, however, this creates a link to Politics of Korea, which is a disambiguation page. Is there a way to disable this automatic linking in individual cases? Lennart97 ( talk) 12:37, 5 November 2020 (UTC)
As I was looking at the infobox for the United States, I saw a section above its history and below its government that said "Independence from Great Britain". I was confused, was this in error? Does it belong to the history section? As I opened the source, I saw that both Independence and Great Britain are part of the infobox's "Sovereignty" section. I propose that we label it, to make it less confusing, and more specific. RobotGoggles ( talk) 02:34, 24 December 2020 (UTC)
Hi. Can Religion automatically link to Religion in ...? For example, on Taiwan, the label could link to Religion in Taiwan. intforce ( talk) 15:34, 16 December 2020 (UTC)
The parameter |religion = displayed as Religion as it is, is somewhat reflected as the matter of nationstate's characteristics which isn't true for secular states. It is better to change the parameter's display Religion → Religious groups and introduce another parameter State religion to mention it in case of countries which have it constitutionally. Existing parameters sounds quite problematic to me and would strongly recommend amendments, may be a better suggestion can be offered by someone else? Aman Kumar Goel ( Talk) 05:00, 5 January 2021 (UTC)
Resurfacing this issue: currently, if only one sovereignty event is provided (via established_event1
along with a sovereignty_type
), there is a division line between the first event and the sovereignty type line (
see example). This seems to be happening because the class check (in rowclass46
) checks for the existence of established_event2
instead of established_event1
.
Getsnoopy (
talk)
20:08, 7 January 2021 (UTC)
Someone pointed out at Wikipedia:Teahouse § Nepali Flag not being shown when hovering over a Nepal link that the emblem is used in preference to the flag in navigation popups. Is it possible to change the template syntax so the flag is chosen instead? AnonQuixote ( talk) 04:38, 11 January 2021 (UTC)
Noticed today that a government website was added to a country article. I am sure most are aware that we normally don't link government sites saving those links for "Government of" articles. I actually thought it was removed as a parameter long ago. I suggest we remove it as it not used by convention. Surprised it hasn't been a larger problem.-- Moxy 🍁 06:24, 26 January 2021 (UTC)
I noticed there is |life_span=
which is not documented and seems to be redundant with other parameters. Is this something else left from pre-merger that should be removed?
MB
15:19, 7 February 2021 (UTC)
|year_start=
and |year_end=
for the life span in the header. Can you find how may articles are using it?
MB
17:22, 7 February 2021 (UTC)
|life_span=
. –
Jonesey95 (
talk)
04:01, 8 February 2021 (UTC)I wish to change the fieldnames or labels in this infobox. For example, I would like to change "Anthem" to "Hymne". So in the article's infobox it would be :
Hymne O Canada
and not
Anthem Ô Canada
Is this possible? Would the TemplateData editor be useful? I am new at this. I've played around with it in my own mediawiki without success. — Preceding unsigned comment added by Snoreau88 ( talk • contribs)
Extended content
|
---|
|
The infobox on French Algeria has this text
| image_flag = Flag of France (1794–1815, 1830–1958).svg
I can see File:Flag of France (1794–1815, 1830–1958).svg if I click on it but the infobox shows a missing file icon.
Apparently there is a problem with using subboxes to collapse official names as is done in this Zimbabwe revision, as it blows up flags images in the mobile version and makes the CoA miniscule. Not sure if it's an issue worth fixing, as the collapsible list template in Switzerland works in the current template. CMD ( talk) 01:29, 14 April 2021 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Should the |today=
parameter, which is described as "Present-day countries that overlap with the territorial extent of the former country. Do not use this parameter if there are more than four such countries.", be removed and deprecated? 21:22, 22 March 2021 (UTC)
Comment/request, @ RandomCanadian: This is too abstract to just RfC in a vacuum. Can you provide several examples where you find use of this parameter unhelpful or misleading, and explain why? I'm not a big fan of removing template params that are sometimes useful. But I'm also not a fan of retaining typically unhelpful i-box params, especially if people try desperately to fill them out just because they are there, with confusing or redundant results. So, I'm neutral on this for now. — SMcCandlish ☏ ¢ 😼 23:07, 22 March 2021 (UTC)
|today=
parameter is used in
approximately 1,800 articles out of a total of 5,400 transclusions. The onus is on the RFC proposer to show why a parameter used in one-third of this template's transclusions should be deprecated. –
Jonesey95 (
talk)
00:51, 23 March 2021 (UTC)
|today=
was
added to this template when {{
Infobox former country}} was merged into this one. Maybe all that is needed is better documentation. –
Jonesey95 (
talk)
15:05, 23 March 2021 (UTC)
Please consider adding 'dynasty' or similar parameter, mirroring the 'parent_family' value used in Template:Infobox family to give proper visibility of houses ruling a given territory, if any. In some articles using the template infobox country, contributors insert the dynasty in the Government_type, wrongly mixing the concepts and leading to confusion. This is the case for [4] version until recent. Current version duly separates both concepts and data, but the dynasties are indicated under 'membership' value in the absence of a better template parameter. Inclusion of the requested parameter or similar is therefore needed and totally justified. Many thanks-- PLUS ULTRA CARLOS ( talk) 11:01, 18 May 2021 (UTC)
I propose that the "Area" and "Population" fields be moved higher up in the infobox, possibly right beneath the map. As the most defining characteristics of a country, they deserve positions more prominent than somewhere amidst all the other fields. It is particularly odd that "Ethnic groups" and "Religion" should precede "Population" – and by a good half a dozen fields. -- Theurgist ( talk) 16:48, 2 April 2021 (UTC)
I'm okay with "Area" and "Population" where they are for now, but I definitely agree about "Ethnic groups" and "Religion". I think they should directly follow "Population" since they are germane as percentages of the population. "Official languages" is quite useful where it is for me. Cheers, Facts707 ( talk) 04:00, 19 May 2021 (UTC)
Would be useful to show the age of a country, e.g. US 245, Canada 153, etc. Would require settting a parameter for the infobox to calculate the age (with "birth date and age|1776|07|04" template or something similar). Cheers, Facts707 ( talk) 04:24, 19 May 2021 (UTC)
Documentation says: "For geopolitical entities: do not use government website (e.g. usa.gov) for countries (e.g. United States)."
Wikt:geopolitical entity: "A geographical area which is associated with some sort of political structure."
And the colon is confusing, is it for geopolitical entities generally except countries or is it saying it is only for geopolitical entities, countries need not apply?
Finally, if the website of the (preferably democratically-elected) government of a country is not the "official website" then what is? Why does the reader have to go hunt for the government page first? Cheers Facts707 ( talk) 12:38, 4 June 2021 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I introduced two distinctive parameters |ducal_anthem=
and |imperial_anthem=
for articles that not suitable to use |royal_anthem=
. The new source code is available at the sandbox page, you can add directly into main template if you have no disagreement for this. --
Great Brightstar (
talk)
14:25, 12 June 2021 (UTC)
|anthem2=
" and then "|anthem_type=
", like how "Signature" and "Signature_name=Seal" shows "Seal" when applied. --
Donald Trung (
talk)
17:36, 12 June 2021 (UTC){{
edit template-protected}}
template.
BilCat (
talk)
05:02, 13 June 2021 (UTC)When separated, "Capital" and "Largest city" is both bolded, so I think it's reasonable if it changed so that "Capital and largest city" is all bolded and without line break. Hddty ( talk) 06:41, 11 July 2021 (UTC)
This
edit request to
Template:Infobox country/imagetable has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
After my investigation, it's not necessary to set the left side as 58% wide in {{
Infobox country/imagetable}}. When I replace the width:58%
property in its sandbox page, I saw the browser could automatically set width for flag and coat of arms fields at the test cases and give more flexible layout in there. If there's no problem affect the visual appearance, you can apply the new code into main template. --
Great Brightstar (
talk)
03:14, 26 June 2021 (UTC)
I want to add Preceded by and Succeeded by to current countries as is the case for former countries. For example with Russia
Preceded by Russian SSR and Soviet Union and Chechen Republic of Ichkeria
Ukraine
Preceded by Soviet Union and Ukranian SSR Succeeded by Republic of Crimea and Sevastopol and Russia
This will help people look into history of contemporary countries and territorial change — Preceding unsigned comment added by SiliconProphet ( talk • contribs) 09:24, 16 July 2021 (UTC)
The newest infobox version is uncomfortable because it seems like handwritten schedule and proximate each other. Please can you restore the previous one. Regards! The Supermind ( talk) 21:11, 8 September 2021 (UTC)
The template says to use the format "1 January", with no year (because it's supplied by year_end), for the date_end parameter. However, this is not appropriate if the article uses mdy dates; the article should show, for example, "May 9, 1865".
Confederate States of America does this by specifying date_end as "May 9,", including a trailing comma. Is this the intended usage? The template doesn't appear to respect {{
Use mdy dates}}
like CS1 templates do, and there is no functional date-format parameter.
Hairy Dude (
talk)
03:32, 29 September 2021 (UTC)
{{{date_start|}}} {{{year_start|}}}
, with a space in between them and no processing at all. Why there are two separate parameters is beyond me, given that nothing useful is done with them. –
Jonesey95 (
talk)
03:55, 29 September 2021 (UTC)
|year_end=
parameter was used for auto-categorization of articles, which is now very much frowned upon. Somehow, in the merge from {{
Infobox former country}} to this template, those parameters were not merged. We may be able to hack it by adding a parameter to control date format, and then sending date and year through {{
Date}} or something similar, with tests to make sure that we don't try to format something like "8th century" into a DMY format. –
Jonesey95 (
talk)
04:05, 29 September 2021 (UTC)You are invited to join the discussion at Talk:United States § Acknowledging indigenous Americans in the infobox. {{u| Sdkb}} talk 02:32, 12 October 2021 (UTC)
I'm looking at
this version of
Luhansk People's Republic. (I'm supplying the version because the detail I'm about to discuss is coming and going at the moment.) In the infobox, I see that the recognized_regional_languages
parameter, labeled "Recognized regional languages" in the infobox, is grouped into a cell with the "Capital", while the language that's actually the "Official language" follows that, in its own cell. Wouldn't it be more appropriate for official languages to come before other languages, and for all languages to be in the same cell as each other?
Largoplazo (
talk)
02:15, 15 October 2021 (UTC)
Looking at this template, I notice a bunch of things that may be worth changing:
( USD)to
( Code: USD).
|drives_on=
forces lowercase, which goes against modern usage on Wikipedia to provide infobox data in sentence case.Thoughts? {{u| Sdkb}} talk 03:48, 18 October 2021 (UTC)
As previously mentioned at
Template talk:Infobox country/Archive 14#Second flag, documented |flag2_type=
doesn't actually exist, so there is no way to caption a second flag. This came up again at
Saint Christopher-Nevis-Anguilla where I used a work-around by combining the captions. But separate captions would be better.
Primefac, you commented before that this was unfinished merger business.
MB
14:06, 18 November 2021 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
File:State Ceremonial Music - God Save the Queen.ogg has been deleted from Commons. Can someone take it out of that ref? Sumanuil 05:37, 1 January 2022 (UTC)
|leader=
supports 21 different ones, but |representative=
allows only 5.
Insular Government of the Philippine Islands is using 7 leaders and 6 representatives. Can we add a few more representatives?
Jonesey95?
MB
15:48, 12 January 2022 (UTC)
we should add a section called "Demonym" where it shows the demonym of the country like "Finnish", "Egyptian", "Chinese", "Argentine"
Poopykibble ( talk) 02:07, 26 January 2022 (UTC)
Should this be used as a governmental system? Beshogur ( talk) 14:49, 4 January 2022 (UTC)
@ Chipmunkdavis: had a discussion with an user. And I see that "dominant party" is added/removed every time on country infoboxes. I don't think this is a governmental system. Beshogur ( talk) 18:36, 5 January 2022 (UTC)
Done....
Can we drop this spam paramater? Simply not mentioned in any articles prose. Was added in 2019 with no real talk.....unnoticed till spam all over today. Moxy- 22:55, 8 March 2022 (UTC)
Are the preceding entities the entities that came before the current entity or all the entities that were conquered by an entity (say a kingdom).
For example, we have a country A that started in, say, year a and a country B which started in b, where b is after a. But country A invaded country B. Would B a preceding entity for A? Even though B was not even there when A came into being?
Chaipau ( talk) 00:40, 29 March 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Seventh Dynasty of Egypt uses |year_start=
but not |year_end=
. As long as |year_end=
is present but empty, it is omitted. If it's absent, it is not omitted, so you get the spurious string {{{year_end}}}
instead. The cause is a missing pipe character: {{#if:{{{year_end}}}|...}}
should be {{#if:{{{year_end|}}}|...}}
.
Hairy Dude (
talk)
18:15, 21 May 2022 (UTC)
Please remove United Kingdom and change to 27 states on the European Union Infobox template because the United Kingdom is no longer part of the European Union. FireDragonValo ( talk) 17:39, 10 June 2022 (UTC)
Currently, only two-letter code of ISO 3166-1 are provided in this infobox. I suggest adding three-letter code, ISO 3166-1 alpha-3, to this template. It will provide helpful information to readers.— Preceding unsigned comment added by Regpath ( talk • contribs) 01:27, 13 June 2022 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can we add an option to override the default link on "Government" that goes to "Politics of [country name]"? I understand many countries don't have one, but there are some countries with a government-specific article, and it is sometimes (though not always) a more appropriate target. ― Tartan357 Talk 07:44, 15 June 2022 (UTC)
This template misses one important section: rulling royal house.
We need to put rulling royal house (or dynasty) to this template because it's part of the country's main identity, like Saudi Arabia (the country's name is based on the house). - GogoLion ( talk) 04:43, 24 June 2022 (UTC)
Chipmunkdavis "redundant" i have so many questions about your statement.
1. Why you called it redundant? The template will not show it if the section has empty value.
2. Very few countries? Guess how many monarchies in this world?
3. "Will already be mentioned" isn't the whole template is about summary of the article? GogoLion ( talk) 16:57, 24 June 2022 (UTC)
Chipmunkdavis so you think rulling house is not a key point? GogoLion ( talk) 04:56, 25 June 2022 (UTC)
"The monarch" what monarch? The government section only put " monarch" article, not the specific house. GogoLion ( talk) 05:02, 25 June 2022 (UTC)
The variables "stat_pop" and "stat_area" in this template are both governed by "stat_year". The template page explains that this has the value of allowing pop density calculations to be done automatically. However, I have encountered three issues:
Furius ( talk) 18:24, 22 August 2022 (UTC)
| rowclass99 = mergedbottomrow | label99= <div class="ib-country-fake-li">• Density{{{FR_foot5|}}}</div> | data99= {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}} | {{convinfobox|{{{population_density_km2|}}}|/km2|{{{population_density_sq_mi|}}}|/sqmi|1|abbr=on}}{{{pop_den_footnote|}}}<!-- -->{{#if:{{{population_density_rank|}}} | ([[List of countries and dependencies by population density|{{{population_density_rank}}}]])}} }}
That's brilliant! Thanks for taking the time to look into this. Furius ( talk) 13:09, 23 August 2022 (UTC)
Upon seeing an infographic of the different countries ranked according to this (hitherto relatively unknown) index, it occurred to me that it could be added underneath the Gini and HDI sections, considering that (i) it is a really important metric in the context of the current global climate emergency and (ii) it could help raise awareness on what countries aren't doing their part in trying to curb it. According to Wikipedia, the CCPI is updated every year, it's presented at the annual UN climate conference and it index evaluates and compares the climate protection performance of countries which are together responsible for more than 90% of global greenhouse gas emissions. 181.43.194.175 ( talk) 02:42, 25 November 2022 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
For the Infobox country
template on articles for historical versions of geographic entities (dead countries, colonies, etc.), we include the preceding and succeeding entities, but we do not do this for modern countries/territories. I propose that this be implemented for modern countries/territories, as this would facilitate the link for readers between a country/territory's past iterations and its current state. Yes, I know we have "History of ___" articles for practically all countries/territories, but I think adding the entity/entities which directly precede(s) modern countries/territories into their infoboxes would significantly improve the ease with which people can navigate articles to learn about history. For example, for
Ghana: adding p1 = Dominion of Ghana
and flag_p1 = Flag of Ghana.svg
. Should this be implemented?
Rowing007 (
talk)
16:00, 6 January 2023 (UTC)
p1
parameter to a separate article on "Preceding entities of the United States"? One could argue this is redundant, given the existence of "History of ___" articles, but I would argue it's not, much in the same way there exists
French Republics and
History of France. I agree that preceding entities of modern countries can often be a complicated subject, so creating a separate article dedicated to such a subject might (in my opinion) assist in the task of mapping it out. As for the question about "Xth" previous versions of the same modern state, for "simpler" cases, my inclination would be to link to the previous state. For example, with my Ghana suggestion from above, it would make sense to link to
Dominion of Ghana, not
Third Republic of Ghana. In other words, the logic would be that if the historical entity's article links to the modern state as its successor, then that historical state should be included as a predecessor.
Rowing007 (
talk)
18:47, 6 January 2023 (UTC)speculative and insubstantiated, I am only speaking from own experience in numerous articles about historical entities. Besides, the inconsistencies in the linking between such articles speaks for itself. -- T*U ( talk) 17:21, 10 January 2023 (UTC)
Clarification for people looking through the archives: The unsigned and unusual closure at the top of this section was added by the RFC proposer. The clear consensus of this discussion is that preceding and succeeding entities should not be included in the infobox for modern countries/territories. – Jonesey95 ( talk) 05:53, 12 January 2023 (UTC)
necessarily be viewed as validis a failure to WP:AGF. Please refrain from doing that. You may also benefit from reading Wikipedia:Consensus, which you appear to misunderstand. It is OK to misunderstand guidelines and policies as long as you are willing to learn. We were all new editors once; the way to become a more experienced, knowledgeable editor is to continue to read and learn. – Jonesey95 ( talk) 15:46, 12 January 2023 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Rowing007 initiated the above RfC on 6 January 2023 and, on the 11th, closed it down after all the responses opposed their proposal, putting up as sole comment "No action - Comments received. Opinions gauged." Rowing007 closed the RfC despite being an involved editor. The decision that there should be "no action" taken is not up to Rowing007. The clearly overwhelming outcome is the rejection of their proposal. Rowing007 is kindly requested ti re-open the RfC and let it take its course per WP:RFC. - The Gnome ( talk) 19:46, 11 January 2023 (UTC)
No "consensus" was achieved, it is just too ridiculous. When the RfC proposal opens with
I propose that this be implementedand then is answered with eight 'Oppose' against zero 'Support', there is obviously a consensus, and a clear one at that, which obviously should have been mirrored in the closure. -- T*U ( talk) 14:45, 12 January 2023 (UTC)
I propose...and arguing at length against most of the 'Oppose' comments seems a very strange way to just 'gauge opinions'. But whatever... -- T*U ( talk) 15:28, 12 January 2023 (UTC)
The religion and ethnic group sections typically show breakdowns of a country's population by percentages—43.7%, 9.2%, etc. In one case just now I was thinking "43.7%, 9.2% of what", but I didn't know yet because the total population of the country comes later in the infobox. I even looked further up to find the information, and didn't find it there, before finding it below. I think it would be useful and sensible for aggregate data to be placed above drill-downs into the same data rather than below them. Can the order be changed? Largoplazo ( talk) 11:35, 14 January 2023 (UTC)
The following two commands actually work:
| image_map_size =
| image_map2_size =
Could someone with access privileges add these to the description of the Syntax? Thank you पाटलिपुत्र (Pataliputra) (talk) 11:47, 10 February 2023 (UTC)
See for example
Ancient Carthage. Per
MOS:DATE, the date range "c. 814 BC–146 BC" should instead read "c. 814 BC – 146 BC" , with a spaced dash, because each of the items either side of the dash has a space in it. If you try to work around this by adding
in the appropriate places, this causes the date given for |event_end=
to be misaligned.
Hairy Dude (
talk)
00:35, 1 March 2023 (UTC)
Current template provides only two-letter abbreviation, but three-letter abbreviation is very frequently used. Can we provide this information in the infobox? If I try to modify the infobox such as adding a line "|iso3166code = MA, MAR", this shows the information as 'MA, MAR' correctly but the link is not correct. (I did not modify the Morocco infobox actually. I only previewed it.)
Could the maintainers modify the code so that the three-letter abbreviation is added without breaking already existing two-letter abbreviation link? Regpath ( talk) 06:59, 23 January 2023 (UTC)
I agree with making the Three Letter Code automatically. ---- MountVic127 ( talk) 06:54, 18 March 2023 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | ← | Archive 12 | Archive 13 | Archive 14 | Archive 15 |
Hi, I just want more clarification about this parameter. Is it about the demographic data about the religion of the society of the state or about the religion of the state itself????
See the religion parameter value in Yemen article is Islam but in other articles such as Australia it gives the census data about the religion of the society and not the religion of the government.-- SharabSalam ( talk) 08:38, 29 June 2019 (UTC)
For former country, leader1 and title_leader does not work but leader_name1 and leader_title1 does work at formatting. Look at UNTAC. Manabimasu ( talk) 04:43, 20 July 2019 (UTC)
|leader1=
only shows if |year_leader1=
is used, because the former leaders are listed by year instead of individually (so it's "leader title" followed by pairs of year/leader). |leader_name1=
is a pairing with |leader_title1=
so they are used together.
Primefac (
talk)
11:48, 20 July 2019 (UTC)This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add a field for the mains electricity of the country, as it is a stable hard fact of a country. Ythlev ( talk) 13:16, 25 July 2019 (UTC)
|electricity=
is displayed in the infobox, it is also parsed as an error and articles using the para are in
Category:Pages using infobox country with unknown parameters.
MB
23:44, 15 August 2019 (UTC)
The country version of this template supports |image_flag=
and |image_flag2=
. There is an undocumented |flag_size=
but no corresponding |flag2_size=
. This came up in
Rhodesia where a second flag was recently added. I just removed usage of flag_size and now the two flags are identical in size. I'm not sure if there needs to be a way to specify the second flag size, or |flag_size=
can be deprecated.
MB
19:10, 3 September 2019 (UTC)
Is it just me, or are some entries crossing certain boundaries that are not supposed to be a part of the format. For example, there's an entry that crossed into the outside of the infobox in the article for the United Kingdom - Bokmanrocks01 ( talk) 04:59, 6 September 2019 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
There appears to be a typo in the following line:
| data9 = {{#ifexist:{{{capital_exile|}}}|[[{{{capital_exile|}}}]]|{{{captial_exile|}}}}}
Jay D. Easy ( t • c) 17:09, 6 September 2019 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
In general, all countries constitutionally divide government powers into two or three branches - with the judiciary exclusively as one independent power and legislative and executive powers either separated (USA, Australia, Italy) or combined (Germany)... the current info box includes government but sort of mixes the executive in this, and then separates the legislature. Would suggest including a new subsection "Judiciary" that follows the legislature subsection with three parameters: highest court (supreme court) of appeal, title of head of the court, and name of the head of the court. Something like this, perhaps:
|judiciary = <!--Name of highest court (supreme court), if given (e.g. "Supreme Court")-->
|judiciary_leader_title1= <!--Title of the head highest court (supreme court), (e.g. "Chief Justice")-->
|judiciary_leader_name1=
Goldsztajn (
talk)
12:58, 13 September 2019 (UTC)
</nowiki>
{{
edit template-protected}}
template.@ Cabayi: Genuine question: How does one achieve consensus when there is no difference of opinion? I take it what you are saying is you prefer others comment on the proposal? Given that this is about providing an option to add to the template, and some country infoboxes contain this information (eg USA, Australia, but could appear in a more clear manner given this proposal), this is commonsense. Can you please tell me why my request is not clear about adding an option so that the information of the judiciary can be included for each country? Are you asking me to provide the specific coding? -- Goldsztajn ( talk) 16:38, 15 September 2019 (UTC)
{{
edit template-protected}}
requests assistance from
template editors, not subject specialists, and specifically requests "This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.".
Your request, with phrases like "Would suggest including a new subsection..." and "Something like this, perhaps", is not fully formed. What you have is not so much a difference of opinion as a lack of opinion. Hopefully your notices on the project talk pages will attract the right kind of assistance.1. What is the reason for having the parameter life_span in addition to the parameters year_start and year_end? In the template code for the subheading, life_span is given priority.
2. The life_span parameter is not documented on the template documentation page.
3. I came looking because the life_span parameter has been used in Italian Eritrea to include years before the formal establishment of the colony. Is this OK? To me it looks strange to state that the colony was formally created in 1890 but then show 1882–1947 in the infobox. — Coroboy ( talk) 08:53, 22 September 2019 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change template call {{ ifempty}} to {{ if empty}} to avoid the redirect. The call to that template is transcluded in nearly 5,000 articles through being called in this template, so that unnecessary redirect has to be followed every time one of those articles is viewed. Colonies Chris ( talk) 15:57, 10 October 2019 (UTC) Colonies Chris ( talk) 15:57, 10 October 2019 (UTC)
{{
edit template-protected}}
template. For further discussion see
User talk:Colonies Chris. --
Trialpears (
talk)
16:31, 10 October 2019 (UTC)There is currently a discussion at Wikipedia talk:WikiProject Heraldry and vexillology#Types of flags used on country articles where there are some questions about the intended usage of the flag parameters. Feedback is welcome... -- IamNotU ( talk) 16:10, 28 October 2019 (UTC)
Every republic I'm aware of has a constitution of sorts, so why does "constitutional" need to be mentioned in the infobox of republics? It seems rather redundant. I can understand why it should be used for monarchies, as the constitution serves to limit the powers of the monarch and not all monarchies have one. It is also a useful adjective to distinguish absolute monarchies from those with far weaker monarchs. But what purpose does it serve for republics, given they all seem to have a constitution of sorts? Especially since the infobox is meant to be as compact as it can, while still conveying the basic, important and distinguishing facts. Fuse809 ( contribs · email · talk · uploads) 18:05, 3 November 2019 (UTC)
There's a line in the TemplateData that reads:
"format": "{{_\n| _ = _\n}}\n"
Apparently it's causing problems, where edits made using the Visual Editor insert about a thousand spaces, for example in this edit: [1]. It makes it very difficult to understand what was actually changed in the edit, and can even look like vandalism - in this particular case it contributed (among other factors) to the user being temporarily blocked for disruptive editing.
It also makes diffs between older and newer revisions similarly hard to read, and the layout it's left in, with the large blank space between the parameter name and the "= value" doesn't seem very helpful either. Can it be removed?
I don't understand it very well but I read a little about it here: https://phabricator.wikimedia.org/T179259. The line was added by Daviddwd earlier this year in this edit: [2]. Could anyone (maybe you David?) comment? Thanks... -- IamNotU ( talk) 00:16, 5 November 2019 (UTC)
The field iso3166code takes the full input and assumes it being the code. This causes issues when you need to add notes, add multiple codes or the like. Most notably on
Kosovo where the ISO code is temporary and XK can never be an official code. I would suggest having a secondary field that inserts the same value as for iso3166code
, but does not apply any formatting. For Kosovo, the text would be inputted as XK<sup>f</sup>
, where "XK" won't be a link, and the note marker f is added. For a region like
Puerto Rico, the code would be {{hlist|[[ISO 3166-2:PR|PR]]|[[ISO 3166-2:US|US-PR]]}}
, if it were using the infobox country.
I made an edit to
Template:Infobox_country/sandbox and added a variable for iso3166
, that you replace iso3166code
with. For this variable, you insert the whole code yourself, instead of just the letters alone. This will make it optionally more flexible. Testing it on
Kosovo by using /sandbox
, and replacing iso3166code
with iso3166
, and replacing the value with XK<sup>f</sup>
. It does work. – The final value should probably be: [[ISO 3166-1 alpha-2#User-assigned code elements|XK]]<sup>f</sup>
instead.
Liggliluff ( talk) 16:50, 16 November 2019 (UTC)
Hi,
{{
Infobox country/imagetable}}
is set to produce its captions at 90%, but since this is a subpart of an infobox where text size is already reduced (in the case of {{
Infobox country}}
, to 88%), this means the text for the "Flag" and "Coat of arms" captions renders <85%, violating
MOS:FONTSIZE. Could someone remove the divs from around the <div style="font-size:90%;">{{{caption1|}}}</div>
(and related) code? —
Joeyconnick (
talk)
23:04, 3 December 2019 (UTC)
There should be a way to set "official language" rather than "official languages" for countries with only 1 official language. Otherwise, it is confusing. See Belize for example. Kaldari ( talk) 20:57, 12 December 2019 (UTC)
The appearance of these codes is an anachronism. It arises from using the common name field. The country code is removed from the infobox by deleting the common name field. Is there any detrimental consequence of doing this for a former country? Should the documentation be updated to depricate the field for former countries that ceased to exist prior to 1974 (first edition of the codes)? Regards Cinderella157 ( talk) 06:32, 22 December 2019 (UTC)
|iso3166code=omit
to make the inappropriate country code go away. We may need a bot/script run to add that parameter and value to existing instances of {{
infobox former country}}, perhaps with a hidden comment that the parameter was added by a bot and should be removed if a country code is valid (for something like
Polish People's Republic, which existed until 1989). The bot/script might also be able to key off the value of |year_end=
to decide whether to add the parameter or not. –
Jonesey95 (
talk)
06:32, 4 February 2020 (UTC)
|year_end=
date, so that it only shows if year>1974, would suffice.
Primefac (
talk)
11:13, 4 February 2020 (UTC)|year_end=
parameter. I think we need a {{
Str number/trim}}, or maybe a {{
trim}} and a {{
Str left}}. –
Jonesey95 (
talk)
15:20, 5 February 2020 (UTC)
|year_end=
into
my sandbox. –
Jonesey95 (
talk)
17:14, 5 February 2020 (UTC)
|common_name=
is not present, do not show the ISO code.|common_name=
is present and |year_end=
is post-1973 or not present, show the ISO code.|common_name=
is present and |year_end=
is pre-1974, do not show the ISO code.Should we add a Continent field? I'd say it would prove especially useful in border situations like the countries in the Caribbean, western Europe or the middle east. -- uKER ( talk) 00:18, 12 March 2020 (UTC)
The documentation includes:
|population_density_km2 = 39.7 |population_density_sq_mi = 102,8 <!--Do not remove per [[WP:MOSNUM]]-->
Some articles I have seen include both a km2 and a sq_mi value, for example, India has:
| population_density_km2 = {{Pop density|{{Indian population clock}}|3287263|km2|disp=num|prec=1}} | population_density_sq_mi = {{Pop density|{{Indian population clock}}|1269219|sqmi|disp=num|prec=1}}
Presumably the advice to have both was useful at some time in the past. However, a missing value is now entered automatically. For example, previewing the following in a sandbox gives three identical infoboxes.
{{Infobox country | common_name = India | population_estimate = {{increase}}{{UN Population|India}}{{UN Population|ref}} | population_census = 1,210,854,977 | population_density_km2 = {{Pop density|{{Indian population clock}}|3287263|km2|disp=num|prec=1}} | population_density_sq_mi = {{Pop density|{{Indian population clock}}|1269219|sqmi|disp=num|prec=1}} }} {{Infobox country | common_name = India | population_estimate = {{increase}}{{UN Population|India}}{{UN Population|ref}} | population_census = 1,210,854,977 | population_density_km2 = {{Pop density|{{Indian population clock}}|3287263|km2|disp=num|prec=1}} }} {{Infobox country | common_name = India | population_estimate = {{increase}}{{UN Population|India}}{{UN Population|ref}} | population_census = 1,210,854,977 | population_density_sq_mi = {{Pop density|{{Indian population clock}}|1269219|sqmi|disp=num|prec=1}} }}
Is there a reason to have both population_density_km2 and population_density_sq_mi? Johnuniq ( talk) 06:55, 12 March 2020 (UTC)
I noticed that some countries have a corresponding map in the commons category commons:Category:Maps by United Nations Office for the Coordination of Humanitarian Affairs in the infobox ( China for example). I was wondering if we should remove all the maps from the infoboxes or add them to the infoboxes of all countries? Interstellarity ( talk) 16:13, 6 April 2020 (UTC)
Hi, could somebody please help with getting the iso3166code parameter to work correctly in Slovenia? The 2 references are important because Slovenia is one of the few countries with conflicting iso3166 / vehicle / IOC codes. Thanks! Dr. Vogel ( talk) 18:00, 25 April 2020 (UTC)
Hello everyone, Here we have Template:Infobox person/Wikidata (i.e Mary Wesley) that fetches Wikidata information and it's useful to saving time on Wikipedia. Now, I want to ask you to create a template like above for Template:Infobox country (It should be Template:Infobox country/Wikidata). Can someone create it? Thanks! ⇒ Aram Talk 20:42, 21 May 2020 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Several articles are using map images that include areas that are claimed by a country but are not under that country's sovereignty. This can be misleading and agenda pushing by those promoting irredentist claims. It also contravenes the purpose of the infobox in summarising the article's key points. Such maps might be suitable for articles specifically about territorial claims, but not about a country in general. Examples of this are in countries with territorial claims on the Antarctic continent. All claims there are not recognised by the vast majority of other states and very little, if any, exercise of sovereignty takes place there. The claims therefore remain as claims. Examples where claimed areas might be relevant are, for example, India with Kashmir, where Kashmir is split between two countries, both of whom claim and exercise sovereignty over each half. This is quite different from, say, Argentina's claim to South Georgia. Should we clarify the infobox guidelines to exclude all land not recognised as being under direct sovereign control of the country in question. Exceptions will be limited and dealt with on a case by case basis. Maps of claimed ares would of course be suitable in relevant sub-sections dealing with that claim of dispute, but not in the infobox. We should also not confuse a recognition of a dispute with non-recognition or sovereignty. This is an angle sometimes taken by those promoting a claim. Roger 8 Roger ( talk) 21:02, 25 April 2020 (UTC)
Thank you for the feedback. A problem arises when the boundaries of a country are disputed, which is why I though a more precise definition might be useful. I do see though that this might be better discussed on each relevant article's talk page. Roger 8 Roger ( talk) 21:02, 2 May 2020 (UTC)
A claim and a dispute are not synonymous. Linking the two is part of the problem. A claim can be undisputed but still have no validity in law. There are different types of claim with differing effects. Lumping them all together just as "claims", which is what seems to be happening with infobox maps, can therefore be misleading. Kashmir (not each half of Kashmir) is disputed but India and Pakistan (excluding China to keep this simple) each exercise effective control over a half each, putting it into a different category from the Falklands, or Belize, or Ceuta, where effective control is not shared. Just because a country says an area is part of its country does not make it so. Look here [3] for example - a completely misleading map. To claim that Chile extends to the south pole is theoretical at best. Just because it is in the Chilean constitution does not make it any less theoretical. The world is full of irredentist and expansionist claims: if we catered for all of the infobox maps would quickly become unworkable. This is why IMO we should stick to effective control and recognition by the majority of countries. All the variations and claims can be dealt with further down in an article. Roger 8 Roger ( talk) 10:23, 5 May 2020 (UTC)
Test cases in international law exist, pre and post the founding of the ICJ. See Island of Palmas Case, which found against the US claim by stressing the importance of the Netherlands' "peaceful and continuous" display of authority over the island (what I called 'effective possession'), which contrasted with the US position based more on inheriting the earlier Spanish claim of first discovery and geographical proximity to the Philippines. Primefac, I don't follow what you are trying to say. The infobox guidelines state a map should be that country/location. What if what that is is disputed, as with Chile's idea of what and where it is is not the same as what everyone else thinks Chile is and where it is. Whatever, 'LocationCountry' does not allow for claimed 'LocationCountry' areas, so we should not use claimed areas. In fact 'country/location is quite specific, so I am not sure why we are even having this discussion. All we need it guidelines clarification that 'country/location' means ..."xyz" Also, the infobox is meant to be a summary of the very basic facts, not abstract concepts like the south pole being part of Chile. That can easily be dealt with lower down. Roger 8 Roger ( talk) 09:26, 7 May 2020 (UTC)
Is there a good reason why this parameter isn't documented? -- ColinFine ( talk) 11:06, 2 June 2020 (UTC)
|linking_name = <!-- For wikilinks, if diff from name -->
, which seems pretty self-explanatory to me.
Primefac (
talk)
13:20, 2 June 2020 (UTC)Would it make more sense to add the inequality-adjusted HDI above the HDI given that the non-adjusted HDI shows where countries could be if there was no inequality? KREOH ( talk) 01:32, 29 May 2020 (UTC)
Hello! I propose that we add the option in the template to add info about the ease of doing buisness index ranking about the respective country. Arcatom ( talk) 19:56, 6 June 2020 (UTC)
It seems strange not to be able to add a representative image of the country in this template, and having just a map is often quite bland. Could someone add this option in the script? For example Template:Infobox_settlement has "image_skyline". We could all the same have "image_skyline" or "image_sample" in this infobox. पाटलिपुत्र Pat (talk) 04:44, 16 June 2020 (UTC)
Was wondering if someone would be able to change how the national_anthem parameter is rendered as currently it renders as "anthem" which causes a bit of a logic issue especially where countries have multiple anthems. For example, royal_anthem renders as "Royal Anthem", but national_anthem just as "anthem" so both together lead to a bit of an inconsistency. I think it would be more consistent to have them render as "National Anthem" and "Royal Anthem" respectively. trackratte ( talk) 10:55, 3 July 2020 (UTC)
Autonomous Province of Western Bosnia has two flags. The first is specified with |image_flag=
and the second with |image_flag2=
. The documentation says each can have a caption, specified with |flag_type=
and |flag2_type=
. But flag2_type causes an "unrecognized parameter" error. The caption given with flag_type (or undocumented flag_caption) is centered under both images.
I tried moving the second flag to the |image_coat=
& |symbol_type=
as a work-around and that does display both images and captions, but the two flags are different size. Can flag2_type be made to work as documented?
MB
03:03, 26 June 2020 (UTC)
|flag2_type=
to the documentation
in August 2018 while performing a tricky merge of {{
Infobox former country}} into this template. I see no evidence (when searching with WikiBlame) that |flag2_type=
was ever supported by {{
Infobox country}} (disclaimer: I only searched back to 2005). The subtemplate that displays two flags appears to accept only one caption underneath either one or two flags, but I could definitely be wrong; the syntax is a bit tricky.|flag2_type=
could be made to work. –
Jonesey95 (
talk)
05:35, 3 July 2020 (UTC)
Any chance of including a pushpin map to the template, for those articles where we have no map image, but we do have coordinates? Liverpoolpics ( talk) 09:49, 22 June 2020 (UTC)
Currently, if only one sovereignty event is provided (via established_event1
along with a sovereignty_type
), there is a division line between the first event and the sovereignty type line (
see example). This seems to be happening because the class check (in rowclass46
) checks for the existence of established_event2
instead of established_event1
.
Getsnoopy (
talk)
04:14, 27 July 2020 (UTC)
ISO 3166 was introduced in 1974, but it's showing on countries that never had an ISO 3166 code such as Fourth French Republic and Dominion of Pakistan. Is there a way of removing it? DrKay ( talk) 10:47, 14 September 2020 (UTC)
|iso3166code=omit
to the infobox will omit the code. I've done that for you at
Special:Diff/978357399, as an example.
ProcrastinatingReader (
talk)
12:25, 14 September 2020 (UTC)
The template seems to support |image_map3=
but there is no corresponding |image_map3_caption=
.
Colonial Brazil using workaround.
MB
17:17, 6 October 2020 (UTC)
I am trying to understand how to include the World Happiness indexes parameter in this Infobox. The result should be something like this (Romania):
World Happiness Indexes [1] 48 - 6.070 (rank - score)
Thanks for any help. ( Carlotm ( talk) 01:41, 17 October 2020 (UTC))
References
This template is somehow setting an ISO 3166 country code on the page Kingdom of Cyprus. That cannot be correct – the ISO 3166 code CY refers to the modern Republic of Cyprus, not the mediaeval kingdom, which claimed different territory. (Indeed, at certain times the mediaeval Kingdom of Cyprus possessed territory on the Anatolian mainland, modern-day Turkey; the modern Republic of Cyprus has never claimed or possessed any such territory.) I think the CY code would be removed but I can't work out how to do it, I don't understand how the logic of the template is applying it. Mr248 ( talk) 04:25, 20 October 2020 (UTC)
| label127= [[ISO 3166|ISO 3166 code]] | data127= {{#switch:{{{iso3166code|}}} |omit = <!--(do nothing)--> | = <!--if iso3166code is not supplied: -->{{#if:{{{common_name|}}} | {{#if:{{ISO 3166 code|{{{common_name}}}|nocat=true}} | [[ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}]] }} }} |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]] }}
|omit=anything_you_want
(usually "y" or similar). --
Izno (
talk)
04:57, 20 October 2020 (UTC)
|omit=y
, when this template is invoked on the page, or are you talking about modifying this template?
Mr248 (
talk)
20:19, 20 October 2020 (UTC)
|omit=y
in the article in question. --
Izno (
talk)
18:35, 21 October 2020 (UTC)
|omit=y
to {{
Infobox country}}. It didn't do anything, the ISO-3166 country code was still displayed in the infobox, it also displayed the warning: Warning: Page using Template:Infobox country with unknown parameter "omit" (this message is shown only in preview).
Mr248 (
talk)
20:30, 21 October 2020 (UTC)
|iso3166code=omit
. --
Izno (
talk)
20:38, 21 October 2020 (UTC)
The tag government_type automatically links to the article "Politics of [name of country]". On Korea under Japanese rule, however, this creates a link to Politics of Korea, which is a disambiguation page. Is there a way to disable this automatic linking in individual cases? Lennart97 ( talk) 12:37, 5 November 2020 (UTC)
As I was looking at the infobox for the United States, I saw a section above its history and below its government that said "Independence from Great Britain". I was confused, was this in error? Does it belong to the history section? As I opened the source, I saw that both Independence and Great Britain are part of the infobox's "Sovereignty" section. I propose that we label it, to make it less confusing, and more specific. RobotGoggles ( talk) 02:34, 24 December 2020 (UTC)
Hi. Can Religion automatically link to Religion in ...? For example, on Taiwan, the label could link to Religion in Taiwan. intforce ( talk) 15:34, 16 December 2020 (UTC)
The parameter |religion = displayed as Religion as it is, is somewhat reflected as the matter of nationstate's characteristics which isn't true for secular states. It is better to change the parameter's display Religion → Religious groups and introduce another parameter State religion to mention it in case of countries which have it constitutionally. Existing parameters sounds quite problematic to me and would strongly recommend amendments, may be a better suggestion can be offered by someone else? Aman Kumar Goel ( Talk) 05:00, 5 January 2021 (UTC)
Resurfacing this issue: currently, if only one sovereignty event is provided (via established_event1
along with a sovereignty_type
), there is a division line between the first event and the sovereignty type line (
see example). This seems to be happening because the class check (in rowclass46
) checks for the existence of established_event2
instead of established_event1
.
Getsnoopy (
talk)
20:08, 7 January 2021 (UTC)
Someone pointed out at Wikipedia:Teahouse § Nepali Flag not being shown when hovering over a Nepal link that the emblem is used in preference to the flag in navigation popups. Is it possible to change the template syntax so the flag is chosen instead? AnonQuixote ( talk) 04:38, 11 January 2021 (UTC)
Noticed today that a government website was added to a country article. I am sure most are aware that we normally don't link government sites saving those links for "Government of" articles. I actually thought it was removed as a parameter long ago. I suggest we remove it as it not used by convention. Surprised it hasn't been a larger problem.-- Moxy 🍁 06:24, 26 January 2021 (UTC)
I noticed there is |life_span=
which is not documented and seems to be redundant with other parameters. Is this something else left from pre-merger that should be removed?
MB
15:19, 7 February 2021 (UTC)
|year_start=
and |year_end=
for the life span in the header. Can you find how may articles are using it?
MB
17:22, 7 February 2021 (UTC)
|life_span=
. –
Jonesey95 (
talk)
04:01, 8 February 2021 (UTC)I wish to change the fieldnames or labels in this infobox. For example, I would like to change "Anthem" to "Hymne". So in the article's infobox it would be :
Hymne O Canada
and not
Anthem Ô Canada
Is this possible? Would the TemplateData editor be useful? I am new at this. I've played around with it in my own mediawiki without success. — Preceding unsigned comment added by Snoreau88 ( talk • contribs)
Extended content
|
---|
|
The infobox on French Algeria has this text
| image_flag = Flag of France (1794–1815, 1830–1958).svg
I can see File:Flag of France (1794–1815, 1830–1958).svg if I click on it but the infobox shows a missing file icon.
Apparently there is a problem with using subboxes to collapse official names as is done in this Zimbabwe revision, as it blows up flags images in the mobile version and makes the CoA miniscule. Not sure if it's an issue worth fixing, as the collapsible list template in Switzerland works in the current template. CMD ( talk) 01:29, 14 April 2021 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Should the |today=
parameter, which is described as "Present-day countries that overlap with the territorial extent of the former country. Do not use this parameter if there are more than four such countries.", be removed and deprecated? 21:22, 22 March 2021 (UTC)
Comment/request, @ RandomCanadian: This is too abstract to just RfC in a vacuum. Can you provide several examples where you find use of this parameter unhelpful or misleading, and explain why? I'm not a big fan of removing template params that are sometimes useful. But I'm also not a fan of retaining typically unhelpful i-box params, especially if people try desperately to fill them out just because they are there, with confusing or redundant results. So, I'm neutral on this for now. — SMcCandlish ☏ ¢ 😼 23:07, 22 March 2021 (UTC)
|today=
parameter is used in
approximately 1,800 articles out of a total of 5,400 transclusions. The onus is on the RFC proposer to show why a parameter used in one-third of this template's transclusions should be deprecated. –
Jonesey95 (
talk)
00:51, 23 March 2021 (UTC)
|today=
was
added to this template when {{
Infobox former country}} was merged into this one. Maybe all that is needed is better documentation. –
Jonesey95 (
talk)
15:05, 23 March 2021 (UTC)
Please consider adding 'dynasty' or similar parameter, mirroring the 'parent_family' value used in Template:Infobox family to give proper visibility of houses ruling a given territory, if any. In some articles using the template infobox country, contributors insert the dynasty in the Government_type, wrongly mixing the concepts and leading to confusion. This is the case for [4] version until recent. Current version duly separates both concepts and data, but the dynasties are indicated under 'membership' value in the absence of a better template parameter. Inclusion of the requested parameter or similar is therefore needed and totally justified. Many thanks-- PLUS ULTRA CARLOS ( talk) 11:01, 18 May 2021 (UTC)
I propose that the "Area" and "Population" fields be moved higher up in the infobox, possibly right beneath the map. As the most defining characteristics of a country, they deserve positions more prominent than somewhere amidst all the other fields. It is particularly odd that "Ethnic groups" and "Religion" should precede "Population" – and by a good half a dozen fields. -- Theurgist ( talk) 16:48, 2 April 2021 (UTC)
I'm okay with "Area" and "Population" where they are for now, but I definitely agree about "Ethnic groups" and "Religion". I think they should directly follow "Population" since they are germane as percentages of the population. "Official languages" is quite useful where it is for me. Cheers, Facts707 ( talk) 04:00, 19 May 2021 (UTC)
Would be useful to show the age of a country, e.g. US 245, Canada 153, etc. Would require settting a parameter for the infobox to calculate the age (with "birth date and age|1776|07|04" template or something similar). Cheers, Facts707 ( talk) 04:24, 19 May 2021 (UTC)
Documentation says: "For geopolitical entities: do not use government website (e.g. usa.gov) for countries (e.g. United States)."
Wikt:geopolitical entity: "A geographical area which is associated with some sort of political structure."
And the colon is confusing, is it for geopolitical entities generally except countries or is it saying it is only for geopolitical entities, countries need not apply?
Finally, if the website of the (preferably democratically-elected) government of a country is not the "official website" then what is? Why does the reader have to go hunt for the government page first? Cheers Facts707 ( talk) 12:38, 4 June 2021 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I introduced two distinctive parameters |ducal_anthem=
and |imperial_anthem=
for articles that not suitable to use |royal_anthem=
. The new source code is available at the sandbox page, you can add directly into main template if you have no disagreement for this. --
Great Brightstar (
talk)
14:25, 12 June 2021 (UTC)
|anthem2=
" and then "|anthem_type=
", like how "Signature" and "Signature_name=Seal" shows "Seal" when applied. --
Donald Trung (
talk)
17:36, 12 June 2021 (UTC){{
edit template-protected}}
template.
BilCat (
talk)
05:02, 13 June 2021 (UTC)When separated, "Capital" and "Largest city" is both bolded, so I think it's reasonable if it changed so that "Capital and largest city" is all bolded and without line break. Hddty ( talk) 06:41, 11 July 2021 (UTC)
This
edit request to
Template:Infobox country/imagetable has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
After my investigation, it's not necessary to set the left side as 58% wide in {{
Infobox country/imagetable}}. When I replace the width:58%
property in its sandbox page, I saw the browser could automatically set width for flag and coat of arms fields at the test cases and give more flexible layout in there. If there's no problem affect the visual appearance, you can apply the new code into main template. --
Great Brightstar (
talk)
03:14, 26 June 2021 (UTC)
I want to add Preceded by and Succeeded by to current countries as is the case for former countries. For example with Russia
Preceded by Russian SSR and Soviet Union and Chechen Republic of Ichkeria
Ukraine
Preceded by Soviet Union and Ukranian SSR Succeeded by Republic of Crimea and Sevastopol and Russia
This will help people look into history of contemporary countries and territorial change — Preceding unsigned comment added by SiliconProphet ( talk • contribs) 09:24, 16 July 2021 (UTC)
The newest infobox version is uncomfortable because it seems like handwritten schedule and proximate each other. Please can you restore the previous one. Regards! The Supermind ( talk) 21:11, 8 September 2021 (UTC)
The template says to use the format "1 January", with no year (because it's supplied by year_end), for the date_end parameter. However, this is not appropriate if the article uses mdy dates; the article should show, for example, "May 9, 1865".
Confederate States of America does this by specifying date_end as "May 9,", including a trailing comma. Is this the intended usage? The template doesn't appear to respect {{
Use mdy dates}}
like CS1 templates do, and there is no functional date-format parameter.
Hairy Dude (
talk)
03:32, 29 September 2021 (UTC)
{{{date_start|}}} {{{year_start|}}}
, with a space in between them and no processing at all. Why there are two separate parameters is beyond me, given that nothing useful is done with them. –
Jonesey95 (
talk)
03:55, 29 September 2021 (UTC)
|year_end=
parameter was used for auto-categorization of articles, which is now very much frowned upon. Somehow, in the merge from {{
Infobox former country}} to this template, those parameters were not merged. We may be able to hack it by adding a parameter to control date format, and then sending date and year through {{
Date}} or something similar, with tests to make sure that we don't try to format something like "8th century" into a DMY format. –
Jonesey95 (
talk)
04:05, 29 September 2021 (UTC)You are invited to join the discussion at Talk:United States § Acknowledging indigenous Americans in the infobox. {{u| Sdkb}} talk 02:32, 12 October 2021 (UTC)
I'm looking at
this version of
Luhansk People's Republic. (I'm supplying the version because the detail I'm about to discuss is coming and going at the moment.) In the infobox, I see that the recognized_regional_languages
parameter, labeled "Recognized regional languages" in the infobox, is grouped into a cell with the "Capital", while the language that's actually the "Official language" follows that, in its own cell. Wouldn't it be more appropriate for official languages to come before other languages, and for all languages to be in the same cell as each other?
Largoplazo (
talk)
02:15, 15 October 2021 (UTC)
Looking at this template, I notice a bunch of things that may be worth changing:
( USD)to
( Code: USD).
|drives_on=
forces lowercase, which goes against modern usage on Wikipedia to provide infobox data in sentence case.Thoughts? {{u| Sdkb}} talk 03:48, 18 October 2021 (UTC)
As previously mentioned at
Template talk:Infobox country/Archive 14#Second flag, documented |flag2_type=
doesn't actually exist, so there is no way to caption a second flag. This came up again at
Saint Christopher-Nevis-Anguilla where I used a work-around by combining the captions. But separate captions would be better.
Primefac, you commented before that this was unfinished merger business.
MB
14:06, 18 November 2021 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
File:State Ceremonial Music - God Save the Queen.ogg has been deleted from Commons. Can someone take it out of that ref? Sumanuil 05:37, 1 January 2022 (UTC)
|leader=
supports 21 different ones, but |representative=
allows only 5.
Insular Government of the Philippine Islands is using 7 leaders and 6 representatives. Can we add a few more representatives?
Jonesey95?
MB
15:48, 12 January 2022 (UTC)
we should add a section called "Demonym" where it shows the demonym of the country like "Finnish", "Egyptian", "Chinese", "Argentine"
Poopykibble ( talk) 02:07, 26 January 2022 (UTC)
Should this be used as a governmental system? Beshogur ( talk) 14:49, 4 January 2022 (UTC)
@ Chipmunkdavis: had a discussion with an user. And I see that "dominant party" is added/removed every time on country infoboxes. I don't think this is a governmental system. Beshogur ( talk) 18:36, 5 January 2022 (UTC)
Done....
Can we drop this spam paramater? Simply not mentioned in any articles prose. Was added in 2019 with no real talk.....unnoticed till spam all over today. Moxy- 22:55, 8 March 2022 (UTC)
Are the preceding entities the entities that came before the current entity or all the entities that were conquered by an entity (say a kingdom).
For example, we have a country A that started in, say, year a and a country B which started in b, where b is after a. But country A invaded country B. Would B a preceding entity for A? Even though B was not even there when A came into being?
Chaipau ( talk) 00:40, 29 March 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Seventh Dynasty of Egypt uses |year_start=
but not |year_end=
. As long as |year_end=
is present but empty, it is omitted. If it's absent, it is not omitted, so you get the spurious string {{{year_end}}}
instead. The cause is a missing pipe character: {{#if:{{{year_end}}}|...}}
should be {{#if:{{{year_end|}}}|...}}
.
Hairy Dude (
talk)
18:15, 21 May 2022 (UTC)
Please remove United Kingdom and change to 27 states on the European Union Infobox template because the United Kingdom is no longer part of the European Union. FireDragonValo ( talk) 17:39, 10 June 2022 (UTC)
Currently, only two-letter code of ISO 3166-1 are provided in this infobox. I suggest adding three-letter code, ISO 3166-1 alpha-3, to this template. It will provide helpful information to readers.— Preceding unsigned comment added by Regpath ( talk • contribs) 01:27, 13 June 2022 (UTC)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can we add an option to override the default link on "Government" that goes to "Politics of [country name]"? I understand many countries don't have one, but there are some countries with a government-specific article, and it is sometimes (though not always) a more appropriate target. ― Tartan357 Talk 07:44, 15 June 2022 (UTC)
This template misses one important section: rulling royal house.
We need to put rulling royal house (or dynasty) to this template because it's part of the country's main identity, like Saudi Arabia (the country's name is based on the house). - GogoLion ( talk) 04:43, 24 June 2022 (UTC)
Chipmunkdavis "redundant" i have so many questions about your statement.
1. Why you called it redundant? The template will not show it if the section has empty value.
2. Very few countries? Guess how many monarchies in this world?
3. "Will already be mentioned" isn't the whole template is about summary of the article? GogoLion ( talk) 16:57, 24 June 2022 (UTC)
Chipmunkdavis so you think rulling house is not a key point? GogoLion ( talk) 04:56, 25 June 2022 (UTC)
"The monarch" what monarch? The government section only put " monarch" article, not the specific house. GogoLion ( talk) 05:02, 25 June 2022 (UTC)
The variables "stat_pop" and "stat_area" in this template are both governed by "stat_year". The template page explains that this has the value of allowing pop density calculations to be done automatically. However, I have encountered three issues:
Furius ( talk) 18:24, 22 August 2022 (UTC)
| rowclass99 = mergedbottomrow | label99= <div class="ib-country-fake-li">• Density{{{FR_foot5|}}}</div> | data99= {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}} | {{convinfobox|{{{population_density_km2|}}}|/km2|{{{population_density_sq_mi|}}}|/sqmi|1|abbr=on}}{{{pop_den_footnote|}}}<!-- -->{{#if:{{{population_density_rank|}}} | ([[List of countries and dependencies by population density|{{{population_density_rank}}}]])}} }}
That's brilliant! Thanks for taking the time to look into this. Furius ( talk) 13:09, 23 August 2022 (UTC)
Upon seeing an infographic of the different countries ranked according to this (hitherto relatively unknown) index, it occurred to me that it could be added underneath the Gini and HDI sections, considering that (i) it is a really important metric in the context of the current global climate emergency and (ii) it could help raise awareness on what countries aren't doing their part in trying to curb it. According to Wikipedia, the CCPI is updated every year, it's presented at the annual UN climate conference and it index evaluates and compares the climate protection performance of countries which are together responsible for more than 90% of global greenhouse gas emissions. 181.43.194.175 ( talk) 02:42, 25 November 2022 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
For the Infobox country
template on articles for historical versions of geographic entities (dead countries, colonies, etc.), we include the preceding and succeeding entities, but we do not do this for modern countries/territories. I propose that this be implemented for modern countries/territories, as this would facilitate the link for readers between a country/territory's past iterations and its current state. Yes, I know we have "History of ___" articles for practically all countries/territories, but I think adding the entity/entities which directly precede(s) modern countries/territories into their infoboxes would significantly improve the ease with which people can navigate articles to learn about history. For example, for
Ghana: adding p1 = Dominion of Ghana
and flag_p1 = Flag of Ghana.svg
. Should this be implemented?
Rowing007 (
talk)
16:00, 6 January 2023 (UTC)
p1
parameter to a separate article on "Preceding entities of the United States"? One could argue this is redundant, given the existence of "History of ___" articles, but I would argue it's not, much in the same way there exists
French Republics and
History of France. I agree that preceding entities of modern countries can often be a complicated subject, so creating a separate article dedicated to such a subject might (in my opinion) assist in the task of mapping it out. As for the question about "Xth" previous versions of the same modern state, for "simpler" cases, my inclination would be to link to the previous state. For example, with my Ghana suggestion from above, it would make sense to link to
Dominion of Ghana, not
Third Republic of Ghana. In other words, the logic would be that if the historical entity's article links to the modern state as its successor, then that historical state should be included as a predecessor.
Rowing007 (
talk)
18:47, 6 January 2023 (UTC)speculative and insubstantiated, I am only speaking from own experience in numerous articles about historical entities. Besides, the inconsistencies in the linking between such articles speaks for itself. -- T*U ( talk) 17:21, 10 January 2023 (UTC)
Clarification for people looking through the archives: The unsigned and unusual closure at the top of this section was added by the RFC proposer. The clear consensus of this discussion is that preceding and succeeding entities should not be included in the infobox for modern countries/territories. – Jonesey95 ( talk) 05:53, 12 January 2023 (UTC)
necessarily be viewed as validis a failure to WP:AGF. Please refrain from doing that. You may also benefit from reading Wikipedia:Consensus, which you appear to misunderstand. It is OK to misunderstand guidelines and policies as long as you are willing to learn. We were all new editors once; the way to become a more experienced, knowledgeable editor is to continue to read and learn. – Jonesey95 ( talk) 15:46, 12 January 2023 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Rowing007 initiated the above RfC on 6 January 2023 and, on the 11th, closed it down after all the responses opposed their proposal, putting up as sole comment "No action - Comments received. Opinions gauged." Rowing007 closed the RfC despite being an involved editor. The decision that there should be "no action" taken is not up to Rowing007. The clearly overwhelming outcome is the rejection of their proposal. Rowing007 is kindly requested ti re-open the RfC and let it take its course per WP:RFC. - The Gnome ( talk) 19:46, 11 January 2023 (UTC)
No "consensus" was achieved, it is just too ridiculous. When the RfC proposal opens with
I propose that this be implementedand then is answered with eight 'Oppose' against zero 'Support', there is obviously a consensus, and a clear one at that, which obviously should have been mirrored in the closure. -- T*U ( talk) 14:45, 12 January 2023 (UTC)
I propose...and arguing at length against most of the 'Oppose' comments seems a very strange way to just 'gauge opinions'. But whatever... -- T*U ( talk) 15:28, 12 January 2023 (UTC)
The religion and ethnic group sections typically show breakdowns of a country's population by percentages—43.7%, 9.2%, etc. In one case just now I was thinking "43.7%, 9.2% of what", but I didn't know yet because the total population of the country comes later in the infobox. I even looked further up to find the information, and didn't find it there, before finding it below. I think it would be useful and sensible for aggregate data to be placed above drill-downs into the same data rather than below them. Can the order be changed? Largoplazo ( talk) 11:35, 14 January 2023 (UTC)
The following two commands actually work:
| image_map_size =
| image_map2_size =
Could someone with access privileges add these to the description of the Syntax? Thank you पाटलिपुत्र (Pataliputra) (talk) 11:47, 10 February 2023 (UTC)
See for example
Ancient Carthage. Per
MOS:DATE, the date range "c. 814 BC–146 BC" should instead read "c. 814 BC – 146 BC" , with a spaced dash, because each of the items either side of the dash has a space in it. If you try to work around this by adding
in the appropriate places, this causes the date given for |event_end=
to be misaligned.
Hairy Dude (
talk)
00:35, 1 March 2023 (UTC)
Current template provides only two-letter abbreviation, but three-letter abbreviation is very frequently used. Can we provide this information in the infobox? If I try to modify the infobox such as adding a line "|iso3166code = MA, MAR", this shows the information as 'MA, MAR' correctly but the link is not correct. (I did not modify the Morocco infobox actually. I only previewed it.)
Could the maintainers modify the code so that the three-letter abbreviation is added without breaking already existing two-letter abbreviation link? Regpath ( talk) 06:59, 23 January 2023 (UTC)
I agree with making the Three Letter Code automatically. ---- MountVic127 ( talk) 06:54, 18 March 2023 (UTC)