Template:Infobox economy: Difference between revisions
Jump to navigation
Jump to search
en>Primefac m (→top: adding tracking category for template failing accessibility parameters (small/smaller) using AWB) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
| label1 = Currency | | label1 = Currency | ||
| data1 = {{{currency|}}} | | data1 = {{{currency|}}} | ||
| label2 = {{longitem| | | label2 = {{longitem|{{wpl|Fixed exchange rate|{{allow wrap|Fixed exchange rates}}}}}} | ||
| data2 = {{{fixed exchange|}}} | | data2 = {{{fixed exchange|}}} | ||
| label3 = {{longitem| | | label3 = {{longitem|{{wpl|Fiscal year}}}} | ||
| data3 = {{{year|}}} | | data3 = {{{year|}}} | ||
| label4 = {{longitem|Trade {{#switch:{{{spelling|}}} |Oxford|US|U.S.=organizations |#default=organisations}}}} | | label4 = {{longitem|Trade {{#switch:{{{spelling|}}} |Oxford|US|U.S.=organizations |#default=organisations}}}} | ||
Line 22: | Line 22: | ||
| label7 = Population | | label7 = Population | ||
| data7 = {{{population|}}} | | data7 = {{{population|}}} | ||
| label8 = | | label8 = {{wpl|Gross domestic product|GDP}} | ||
| data8 = {{{gdp|}}} | | data8 = {{{gdp|}}} | ||
| label9 = GDP rank | | label9 = GDP rank | ||
Line 36: | Line 36: | ||
| label14 = {{longitem|GDP by component}} | | label14 = {{longitem|GDP by component}} | ||
| data14 = {{{components|}}} | | data14 = {{{components|}}} | ||
| label15 = {{longitem|style=line-height:1.2em| | | label15 = {{longitem|style=line-height:1.2em|{{wpl|Inflation}} {{smaller|({{wpl|Consumer price index|CPI}})}}}} | ||
| data15 = {{{inflation|}}} | | data15 = {{{inflation|}}} | ||
| label16 = {{longitem| | | label16 = {{longitem|{{wpl|Bank rate|{{allow wrap|Base borrowing rate}}}}}} | ||
| data16 = {{{bankrate|}}} | | data16 = {{{bankrate|}}} | ||
| label17 = {{longitem|style=line-height:1.2em| | | label17 = {{longitem|style=line-height:1.2em|{{wpl|Millionaire}}s {{smaller|({{wpl|United States dollar|US$}})}}}} | ||
| data17 = {{{millionaires|}}} | | data17 = {{{millionaires|}}} | ||
| label18 = {{longitem|Population below {{nowrap| | | label18 = {{longitem|Population below {{nowrap|{{wpl|Poverty threshold|poverty line}}}}}} | ||
| data18 = {{{poverty|}}} | | data18 = {{{poverty|}}} | ||
| label19 = {{longitem| | | label19 = {{longitem|{{wpl|Gini coefficient|{{allow wrap|Gini coefficient}}}}}} | ||
| data19 = {{{gini|}}} | | data19 = {{{gini|}}} | ||
| label20 = {{longitem| | | label20 = {{longitem|{{wpl|Human Development Index}}}} | ||
| data20 = {{{hdi|}}} | | data20 = {{{hdi|}}} | ||
| label21 = {{longitem|{{#switch:{{{spelling}}} |US|U.S.=Labor |#default=Labour}} force}} | | label21 = {{longitem|{{#switch:{{{spelling}}} |US|U.S.=Labor |#default=Labour}} force}} | ||
Line 58: | Line 58: | ||
| label25 = {{longitem|Median gross salary}} | | label25 = {{longitem|Median gross salary}} | ||
| data25 = {{{gross median|}}} | | data25 = {{{gross median|}}} | ||
| label26 = {{longitem| | | label26 = {{longitem|{{wpl|Net pay|{{allow wrap|Average net salary}}}}}} | ||
| data26 = {{{average net salary|}}} | | data26 = {{{average net salary|}}} | ||
| label27 = {{longitem|Median net salary}} | | label27 = {{longitem|Median net salary}} | ||
Line 66: | Line 66: | ||
| label29 = {{longitem|Main industries}} | | label29 = {{longitem|Main industries}} | ||
| data29 = {{{industries|}}} | | data29 = {{{industries|}}} | ||
| label30 = {{longitem| | | label30 = {{longitem|{{wpl|Ease of doing business index|{{allow wrap|Ease-of-doing-business rank}}}}}} | ||
| data30 = {{{edbr|}}} | | data30 = {{{edbr|}}} | ||
Line 83: | Line 83: | ||
| label37 = {{longitem|Main import partners}} | | label37 = {{longitem|Main import partners}} | ||
| data37 = {{{import-partners|}}} | | data37 = {{{import-partners|}}} | ||
| label38 = {{longitem| | | label38 = {{longitem|{{wpl|Foreign direct investment|FDI}} stock}} | ||
| data38 = {{{FDI|}}} | | data38 = {{{FDI|}}} | ||
| label39 = {{longitem| | | label39 = {{longitem|{{wpl|Current account|{{allow wrap|Current account}}}}}} | ||
| data39 = {{{current account|}}} | | data39 = {{{current account|}}} | ||
| label40 = {{longitem|Gross | | label40 = {{longitem|Gross {{wpl|External debt|{{allow wrap|external debt}}}}}} | ||
| data40 = {{{gross external debt|}}} | | data40 = {{{gross external debt|}}} | ||
| label41 = {{longitem| | | label41 = {{longitem|{{wpl|External debt|{{allow wrap|External debt}}}} as % of GDP}} | ||
| data41 = {{{external debt per gdp|}}} | | data41 = {{{external debt per gdp|}}} | ||
| label42 = {{longitem|External debt payments as % of GDP}} | | label42 = {{longitem|External debt payments as % of GDP}} | ||
Line 95: | Line 95: | ||
| label43 = {{longitem|Foreign-aid revenue as % of GDP}} | | label43 = {{longitem|Foreign-aid revenue as % of GDP}} | ||
| data43 = {{{foreign aid revenue per gdp|}}} | | data43 = {{{foreign aid revenue per gdp|}}} | ||
| label44 = {{longitem| | | label44 = {{longitem|{{wpl|Net international investment position|{{allow wrap|Net international investment position}}}}}} | ||
| data44 = {{{NIIP|}}} | | data44 = {{{NIIP|}}} | ||
<!--------------------Public finances----------------------> | <!--------------------Public finances----------------------> | ||
| header45 = {{#if:{{{debt|}}}{{{balance|}}}{{{revenue|}}}{{{expenses|}}}{{{aid|}}}{{{credit|}}}{{{reserves|}}} |Public finances}} | | header45 = {{#if:{{{debt|}}}{{{balance|}}}{{{revenue|}}}{{{expenses|}}}{{{aid|}}}{{{credit|}}}{{{reserves|}}} |Public finances}} | ||
| label46 = {{longitem| | | label46 = {{longitem|{{wpl|List of countries by public debt|{{allow wrap|Public debt}}}}}} | ||
| data46 = {{{debt|}}} | | data46 = {{{debt|}}} | ||
| label47 = {{longitem| | | label47 = {{longitem|{{wpl|List of countries by current account balance as a percentage of GDP|{{allow wrap|Budget balance}}}}}} | ||
| data47 = {{{balance|}}} | | data47 = {{{balance|}}} | ||
| label48 = Revenues | | label48 = Revenues | ||
Line 110: | Line 110: | ||
| label50 = Economic aid | | label50 = Economic aid | ||
| data50 = {{{aid|}}} | | data50 = {{{aid|}}} | ||
| label51 = {{longitem| | | label51 = {{longitem|{{wpl|List of countries by credit rating|{{allow wrap|Credit rating}}}}}} | ||
| data51 = {{{credit|}}} | | data51 = {{{credit|}}} | ||
| label52 = {{longitem|Foreign reserves}} | | label52 = {{longitem|Foreign reserves}} | ||
Line 123: | Line 123: | ||
-->{{nowrap|'''[https://www.cia.gov/library/publications/resources/the-world-factbook/geos/{{{cianame}}}.html CIA World Fact Book]'''}}<!-- | -->{{nowrap|'''[https://www.cia.gov/library/publications/resources/the-world-factbook/geos/{{{cianame}}}.html CIA World Fact Book]'''}}<!-- | ||
-->}} {{#ifeq:{{{presentUS$asdefault}}}|no |<!-- | -->}} {{#ifeq:{{{presentUS$asdefault}}}|no |<!-- | ||
-->| <br/>''All values, unless otherwise stated, are in | -->| <br/>''All values, unless otherwise stated, are in {{wpl|United States dollar|US dollars}}.''<!-- | ||
-->}} }} }} | -->}} }} }} | ||
}}</includeonly><noinclude>{{documentation}} | }}</includeonly><noinclude>{{documentation}} | ||
[[Category:Infobox templates using small or smaller]]</noinclude> | [[Category:Infobox templates using small or smaller]]</noinclude> |
Latest revision as of 20:14, 17 August 2022
Usage
[[File:{{{image}}}|{{{image_size}}}]] | |
Currency | {{{currency}}} |
---|---|
{{{fixed exchange}}} | |
{{{year}}} | |
Trade organisations | {{{organs}}} |
Statistics | |
GDP | {{{gdp}}} |
GDP rank | {{{gdp rank}}} |
GDP growth | {{{growth}}} |
GDP per capita | {{{per capita}}} |
GDP per capita rank | {{{per capita rank}}} |
GDP by sector | {{{sectors}}} |
GDP by component | {{{components}}} |
{{{inflation}}} | |
{{{bankrate}}} | |
Population below poverty line | {{{poverty}}} |
{{{gini}}} | |
{{{hdi}}} | |
Labour force | {{{labor}}} |
Labour force by occupation | {{{occupations}}} |
Unemployment | {{{unemployment}}} |
Average gross salary | {{{average gross salary}}} |
Median gross salary | {{{gross median}}} |
{{{average net salary}}} | |
Median net salary | {{{net median}}} |
Main industries | {{{industries}}} |
{{{edbr}}} | |
External | |
Exports | {{{exports}}} |
Export goods | {{{export-goods}}} |
Main export partners | {{{export-partners}}} |
Imports | {{{imports}}} |
Import goods | {{{import-goods}}} |
Main import partners | {{{import-partners}}} |
FDI stock | {{{FDI}}} |
{{{current account}}} | |
Gross external debt | {{{gross external debt}}} |
{{{NIIP}}} | |
Public finances | |
{{{debt}}} | |
{{{balance}}} | |
Revenues | {{{revenue}}} |
Expenses | {{{expenses}}} |
Economic aid | {{{aid}}} |
{{{credit}}} | |
Foreign reserves | {{{reserves}}} |
{{Infobox economy | country = | image = | image_size = | caption = | currency = | fixed exchange = | year = | organs = | gdp = | gdp rank = | growth = | per capita = | per capita rank = | sectors = | components = | inflation = | bankrate = | poverty = | gini = | hdi = | labor = | occupations = | unemployment = | average gross salary = | gross median = | average net salary = | net median = | industries = | edbr = | exports = | export-goods = | export-partners = | imports = | import-goods = | import-partners = | FDI = | current account = | gross external debt = | NIIP = | debt = | balance = | revenue = | expenses = | aid = | credit = | reserves = | cianame = Country name abbreviation used at the CIA World Factbook web-page | spelling = Oxford or US spells 'z', US '-or'; 's', '-our' spelling by default | usebelowbox = yes or no; default value is "yes"; shows/hides bottom box | presentUS$asdefault = yes or no; default value is "yes"; shows/hides statement about US$ }}
Continents
{{Infobox economy | continent = | population = | gdp = | per capita = | growth = | millionaires = | top ten percent income = | external debt per gdp = | external debt payments per gdp = | foreign aid revenue per gdp = | footnote = }}
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox economy
An infobox for economies
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country | country | Name of the country | String | optional |
Image | image | The name of the image file to display, without the "File:" prefix | String | optional |
GDP | gdp | Gross domestic product (typically nominal, unless stated otherwise) | String | optional |
GDP Rank | gdp rank | Gross domestic product rank (typically nominal, unless stated otherwise) | String | optional |
Microformat
The HTML mark-up produced by this template includes an adr microformat that makes postal addresses or their component parts (regions, postal codes, country names, etc) readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Classes used
The HTML classes of this microformat include:
- adr
- country-name
- extended-address
- locality
- postal-code
- region
- street-address
Please do not rename or remove these classes.