Jump to content

Template talk:Infobox country/Archive 15

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 10 Archive 13 Archive 14 Archive 15

Provide CO2 Emissions

Dear maintainers, I am writing to request that the country infobox be enhanced with CO2 data from e.g. our world in data) since that would help contribute to a better understanding of the impact of different countries on our environment.

Stoffl32 (talk) 19:11, 27 March 2023 (UTC)

Oppose....as this is not something that's covered in the average country article. Moxy- 19:37, 27 March 2023 (UTC)
Shouldn't the average country article then cover CO2 emissions as well, similar to GDP or Gini? Stoffl32 (talk) 19:44, 27 March 2023 (UTC)
This could be done by adding a sentence or 2 in the proper section in the body of the article [1] Moxy- 21:33, 27 March 2023 (UTC)
The average country article could and certainly should mention this. I don't really see why the infobox shouldn't give it too, as a simple numerical fact.
Note, also, that we have a page List of countries by carbon dioxide emissions, which is now desperately in need of updating. Furius (talk) 22:39, 27 March 2023 (UTC)
Few if any external reliable sources include this as a basic fact about any country. CMD (talk) 23:09, 27 March 2023 (UTC)
Few, if any, give the HDI, either: CIA, Britannica (despite giving many facts that we do not, like life expectancy at birth).
I don't actually think WP:RS covers what we should include in an infobox; it only requires that there be RS for the data in the infobox (which Stoffl32 has provided). Furius (talk) 07:42, 28 March 2023 (UTC)
If not RS, what would you use to assess WP:DUE inclusion? CMD (talk) 07:58, 28 March 2023 (UTC)
another resource, which definitely can be seen as reliable: https://edgar.jrc.ec.europa.eu/report_2022?vis=tot#emissions_table 212.186.229.30 (talk) 13:56, 28 March 2023 (UTC)
Currently updating the article based on the latest EDGAR report. Stoffl32 (talk) 21:51, 28 March 2023 (UTC)
regarding what Furious said about the List of countries by carbon dioxide emissions page. Stoffl32 (talk) 21:52, 28 March 2023 (UTC)

Adding a singular language parameter

Nearly every country has a range of classifications used for their languages: "official language", "national language", "regional language", etc... When a country only has one language though, the default parameter "Official languages" must be used according to the "languages_type" docs. This poses several issues: one being that it is grammatically incorrect to have "Official languages" refer to one language. It should be "Official language" instead. Another issue is that it creates unnecessary edit wars for one side trying to correct the grammar and the other side trying to stick to the infobox parameter docs.

I propose that a new parameter of "language_type" be created to ensure the grammar is correct for the label when referring to only one language. It should allow the label "Official language" to be used instead of "Official languages" when there is only one language stated. Wkpdsrnm2023 (talk) 06:23, 6 April 2023 (UTC)

This absolutely does not need to be an RFC, so I have removed the header from the discussion. There are a ton of folks who watch this page that can comment on your suggestion. Primefac (talk) 18:19, 6 April 2023 (UTC)
I'm going to put it back and request that you stop editing other people's comments without their permission WP:TPO. The reason stated is also strange considering there are plenty of RFC's on this talk page, with one currently at the top. Wkpdsrnm2023 (talk) 22:37, 6 April 2023 (UTC)
However, this was my first RfC request so maybe I'm not understanding why it doesn't need to be an RfC. Is it only because there are many people who can comment? I want to hear uninvolved people's opinions on this since it seems to be an issue that has been around for a long time with no update. There is another discussion about this here, I believe you were involved with this as well:
https://wiki.riteme.site/wiki/Template_talk:Infobox_country/Archive_13#official_language_%28singular%29 Wkpdsrnm2023 (talk) 23:15, 6 April 2023 (UTC)
This seems totally unobjectionable to me. Furius (talk) 20:50, 6 April 2023 (UTC)
The suggestion is well intended but pointless. There are two main problems with any mention of a country's languages in wiki articles, and yours isn't one of them. First, the meaning of words such as national, and in particular 'official', are open to different interpretations: second, the actual speakers of a language is also not clear, with the term 'speakers' not being specifically defined - does it mean mother tongue from birth, learned for a year in school, or what? I agree the infobox parameter could be improved. Roger 8 Roger (talk) 02:33, 7 April 2023 (UTC)
You may have points with the two problems you mentioned, but I don't think they have anything to do with the discussion here as this is solely about allowing a parameter that already exists to be updated with an additional parameter that allows the correct grammar. Wkpdsrnm2023 (talk) 02:55, 7 April 2023 (UTC)
Roger 8 Roger's comments are well intended but pointless. Neither of these issues should be solved by the infobox or, really, by Wikipedia, which can only follow what the sources say. Furius (talk) 07:00, 11 April 2023 (UTC)

Adding pie charts to ethnicities and religions

I was doing some experimenting with putting pie charts in the ethnicity and religion fields of the infobox of different countries. Looks pretty cool and definitely helps with readability. The documentation says only lists and breakdowns are to be used. Is there any reason why pie charts shouldn't be used? Wkpdsrnm2023 (talk) 05:28, 11 April 2023 (UTC)

They are pointless. Words usually help with readability, not charts. Good faith assumed, but looking cool is not the intent of the infobox. Statistical data is best avoided if possible because it is usually primary, relying on the reader to interpret it. That problem is accentuated in the infobox where nothing but basic figures are given. The charts might look cool but hang them on the wall, don't clutter up an article with unnecessary charts, especially when a few numbers and words convey the same information. Roger 8 Roger (talk) 06:30, 11 April 2023 (UTC)
Being pointless is not really an argument. This is the third time I've seen this opinion from your account. I'm trying to see the good faith in this but it's hard not to notice that conversations shutdown afterwards, nothing changes, and the status quo remains. Perhaps RfC's are needed to really get outside opinions here? Wkpdsrnm2023 (talk) 06:46, 11 April 2023 (UTC)
While you were replying I was busy reverting some of your recent changes elsewhere. You seem to be a busy editor, building up a healthy stack of warnings on your talk page. Next is a block, but I'm sure you know that already. Why not put your undoubted English skills to a more productive use? Roger 8 Roger (talk) 06:59, 11 April 2023 (UTC)
This is a totally inappropriate comment. You've confused two different editors here. Furius (talk) 07:19, 11 April 2023 (UTC)
Thank you, I can see all of my edits and none were changed by Roger 8 Roger so I think they are talkign about someone else. Wkpdsrnm2023 (talk) 07:29, 11 April 2023 (UTC)
My concerns with pie charts would be about:
(1) space - national infoboxen are already quite large and a set of readable pie charts would extend that length, with knock-on effects for the formatting of the rest of the page.
(2) situations where the numbers don't sum to 100, which is common with ethnicity and not impossible with religion.
The claim that infoboxen can't include statistical data because it is primary is utter nonsense: (a) they already do and this proposal is just about a different way of displaying it. (b) there are plenty of secondary sources for national statistics. Furius (talk) 07:11, 11 April 2023 (UTC)
I agree that the space issue was one of the things I ran into when experimenting but not for the reason you stated. The vertical aspect of the infobox wouldn't change much, if at all, since the information is just replaced with the pie chart. The horizontal aspect of the infobox does change though, but can be altered by changing the radius of the pie chart to 50 or so.
The other point you mentioned about the numbers not summing to 100 would be taken care of with the "Other" value of the pie chart. It adds up the remaining balance of what isn't mentioned automatically.
I've made a temporary edit to the Palau page and reverted it afterwards so you can see what the pie chart looks like in the infobox here:
https://wiki.riteme.site/w/index.php?title=Palau&diff=1149280670&oldid=1147883825&diffmode=source Wkpdsrnm2023 (talk) 07:27, 11 April 2023 (UTC)
The infobox sections under discussion have been contentious enough as is in many situations. Taking that information from text form to image form further creates an impression of certainty which may not be appropriate, especially for such complex topics. CMD (talk) 07:33, 11 April 2023 (UTC)
That's a good point, I didn't really consider that it was a contentious topic. I just assumed all the numbers there were based on some source. However, if the information is not actually true or not backed up with a source, then should the information be there to begin with?
Perhaps having an "Other" section in a pie chart might actually help in seeing the disparities that might be missing, rather than create more. Wkpdsrnm2023 (talk) 07:40, 11 April 2023 (UTC)
APOLOGY See above. user:Wjejdc3345 was the intended victim of my scorn. And user:Furius was right, I had confused two editors so to user:Wkpdsrnm2023. I am very sorry. I have no idea how that happened but I should have checked better before firing a broadside like that. Roger 8 Roger (talk) 10:00, 11 April 2023 (UTC)
No worries, I figured you were talking about someone else, but I'm still kinda pressed a little bit about you calling the suggestions pointless. I'm not trying to bring up pointless topics for no reason. I'm designing an app right that uses information from Wikipedia and I can envision how the UI can be improved a bit with little updates. I'm not trying to bring up pointless topics for no reason, I'm just suggesting them and seeing why there might be reasons for not doing them. I'd appreciate it if you brought up some points like Furius or CMD have, but please stop calling my ideas pointless. Wkpdsrnm2023 (talk) 10:13, 11 April 2023 (UTC)
The purpose of the infobox is to give a very basic summary of key undisputed facts. Any statistics are open to interpretation so they are not ideal, but we often have nothing else. I agree with CMD whom I think is saying that using charts simply adds another layer of potential dispute. I also think charts add nothing except give an excuse to play around with colours and shapes. Consider the way flags are often inappropriately used in infoboxes - same problem. Roger 8 Roger (talk) 10:35, 11 April 2023 (UTC)
Fair enough, I didn't realize how what seems like straightforward information can actually be disputed and contentious for lots of people. But at the same time I don't think that is reason enough not to make changes. If the disputes come, then we deal with them at that point and make things better in the process. But to not do something either in fear of potential disputes or due to not wanting to deal with the issues that might arise is how things stagnate.
Don't discount colors and shapes either. One of the many reasons people use Wikipedia is to learn things and many people are visual learners. Pie charts are a great way to bring together lots of percentage points for people that don't like numbers. Wkpdsrnm2023 (talk) 10:55, 11 April 2023 (UTC)
Thanks all. Having an "other" category doesn't solve the issue with numbers not summing to 100, because people might belong to more than one religion or ethnicity, in which case the total sums to more than a hundred.
Additionally, if the pie chart replaces the statistics, rather than supplementing them, there is a potential accessibility issue, depending on whether a screen reader can still read the information to blind users. Furius (talk) 13:31, 11 April 2023 (UTC)

ISO 3166-1 alpha-3

Why is there no option for ISO 3166-1 alpha-3? The three-letter code is used in many human-facing applications. Not having that option to display the alpha-3 code causes issues with disambiguation pages for the three-letter initialisms where there are instructions in MOS:DABMENTION and MOS:DABACRO that an entry should not be added if the linked article does not support the purported usage. A workaround is to link to the respective ISO 3166-1 alpha-3 list page that mentions the code, but this seems less helpful than linking directly to the country's article. olderwiser 18:08, 3 July 2023 (UTC)

Where should (first) and (last) be placed?

This is a bit weird but many articles like Weimar Republic, German Empire, French Fourth Republic, Russian Empire, Kingdom of England and others have (first) and (last) beside the term period of the leaders but in articles like Delhi Sultanate, Safavid Iran, Bengal Sultanate, Maratha Confederacy, Gujarat Sultanate and others have (first) and (last) beside the leaders' names itself. Where should it be placed really? PadFoot2008 (talk) 15:56, 10 July 2023 (UTC)

Religion

Many countries have a Religion in xxx article associated with them. It would be useful to have the word "Religion" in the infobox link to the appropriate Religion in xxx article. This would be analogous to the way the "Government" heading links to the appropriate Politics of xxx article. Greenshed (talk) 22:46, 11 July 2023 (UTC)

Image parameter

This template needs image and caption parameters. There are after all, countries small enough to photograph. (In case you're curious, I was hoping to add an image to the infobox for Principality of Islandia.) Nosferattus (talk) 00:37, 13 July 2023 (UTC)

 Not done: Adding such parameters would sadly see them being (ab)used in all occurrences, much like the current website parameter is. In the end, this infobox has a specific purpose, and it wasn't created for micronations. CMD (talk) 01:12, 13 July 2023 (UTC)

Should Leader Title be in English or Local Language

In the title_leader parameter, some articles (like Spain and Germany) use the English translation of the leader title (i.e. Monarch and President) instead of the local official version (i.e. Rey/Reina or Bundespräsident), while a few articles (like Brunei and Qatar) use the local 'official' version itself for the title_leader parameter (i.e. Sultan and Emir).

So what's the convention? Is it supposed to be that all articles use the English translation of the title except for countries with Islamic/Arabic titles like Sultan and Emir? If there doesn't exist a convention, shouldn't we create one already? PadFoot2008 (talk) 05:20, 6 May 2023 (UTC)

There's not an explicit convention, but generally I'd say it makes sense to follow what most English sources use. CMD (talk) 15:21, 7 May 2023 (UTC)
Thanks for informing me, but shouldn't an explicit convention regarding this exist—to avoid disputes? We can create one now after discussion..? PadFoot2008 (talk) 18:41, 7 May 2023 (UTC)
I suppose "English" could be added to the leader field documentation, if needed. You could also invoke the spirit of WP:USEENGLISH. CMD (talk) 01:28, 8 May 2023 (UTC)
Just follow whatever the article name for the position is. COMMONNAME takes care of this fine. 25stargeneral (talk) 01:35, 8 May 2023 (UTC)
An English language article uses English. There is no confusion. What English word to use is common usage as determined by what is used in RSSs. Words like Emir are English words, of foreign language origin. Sometimes there might be a foreign language word that has not fully assimilated into English, but it is still classed as within the English language, such as Rey, because it is used in English texts. Each situation has to be judged on its own merits, there is no one-size-fits-all. Roger 8 Roger (talk) 01:54, 8 May 2023 (UTC)
In English, my whole life, we have spoken of the King of Spain, the Queen of Romania, the Prime Minister of Israel, the King of Jordan, the King of Saudi Arabia, the Prince of Monaco, the Emperor of Japan, the Tsar of Russia, the Sultan of Brunei, the Shah of Iran, the Kaiser and Chancellor of Germany, the Emir of Dubai, and various Maharajas in India. These are the respective terms we use in English. Wikipedia is following the convention "use what people use in English". "Sultan" and "Emir" aren't "local 'official' versions", they're English words, the terms we use for those roles in those countries. I don't know why we don't speak of the King of Russia but we do speak of the King of Saudi Arabia. We just do. And, as can be seen, Islam and Arabic don't come into it. Largoplazo (talk) 10:18, 8 May 2023 (UTC)
All right, I understand now. I will keep this in mind, next time onwards while editing and thanks a lot to all. Except, there's just one thing. Maharajas, Maharajadhirajas, Rajas and whatever the other million titles exist don't seem to be used commonly in English sources. Most English sources use Kings, Emperors and Princes. The problem is that India doesn't have one or two single titles for the term King, it has a million different titles from various languages in different regions, Sanskrit, Persian, Hindustani, Bengali, Telugu, etc. That's why I started this discussion, first of all. I think for these million different titles of Indian origin, their English counterparts (King, High King, Prince and Emperor) ought to be used. PadFoot2008 (talk) 11:07, 16 May 2023 (UTC)
As with the examples given by Largoplazo, if most English sources use a particular term, that is likely the one to use. If they tend to use a different term, for whatever reason, that would be the one to use. CMD (talk) 14:44, 16 May 2023 (UTC)
All right, thanks. PadFoot2008 (talk) 01:59, 17 May 2023 (UTC)
I thought that in general any title should be translated to English whenever possible. I asked ChatGPT because I'm too lazy to look it up myself but it told me:
1.) Translate the title: Foreign leader titles, such as President, Prime Minister, King, Queen, etc., are typically translated into English. For example, "President Emmanuel Macron," "Prime Minister Angela Merkel," "King Felipe VI," and "Queen Elizabeth II."
2.) Retain native titles in quotation marks: If the title is well-known or widely recognized in its original form, you may choose to retain the native title and put it in quotation marks. For example, "The Ayatollah Ali Khamenei," "The Dalai Lama Tenzin Gyatso."
3.) Use English equivalents when available: Some titles might not have direct English equivalents. In such cases, use the most appropriate English term that conveys the same meaning and function. For example, "Chancellor" for "Bundeskanzler" in German, or "Sultan" for "Sultan" in Arabic.
4.) Be consistent: Whatever approach you choose, maintain consistency throughout your writing.
Now whether or not you think ChatGPT is reliable or not, I think that this is pretty sound advice nonetheless and I would say the same thing given its inputs. Wkpdsrnm2023 (talk) 10:11, 20 July 2023 (UTC)

3rd flag

Is it possible to add a 3rd flag parameter? ImStevan (talk) 00:26, 11 August 2023 (UTC)

Seriously? I know there are a few weird places that have two flags, but as far as I am aware no one has three. Primefac (talk) 07:32, 11 August 2023 (UTC)

S22

Ottoman Empire is tryna call this template (or one of its wrappers) with the unsupported |s22=. I'm not a subject matter expert and have no idea if it can drop one or some of its successor state parameters. It displays the first 21. I was just gnoming there on unrelated business and am wondering if support for the highly enumerated |s22= could be added to the template. Folly Mox (talk) 14:58, 5 November 2023 (UTC)

sigh... a list that long in an infobox like this is almost useless. Should we have it? Probably not, but I will add it in for now. Primefac (talk) 15:02, 5 November 2023 (UTC)

Second COA

Would it perhaps be a good idea to have a field for a second coat of arms/emblem for situations where the second flag parameter is also being used?

To give an example of the articles of former colonies: Often the flag and symbols of the colonising nation are official alongside the colony-specific ones. It stands to reason then, in my view; that having the flag and coa of both the imperial nation, as well as the colony in the infobox, would be valuable addition which is not currently possible. LegerityFortis (talk) 21:56, 3 January 2024 (UTC)

We have other_symbol parameter. Moxy- 23:10, 3 January 2024 (UTC)

"Legislature" and "Highest organ of state power"

Hi

Communist states do not have legislatures, but highest organs of state power. While Western sources often superficially call them legislatures, the constitutions of these states do not. For instance, the Chinese, Soviet and Yugoslav constitutions do not use the term "legislature" at all. The Chinese refer to the National People's Congress as the "highest state organ of power", the Soviet the Supreme Soviet of the Soviet Union as the "highest body of state authority", and the Yugoslavs the Assembly as the "supreme organ of power". Per the principle of unified power, all other state organs are organs of the highest organ of state power. That is, the executive branch is an organ of the highest organ of state power, the judiciary is an organ of the highest organ of state power el cetra el cetra. These are not legislatures at least in the liberal sense. More importantly, these states consider them to be something other than legislatures.

What do I want? You have a field called "Legislature". Keep that and add another field called "highest organ of state power", which can be used for the communist state articles. I want these changes to be added to the former country infobox and the ordinary country infobox. --TheUzbek (talk) 11:31, 6 January 2024 (UTC)

My parents are still my parents even if they've always called themselves my progenitors.
A legislature is a body (or organ) where laws are made. It's irrelevant what term a particular jurisdiction uses for it. Largoplazo (talk) 11:38, 6 January 2024 (UTC)
Indeed, that is what a liberal legislature is limited to. However, the powers of the National People's Congress, according to Chinese legal scholar Zhou Fang, "are boundless, its authority extends to the entire territory of the country, and, if necessary, it can intervene in any matter which it finds it requisite to do so."
Do you get the difference now? TheUzbek (talk) 11:42, 6 January 2024 (UTC)
I would also add this: Chinese legal scholars Xu Chongde and Niu Wenzhan, "[t]he other central State organs are created by the NPC and execute the laws and resolutions made by the NPC."
In a liberal democracy, the legislature is the legislature, and the government is the government. In China, the government and the legislature are the same; the National People's Congress is both (they are both organs of it)! TheUzbek (talk) 11:44, 6 January 2024 (UTC)

Adding Democracy index in infobox

I see that is important to add The Economist Democracy Index to be added. Like how GDP, Gini and HDI shown, Democracy index may be also added to indicate democracy in infobox. May shown as “Democracy Index” in first row, the score (including rank and democratic condition [“Full Democracy”, “Flawed Democracy”, “Hybrid regime” and “Authoritarian” depending on score[1]], year and red/green arrow triangles if democracy changed from previous year. When on previous year remained unchanged it may show blue “hyphen” (similar to HDI, Gini and GDP). If triangle shows to top and is green, it shows more democratic from previous year, and if triangle is red and to bottom, it is goes to autoritarian. Democracy index row may be added to all language editions of Wikipedia.

83.139.28.234 (talk) 17:54, 10 January 2024 (UTC)

Not seeing a rationale why this index in particular is important to add - there are many that exist. Nikkimaria (talk) 02:01, 11 January 2024 (UTC)
Like how GDP, and HDI is imporatant row in Wikipedia country infoboxes, Democracy index is also important, and should be added to infoboxes. 217.76.14.162 (talk) 17:15, 12 January 2024 (UTC)
Again, there are many indices out there - why do you feel this one in particular is of equal importance to GDP? Nikkimaria (talk) 06:11, 13 January 2024 (UTC)
The “equal” hyphen-line in GDP and HDI means unchanged from last year. 83.139.28.225 (talk) 10:50, 4 February 2024 (UTC)
Just want to throw in my two cents, but I've also thought about the benefits of adding in some sort of index to the country infobox based on either the V-Dem or EIU indexes.
Currently, on pages for countries such as Russia, Venezuela, Kazakhstan, Belarus, North Korea, Syria, Togo and ecetera, we see the government type listed as a "semi-presidential (or whatever the official government type is)" followed by "under an authoritarian dictatorship" or just "dictatorship" or "authoritarian state" or something like this thereafter. However, other authoritarian countries such as Haiti, Azerbaijan, Palestine, Democratic Republic of the Congo, Guinea-Bissau, Yemen, Libya, Iraq, the UAE, and Zimbabwe don't have this identifier. Other socialist authoritarian countries such as China, Cuba, Laos and Vietnam simply state they are a "Unitary Marxist–Leninist one-party socialist republic, but lack the whole "under an authoritarian dictatorship/state" identifier that most other non-Communist authoritarian countries get labeled with.
As far as I can tell there is no reason a country does/does not have the whole "authoritarian" label thrown on at the end. This also brings up an obvious point of concern when authoritarian countries such as Iraq are mentioned as merely a "Federal parliamentary republic," which is also exactly the same as Germany and Austria! Or how Algeria is mentioned as merely a "unitary semi-presidential republic," which is also what France is listed as despite being much more democratic than Algeria.
Rather than having to put "under an authoritarian dictatorship" or such statement in the infobox, it would probably be beneficial to the reader to include one or more democracy indexes to better state the differences between de jure and de facto forms of government. This also might help talk pages with the unending claims of "X country is/isn't a democracy!"
Of course, I also understand the counter-point that the indexes themselves can't be trusted or are biased. However, reliable sources, which Wikipedia itself is based on, generally are in agreement with whether or not a government is authoritarian whether they come from an index or not, so the inclusion of an index would most likely restate what would have already been added in with users putting "under an authoritarian dictatorship" in the first place. BootsED (talk) 06:35, 19 February 2024 (UTC)

References

  1. ^ Full democracies will show dark green in its text; flawed democracies as green; hybrid regimes as orange and authoritarian regimes as red

Template-protected edit request on 11 February 2024

For the part "ISO 3166 code", I would like to see both the 2-letter and 3-letter codes to be included. Using Pakistan as the example, currently it says: "ISO 3166 code PK", but I would like if it said "ISO 3166 code PK, PAK, 586" since all are valid in ISO 3166.

Currently the 2-letter links to ISO 3166-2:XX for that country. I don't know if the other two could link to something. Since the template automatically supplies with the 2-letter code, it can also supply the other two codes automatically as well. When {{{iso3166code}}} is manually supplied, the other codes could be supplied through {{{iso3166code3}}} and {{{iso3166numeric}}}.

[REDACTED BROKEN CODE]

Here is a code I've tested and it should work. The checks for code-3 and numeric includes checks if numeric isn't 000, because the module considers the ISO 3166-2:GB codes for some regions of UK to have alpha-3 codes, when no sources say otherwise. If the module could blank out those entries (as I've requested), then this code could be written more elegantly. But the current method should still work for now. Pon Pon the bon bon (talk) 10:10, 11 February 2024 (UTC)

Please make your changes to Template:Infobox country/sandbox and add a test to Template:Infobox country/testcases — Martin (MSGJ · talk) 21:33, 11 February 2024 (UTC)
Thank you for notifying me about those pages. I updated the /sandbox and did notice some errors, so very good that I did that. Particularly regions without a numeric code still gave a comma, and an error in artgument {{{iso3166numeric}}}. Now ISO 3166 doesn't show up for these non-existing countries: Template:Infobox_country/testcases. Then there's a second page Template:Infobox_country/testcases2 testing ISO for "Bosnia" and it shows up in the intended format. I also tested on Template:Infobox_country/testcases3 to ensure it works as intended for actual articles, and it does.
I hope it's okay I removed the previous code. Here's the new and fixed code:
| 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}}}}}]]
                }}<!--
                -->{{#ifeq:{{ISO 3166 numeric|{{{common_name}}}|nocat=true}}|000||{{#if:{{ISO 3166 code-3|{{{common_name}}}|nocat=true}}
                 | , {{ISO 3166 code-3|{{{common_name}}}}}
                }}}}<!--
                -->{{#ifeq:{{ISO 3166 numeric|{{{common_name}}}|nocat=true}}|000||{{#if:{{ISO 3166 numeric|{{{common_name}}}|nocat=true}}
                 | , {{ISO 3166 numeric|{{{common_name}}}}}
                }}}}
             }}
     |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]<!--
          -->{{#if:{{{iso3166code3|}}}|, {{uc:{{{iso3166code3}}}}}}}<!--
          -->{{#if:{{{iso3166numeric|}}}|, {{{iso3166numeric}}}}}
    }}
Pon Pon the bon bon (talk) 10:22, 13 February 2024 (UTC)
addendum: with the modified Module:ISO 3166/data/National, the code can be simplified as the following. Previous code left in, just in case.
| 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}}}}}]]
                }}<!--
                -->{{#if:{{ISO 3166 code-3|{{{common_name}}}|nocat=true}}
                 | , {{ISO 3166 code-3|{{{common_name}}}
                }}}}<!--
                -->{{#if:{{ISO 3166 numeric|{{{common_name}}}|nocat=true}}
                 | , {{ISO 3166 numeric|{{{common_name}}}
                }}}}
             }}
     |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]<!--
          -->{{#if:{{{iso3166code3|}}}|, {{uc:{{{iso3166code3}}}}}}}<!--
          -->{{#if:{{{iso3166numeric|}}}|, {{{iso3166numeric}}}}}
    }}
Pon Pon the bon bon (talk) 23:35, 20 February 2024 (UTC)

Template-protected edit request on 2 March 2024

Other rank fields are automatically shown in brackets except for HDI rank. Might this be changed for consistency please? Dgp4004 (talk) 15:27, 2 March 2024 (UTC)

 Done. SilverLocust 💬 07:03, 3 March 2024 (UTC)

Consistency of years and references

I've noticed that the layout of year and reference fields is quite inconsistent. I wonder if it's worth giving some thought to how they might be displayed in a more consistent way which would make it easier to read.

For some fields, both year and reference are on the left (ethnic groups, religion).

For some fields, year is on the left and the reference is on the right (HDI, Gini).

For some fields, both year and reference are on the right (GDP).

For some fields, the year is on the left and there isn't a reference field—it's up to editors whether they put it on the left or the right (population).

My own thoughts are that ethnic groups and religion have it right—the year and reference look most elegant and readable on the left. I think that the settlement infobox handles refs and headings quite well as here: Tameside. Dgp4004 (talk) 23:59, 3 March 2024 (UTC)

Which list to use for population_census_rank

population_census_rank currently uses List of countries and dependencies by population for the ranking, but the problem with this list is that it's very inconsistent in the sourcing and years of population values. Some entries use census data, others use estimates or projections, and they often come from different years, which might make the rankings inaccurate. Furthermore, a case could be made that this is a instance of WP:OR, since it's similar to the situation at Wikipedia talk:No original research/Archive 64#RfC on clarification of WP:CALC for costliest tornadoes.

I propose that we switch over to using List of countries by population (United Nations) instead, since the data and rankings comes from a centralised source and it compares countries based on estimates from the same years. Of course, this isn't going to be a "census_rank" anymore, but since many entires in the currently used List of countries and dependencies by population aren't based on census data anyway, there's no loss in that regard. Liu1126 (talk) 21:05, 24 March 2024 (UTC)

Edit request 11 April 2024

Hello, I've noticed that the "Ethnic groups" field in the Infobox of the Namibia page might be better represented as "Nationality". The Namibian government does not record ethnicity or racial statistics, and I believe "Nationality" would be a more accurate representation of the population. This change would align the Namibia page with other country pages like France, which uses the "Nationality" field. I would appreciate if an administrator or template editor could make this change. Thank you. — Preceding unsigned comment added by EnfesDino (talkcontribs) 13:36, 11 April 2024 (UTC)

 Not done: This edit would need to be made to Namibia, not Template:Infobox country. According to that page's protection level you should be able to edit the page yourself, however I would highly recommend discussing this on Talk:Namibia first as ethnicity and nationality are potentially controvertial topics. --Ahecht (TALK
PAGE
) 17:47, 11 April 2024 (UTC)

ISO 3166

I think the should list all of the ISO 3166-1 codes in the infobox, in addition to the alpha-2 code (e.g. IR for Iran).

ISO 3166-1 codes
Type of code Example (Iran) Example (Algeria)
Alpha-2 IR DZ
Alpha-3 IRN DZA
Numeric 364 012

LaundryPizza03 (d) 10:09, 25 April 2024 (UTC)

Not seeing any reason to include that level of detail. Nikkimaria (talk) 04:11, 26 April 2024 (UTC)
I have mixed feelings. It appeals to the data nerd in me. But the value of the alpha-2 codes is that they're familiar due to their use for top-level domains. Where are the alpha-3 codes used, that the general reader would likely encounter them? I momentarily answered my own question with "the Olympics", but realized that these aren't the codes they use. That might make them more confusing than useful, as when a spectator who's seen DEU here expects Germany to be coded as DEU in competition and doesn't know what GER is. Would they be as useful as international vehicle registration codes? Largoplazo (talk) 12:07, 26 April 2024 (UTC)

adding Indicators

Hello, I was thinking of adding additional indicators to the infobox (from UN bodies) such as the happiness report and etc. Do you agree? 2A01:73C0:86A:DEBA:C5A9:DBCF:3562:4611 (talk) 06:21, 20 March 2024 (UTC)

I think that only GDP and HDI data doesn’t cover everything, I was thinking of adding maybe another indicators from the UN reports 2A01:73C0:86A:DEBA:C5A9:DBCF:3562:4611 (talk) 06:26, 20 March 2024 (UTC)
@Nikkimaria do you agree? 2A01:73C0:86A:DEBA:C5A9:DBCF:3562:4611 (talk) 14:12, 20 March 2024 (UTC)
Which specific additional indicators do you want to add and why do you believe these to be significant? Nikkimaria (talk) 00:06, 21 March 2024 (UTC)
@Nikkimaria
I base my opinion on several articles published on the subject that claim that the HDI and GDP data are not enough to see the full picture of a certain country. I thought to add the happiness report which includes data on per capita income , education and life expectancy. In addition, it measures also other things that aren’t measured in HDI and GDP such as the difference between generations.
Harvard business school :[2]
IMF:IMF
other sources:
Articel
articel 2A06:C701:42A5:A00:B45F:F2DC:BCAD:3D16 (talk) 02:07, 21 March 2024 (UTC)
I fully agree that HDI and GDP don't give a full picture of a country. But no indicator will, and particularly not a composite indicator. Nikkimaria (talk) 02:11, 21 March 2024 (UTC)
@Nikkimaria
First of all, you are right.
But in my opinion we can add the index (which is established by the UN and is considered the most accurate).
And beyond that, many researchers believe that the index is better than HDI or GDP. It also includes GDP data, life expectancy eduction and more...
In the French Wikipedia, for example, there are other indicators besides HDI and GDP. And I think nothing bad could come from adding another indicator that adds more information and light on the country. 2A06:C701:42A5:A00:B45F:F2DC:BCAD:3D16 (talk) 02:28, 21 March 2024 (UTC)
There is certainly potential harm from overloading the template with information that is not meaningful to most readers - it's meant to be limited to key facts at a glance. Nikkimaria (talk) 03:18, 21 March 2024 (UTC)
@Nikkimaria
True, but even so there is not much data,
in the French Wikipedia there are several more indicators regarding a certain country which gives more information .
I think that, after all in light of the above, it might be profitable to add, and after all we want to give the reader some comprehensive information about a particular country. (What the HDI and GDP do not fully show).
maybe we can get another opinion from other editors. Also, the UN doesn't publish many indexes about a particular country's economic/development.

147.235.216.48 (talk) 03:30, 21 March 2024 (UTC)

@BootsED, Phoenix7777 what do you think? Do you agree with my statement? 2A01:73C0:86E:6120:6CC9:C45B:1530:8814 (talk) 04:48, 21 March 2024 (UTC)
To be honest I had not considered the happiness index to be added to the infobox before you mentioned this. I think it is certainly worth looking into. However, I would state I believe a democracy index would be more important to add to the infobox before consideration of a happiness index owing to the many reasons I have previously given in an earlier post I made on this page. BootsED (talk) 21:58, 21 March 2024 (UTC)
@BootsED
Hello, as I said many researchers claim that HDI and GDP do not give a complete picture.Harvard[3] In addition, many researchers believe that the happiness index is a better index ,because it includes additional data as well as life expectancy, GDP per capita education and corruption.Columbia university
IMF
As I have already said, in my opinion, adding another index can only broaden the reader's point of view ( the French Wikipedia, for example, added more indicators besides GDP and HDI).
Regarding the democracy index, I have an opinion on the subject, but I know it is not published by the UN, unlike the happiness index, which is published by the UN like the HDI.
Can you please read the articles that I added and express your opinion.World economic forum
thank you. 2A06:C701:42A5:A00:655A:291F:C391:6239 (talk) 23:16, 21 March 2024 (UTC)
I would support removing these parameters. Moxy🍁 23:36, 21 March 2024 (UTC)
@BootsED what is your opinion? 2A06:C701:42A5:A00:C8D9:98C3:D3E8:CE70 (talk) 02:32, 22 March 2024 (UTC)
I think it is worth looking into. Again, I think an democracy index would be more prudent to add before a happiness index, but I would wait for more consensus before making any changes. BootsED (talk) 02:44, 22 March 2024 (UTC)
Alright , @ TylerBurden @ Juustila @Dönde94 what is your opinion? 37.142.165.10 (talk) 05:30, 22 March 2024 (UTC)
Whatever. Juustila (talk) 06:55, 22 March 2024 (UTC)
@BootsED I don’t think there is an objection of adding it, at the end it’s UN’s index that covers more than just HDI and GDP. 2A06:C701:42A5:A00:1B8:4B89:89C3:8025 (talk) 01:57, 25 March 2024 (UTC)
@BootsED should we put it to a vote? 147.235.215.100 (talk) 06:54, 28 April 2024 (UTC)

should info box of country include information regarding if goverment is authoritarian

There is a discussion in the article about China, that should be general and actually in this talk page. The question is regarding what information should be included in the info box of a country. And more specifically should the infobox include information if a goverment is authoritarian. https://wiki.riteme.site/wiki/Talk:China#RfC I suggest to move the discussion and the vote/consensus to this page as is should be a general question that related to all pages about countries and their infobox 85.65.237.103 (talk) 13:56, 19 April 2024 (UTC)

We should simply follow the sources..... This may or may not include political systems..... sometimes they'll use more accurate terms. I've always thought we should have a different parameter for political system versus government.Moxy🍁 13:59, 19 April 2024 (UTC)
@Moxy, it is a request for comment. I want to know the community opinion about this subject. Do they think that such information should be included in the info box or not. 85.65.237.103 (talk) 14:13, 19 April 2024 (UTC)
This is not a request for comment. It is a note about a related RFC. We should have a normal discussion here about anything more general, and if no consensus comes out of it, then the wider community can be asked via RFC. Primefac (talk) 14:21, 19 April 2024 (UTC)
ok, let see if there is a consensus here and if not lets go to wider community. I didn't know about this rules, so thanks. 85.65.237.103 (talk) 14:24, 19 April 2024 (UTC)
No, no one has agreed to move here. What you are doing is called WP:FORUMSHOPPING. Remsense 16:09, 19 April 2024 (UTC)
If we are to have this discussion on the template talk page, we should have it more generally (rather than in the context of the label "authoritarian" specifically). I think the government field in each instance should be direct, concrete, and non-contentious. It should describe the forms or structures of government. Labels or characterizations should be left to the body of the article, where they can be sourced, attributed as necessary, and presented according to their due weight. The government field in the infobox should address issues like whether a government is a unitary or federal system, how the executive power is held, how many legislative houses, and so forth. For example, the USA infobox is good: "Federal presidential republic." JArthur1984 (talk) 14:17, 19 April 2024 (UTC)
In other words, I do oppose including "authoritarian" in infoboxes, but for grounds not limited to that specific characterization. JArthur1984 (talk) 14:21, 19 April 2024 (UTC)
I previously suggested putting in a Democracy Index within infoboxes to partially solve these issues. BootsED (talk) 20:50, 28 April 2024 (UTC)
It would not solve the fundamental problem whatsoever. That is to say, while the index is in a very shallow sense a "quantification" of what is generally a very qualitative and non-parameterizable concept, it only does so by averaging the views of experts' responses to a poll—e.g. the same process we are already capable of doing. Just because it's a layer of abstraction doesn't mean it makes something that shouldn't be presented in an infobox magically presentable or more useful. Remsense 20:51, 28 April 2024 (UTC)
I agree that this would be a useful addition to the userbox. My favorite measure of democracy is the V-Dem Democracy Indices - as far as Ican tell, they appear to be much more thorough than rivals such as Freedom in the World. I support adding the V-Dem index. 20WattSphere (talk) 04:05, 29 April 2024 (UTC)
How does it do anything other than aggregate poll results? How is that actually quantitative? Including it in an infobox as a number would be outright disinformation. Remsense 04:07, 29 April 2024 (UTC)
It doesn't aggregate poll results at all. As per the wikipedia article linked above, "each indicator is coded independently by at least five country experts". This isn't some public opinion poll, it's academic research produced by political science experts.
Calling it "disinformation" is outrageously hyperbolic. It's the same type of metric as HDI, which is already included.
Note that many of these things have already been discussed under "Adding Democracy Index in infobox". 20WattSphere (talk) 06:20, 29 April 2024 (UTC)
It aggregates the results of experts polled, does it not? It's not measuring and normalizing anything actually quantifiable like HDI does. It's not the same type of figure, so yes listing it alongside other concrete figures and pretending like it belongs constitutes disinformation in my view. Remsense 06:23, 29 April 2024 (UTC)
I agree it is far more subjective than something like HDI. I also don't see the value of a democracy index in the infobox, we should not presuppose the ideal of a state is to achieve perfect democracy. On the wider topic of the thread I feel similarly, I am not a fan of drifting from a strict constitutional/structural political framework in the infobox. This has however been a long-disputed topic with local consensuses sometimes differing, and in general is part of the difficulty of fitting complicated topics into infoboxes. CMD (talk) 07:11, 29 April 2024 (UTC)
I don't think including this information "presupposes" any agenda. It is simply information.
My feeling is that including a simple number would be much more efficient than a debatable and complex assessment by individual Wikipedians, in order to convey the type of information we want to provide people. 20WattSphere (talk) 09:27, 29 April 2024 (UTC)
Nonsense on its face; presentation always matters and there's no such thing as "just information", that's what WP:NPOV is about. And yes, the information is anonymous area experts being asked "on a scale of one to five, how unencumbered was this election". It's not quantitative information, even though they've squeezed it into such a presentation. It's not a useless figure, but it is disinformation in an infobox as such because it's totally unclear to the reader that it's not actually measuring anything unlike any number it is displayed next to. Please address the core point. Remsense 16:37, 29 April 2024 (UTC)
I agree with your view and @Remsense's view. Earlier in the thread noted my view of a structural government framework (citing the USA article's "federal presidential republic") as a very good model that I would like to see repeated.
Following the same logic, I would not support including any sort of political index in the infobox, whether one of the two "democracy indices" mentioned here or some other kind of political index. This is the sort of thing that belongs in article bodies, in my view.
I am a proponent of keeping the infobox focused, and suggest avoiding trying to distill political characterizations into a handful of adjectives, or the faux-objectivity of a numerical ranking from thinktanks or advocacy groups. JArthur1984 (talk) 13:42, 29 April 2024 (UTC)
Where are you getting the idea that the results are aggregated in some way?
HDI is fairly objective, but the choice of the particular indicators is subjective. You could argue for all sorts of things to be included, but the designers of HDI chose the indicators they chose. It is precisely the same with the V-Dem index. 20WattSphere (talk) 07:45, 29 April 2024 (UTC)
Sure. but at least it's theoretically possible for "average life expectancy" to be empirically measured. Plus, HDI has maybe a couple dozen numbers that go into it in a way that's not totally obscure to the average reader, whereas V-Dem has hundreds of poll questions asked of anonymous area experts. Remsense 16:39, 29 April 2024 (UTC)
Thinking of proposing new parameter for political system..... as seen over at China we have a whole bunch of editors not familiar with the decades long talks on other pages. Moxy🍁 22:36, 29 April 2024 (UTC)
I think renaming it to something like "structure of government" may solve a lot of these problems. Remsense 23:14, 29 April 2024 (UTC)
As I noted in a separate discussion on this page, you have to be fairly bright (at very least, you need to understand integrals) to understand how Gini coefficient is calculated. But I think many readers find it useful regardless. I'm sure GDP is similar, all people need to know is high number = good.
If your objection is more that it relies on qualitative data, well, that's what we currently have with non-expert assessments like "Unitary Marxist-Leninist one-party Socialist State". At least an index is produced by a large team of academic experts. 20WattSphere (talk) 22:57, 29 April 2024 (UTC)
Sure. I think both "qualitative" and "abstruse in derivation" means "no good for infobox", but I am aware how other parameters may be one or the other to some degree. Remsense 23:01, 29 April 2024 (UTC)
I can see the argument that both those factors are not ideal for top-level information about countries. But there is another factor which I think should also be prioritised, and that is importance. Democracy is one of the most important factors about a country, in politics, business, sociology and many other fields of work and study. If readers can't easily see a country's democracy index, I don't know that we can say they're getting a comprehensive overview. 20WattSphere (talk) 13:39, 30 April 2024 (UTC)
Yes. Descriptions of related aspects of a country's government are usually very important, and should generally be present in the lead, and maybe even having its own well-developed section in the body. I also think this kind of information is deeply important, which is why I want to treat it with the nuance it deserves, in prose. I don't want it to be misrepresented through a presentation dressing it up like an empirical statistic like GDP, life expectancy or surface area. Infoboxes are only good at presenting certain kinds of information. The lead in general is supposed to be a summary of the most important aspects of an article's topic, and an infobox is designed for at-a-glance data that don't require much context or nuance to understand. That is why this figure does not belong anywhere near the infobox: it is qualitative at its core, and also abstruse. It is disinformation as such. Remsense 14:26, 30 April 2024 (UTC)
I respect your opinion, but it is still absurd to call it "disinformation" to say that agency X gave something a rating of Y. 20WattSphere (talk) 01:21, 4 May 2024 (UTC)
Feel free to act as if I used whatever term you would prefer that ultimately means the same thing, then. Remsense 02:32, 4 May 2024 (UTC)
My comment was about your meaning, not word choice. 20WattSphere (talk) 03:48, 6 May 2024 (UTC)
In that case, I would not understand what it means to respect my opinion and simultaneously find it absurd, but I genuinely appreciate it regardless. Remsense 03:51, 6 May 2024 (UTC)

Derivation/split proposal: Infobox political period

While I think this template is fine in its expressed use cases, it's also often used for periods of military occupation, e.g. Soviet occupation of Manchuria, for which I feel it is inadequate for the purpose. My best attempt to create a scope for a new infobox type that was neither too bloated nor too specific to use was "political period", basically. Much demographic information we're used to reflexively having like |language= could be deemphasized, and additional parameters could be available like |occupied_by=—the edit wars this will specifically cause are worth bearing for a coherent presentation, I think. Remsense 06:34, 4 May 2024 (UTC)

This infobox is designed to represent a geopolitical entity, and its fields are tailored with that scope. (The current spin-off to international organization is done by switching quite a few fields out, but there are enough shared fields that it is workable.) It is not appropriate or that useful for a period of time, and its use in Soviet occupation of Manchuria seems an example of misuse. It can be used for an occupying body, eg. Protectorate of Bohemia and Moravia, but the historical period article Occupation of Czechoslovakia (1938–1945) does not use it. I can't think of any infobox template that is used for historical periods, they usually have sidebars linking to other periods of history instead. CMD (talk) 04:48, 6 May 2024 (UTC)
IME there are quite a few historical-period articles using this template, although I would agree it's not well suited to that. Nikkimaria (talk) 04:50, 6 May 2024 (UTC)
Do you feel a new template would be worthwhile, or would it cause undue complication or bloat? Remsense 05:00, 6 May 2024 (UTC)
If there was a new template, it should have a very different feel to reduce confusion. An experience I remembered prompted by Nikkimaria's comment, Green Ukraine used to use Infobox country in its lead, and this raised questions about the topic of the article despite the text being quite clear. (I moved the infobox down to an article section.) CMD (talk) 06:06, 6 May 2024 (UTC)
I could not agree more. I think I'll try experimenting with a design. Remsense 06:07, 6 May 2024 (UTC)