Template talk:Infobox country/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)
 * https://ourworldindata.org/co2-emissions#per-capita-co2-emissions
 * https://ourworldindata.org/co2-emissions#annual-co2-emissions
 * https://ourworldindata.org/co2-emissions#annual-change-in-co2-emissions


 * Oppose....as this is not something that's covered in the average country article. Moxy -Maple Leaf (Pantone).svg 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 Moxy -Maple Leaf (Pantone).svg 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://en.wikipedia.org/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://en.wikipedia.org/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. older ≠ wiser 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)
 * Red information icon with gradient background.svg 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 -Maple Leaf (Pantone).svg 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 ], 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)

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 is manually supplied, the other codes could be supplied through  and.

[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 &mdash; 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 . 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 code
 * data127=
 * 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 code
 * data127=


 * 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)
 * ✅. 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.

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 (talk • contribs) 13:36, 11 April 2024 (UTC) PAGE ]]) 17:47, 11 April 2024 (UTC)
 * Template-protection-unlocked.svg 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 ([[User talk:Ahecht|TALK