This is the
talk page for discussing improvements to the
Infobox country template. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15Auto-archiving period: 90 days |
Template:Infobox country is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||
|
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)
References
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
{{{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.| 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}}}}} }}
| 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}}}}} }}
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
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)
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)
147.235.216.48 ( talk) 03:30, 21 March 2024 (UTC)
I am proposing to add greenhouse gas (GHG) emissions to the country infobox.
GHGs include any gases which contribute to climate change. Different gases affect our climate in different ways, the most impactful GHGs being carbon dioxide and methane. Although different gases contribute differently, conversion factors known as global warming potential can be used to sum their contributions, and express the total in carbon dioxide equivalent (CO2e). This allows for an objective measure of countries' contributions to climate change.
Our World in Data provides a complete list of national emissions in CO2e here
I believe readers would value this information in the infobox, given the increasing impact of climate, international agreements (most importantly the Paris Agreement), and the geopolitical significance of GHG emissions.
I am interested to know what you think. 20WattSphere ( talk) 01:12, 24 March 2024 (UTC)
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)
I made a proposal to include greenhouse gas emissions in the infobox (see thread above). Users were not convinced, and I'm happy to accept that.
Instead, I'd like to suggest CO2 emissions per capita. I think this is preferable because it is adjusted for population size, making it more relevant to understanding a country's economy. Using CO2 only is also more clear and understandable than GHGs.
By way of explanation, I think it would be valued by:
If Wikipedians like the idea but disagree with the particular metric, I think the above readers would also be very interested in carbon intensity, which is total kilograms of CO2 emissions per dollar of GDP (link)
Keen to hear your thoughts. 20WattSphere ( talk) 08:33, 11 April 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
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. /info/en/?search=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)
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).
Type of code | Example ( Iran) | Example ( Algeria) |
---|---|---|
Alpha-2 | IR | DZ |
Alpha-3 | IRN | DZA |
Numeric | 364 | 012 |
– LaundryPizza03 ( d c̄) 10:09, 25 April 2024 (UTC)
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 is the
talk page for discussing improvements to the
Infobox country template. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15Auto-archiving period: 90 days |
Template:Infobox country is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
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)
References
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
{{{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.| 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}}}}} }}
| 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}}}}} }}
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
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)
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)
147.235.216.48 ( talk) 03:30, 21 March 2024 (UTC)
I am proposing to add greenhouse gas (GHG) emissions to the country infobox.
GHGs include any gases which contribute to climate change. Different gases affect our climate in different ways, the most impactful GHGs being carbon dioxide and methane. Although different gases contribute differently, conversion factors known as global warming potential can be used to sum their contributions, and express the total in carbon dioxide equivalent (CO2e). This allows for an objective measure of countries' contributions to climate change.
Our World in Data provides a complete list of national emissions in CO2e here
I believe readers would value this information in the infobox, given the increasing impact of climate, international agreements (most importantly the Paris Agreement), and the geopolitical significance of GHG emissions.
I am interested to know what you think. 20WattSphere ( talk) 01:12, 24 March 2024 (UTC)
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)
I made a proposal to include greenhouse gas emissions in the infobox (see thread above). Users were not convinced, and I'm happy to accept that.
Instead, I'd like to suggest CO2 emissions per capita. I think this is preferable because it is adjusted for population size, making it more relevant to understanding a country's economy. Using CO2 only is also more clear and understandable than GHGs.
By way of explanation, I think it would be valued by:
If Wikipedians like the idea but disagree with the particular metric, I think the above readers would also be very interested in carbon intensity, which is total kilograms of CO2 emissions per dollar of GDP (link)
Keen to hear your thoughts. 20WattSphere ( talk) 08:33, 11 April 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
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. /info/en/?search=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)
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).
Type of code | Example ( Iran) | Example ( Algeria) |
---|---|---|
Alpha-2 | IR | DZ |
Alpha-3 | IRN | DZA |
Numeric | 364 | 012 |
– LaundryPizza03 ( d c̄) 10:09, 25 April 2024 (UTC)
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)