This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | ← | Archive 13 | Archive 14 | Archive 15 |
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)
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)
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)
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)
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)
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)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
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)
Is it possible to add a 3rd flag parameter? ImStevan ( talk) 00:26, 11 August 2023 (UTC)
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)
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)
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)
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 to
Template:Infobox country 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 to
Template:Infobox country 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)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | ← | Archive 13 | Archive 14 | Archive 15 |
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)
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)
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)
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)
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)
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)
This
edit request to
Template:Infobox country has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
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)
Is it possible to add a 3rd flag parameter? ImStevan ( talk) 00:26, 11 August 2023 (UTC)
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)
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)
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)
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 to
Template:Infobox country 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 to
Template:Infobox country 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)