Difference between revisions of "Template:Infobox economy"
Jump to navigation
Jump to search
imported>Limongi |
imported>GreenC (URL change see talk) |
||
| (216 intermediate revisions by 88 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{Infobox | + | <includeonly>{{Infobox |
| − | | | + | | bodystyle = width:{{{width|26.0em}}};padding:0; |
| − | |||
| − | |||
| − | |||
| − | | | + | | titleclass = adr |
| − | | | + | | title = Economy of {{#if:{{{continent|}}} |{{{continent}}} | {{#if:{{{country|}}}|<span class="country-name">{{{country}}}</span>|{{{name|}}} }} }} |
| − | | | ||
| − | | | ||
| − | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |alt={{{alt|}}} }} |
| − | + | | caption = {{{caption|}}} | |
| − | | | + | | headerstyle = background:lightblue; |
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | + | | label1 = Currency |
| − | | | + | | data1 = {{{currency|}}} |
| − | + | | label2 = {{longitem|[[Fixed exchange rate|{{allow wrap|Fixed exchange rates}}]]}} | |
| − | + | | data2 = {{{fixed exchange|}}} | |
| − | | | + | | label3 = {{longitem|[[Fiscal year]]}} |
| − | + | | data3 = {{{year|}}} | |
| − | | | + | | label4 = {{longitem|Trade {{#switch:{{{spelling|}}} |Oxford|US|U.S.=organizations |#default=organisations}}}} |
| − | | | + | | data4 = {{{organs|}}} |
| − | + | | label5 = {{longitem|Country group}} | |
| − | | | + | | data5 = {{{group|}}} |
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | | | + | <!----------------------Statistics-------------------------> |
| − | |label17 = | + | | header6 = Statistics |
| − | |data17 = {{{ | + | | label7 = Population |
| − | |label18 = | + | | data7 = {{{population|}}} |
| − | |data18 ={{{ | + | | label8 = [[Gross domestic product|GDP]] |
| − | |label19 = | + | | data8 = {{{gdp|}}} |
| − | |data19 ={{{ | + | | label9 = GDP rank |
| − | |label20 = | + | | data9 = {{{gdp rank|}}} |
| − | |data20 ={{{ | + | | label10 = {{longitem|GDP growth}} |
| − | |label21 = | + | | data10 = {{{growth|}}} |
| − | |data21 ={{{ | + | | label11 = {{longitem|GDP per capita}} |
| − | |label22 = | + | | data11 = {{{per capita|}}} |
| − | |data22 ={{{ | + | | label12 = {{longitem|GDP per capita rank}} |
| − | |label23 = | + | | data12 = {{{per capita rank|}}} |
| − | |data23 ={{{gross | + | | label13 = {{longitem|GDP by sector}} |
| + | | data13 = {{{sectors|}}} | ||
| + | | label14 = {{longitem|GDP by component}} | ||
| + | | data14 = {{{components|}}} | ||
| + | | label15 = {{longitem|style=line-height:1.2em|[[Inflation]] ([[Consumer price index|CPI]])}} | ||
| + | | data15 = {{{inflation|}}} | ||
| + | | label16 = {{longitem|[[Bank rate|{{allow wrap|Base borrowing rate}}]]}} | ||
| + | | data16 = {{{bankrate|}}} | ||
| + | | label17 = {{longitem|style=line-height:1.2em|[[Millionaire]]s ([[United States dollar|US$]])}} | ||
| + | | data17 = {{{millionaires|}}} | ||
| + | | label18 = {{longitem|Population below {{nowrap|[[Poverty threshold|poverty line]]}}}} | ||
| + | | data18 = {{{poverty|}}} | ||
| + | | label19 = {{longitem|[[Gini coefficient|{{allow wrap|Gini coefficient}}]]}} | ||
| + | | data19 = {{{gini|}}} | ||
| + | | label20 = {{longitem|[[Human Development Index]]}} | ||
| + | | data20 = {{{hdi|}}} | ||
| + | | label21 = {{longitem|{{#switch:{{{spelling}}} |US|U.S.=Labor |#default=Labour}} force}} | ||
| + | | data21 = {{#if:{{{labor|}}} |{{{labor}}} |{{{labour|}}} }} | ||
| + | | label22 = {{longitem|{{#switch:{{{spelling}}} |US|U.S.=Labor |#default=Labour}} force by occupation}} | ||
| + | | data22 = {{{occupations|}}} | ||
| + | | label23 = Unemployment | ||
| + | | data23 = {{{unemployment|}}} | ||
| + | | label24 = {{longitem|Average gross salary}} | ||
| + | | data24 = {{{average gross salary|}}} | ||
| + | | label25 = {{longitem|Median gross salary}} | ||
| + | | data25 = {{{gross median|}}} | ||
| + | | label26 = {{longitem|[[Net pay|{{allow wrap|Average net salary}}]]}} | ||
| + | | data26 = {{{average net salary|}}} | ||
| + | | label27 = {{longitem|Median net salary}} | ||
| + | | data27 = {{{net median|}}} | ||
| + | | label28 = {{longitem|Top 10% income}} | ||
| + | | data28 = {{{top ten percent income|}}} | ||
| + | | label29 = {{longitem|Main industries}} | ||
| + | | data29 = {{{industries|}}} | ||
| + | | label30 = {{longitem|[[Ease of doing business index|{{allow wrap|Ease-of-doing-business rank}}]]}} | ||
| + | | data30 = {{{edbr|}}} | ||
| − | | | + | <!-----------------------External--------------------------> |
| − | | | + | | header31 = {{#if:{{{exports|}}}{{{export-goods|}}}{{{export-partners|}}}{{{imports|}}}{{{import-goods|}}}{{{import-partners|}}}{{{FDI|}}}{{{current account|}}}{{{gross external debt|}}}{{{external debt per gdp|}}}{{{external debt payments per gdp|}}}{{{foreign aid revenue per gdp|}}}{{{NIIP|}}} |External}} |
| − | | | + | | label32 = Exports |
| − | | | + | | data32 = {{{exports|}}} |
| − | | | + | | label33 = {{longitem|Export goods}} |
| − | | | + | | data33 = {{{export-goods|}}} |
| − | | | + | | label34 = {{longitem|Main export partners}} |
| − | | | + | | data34 = {{{export-partners|}}} |
| − | | | + | | label35 = Imports |
| − | | | + | | data35 = {{{imports|}}} |
| − | | | + | | label36 = {{longitem|Import goods}} |
| + | | data36 = {{{import-goods|}}} | ||
| + | | label37 = {{longitem|Main import partners}} | ||
| + | | data37 = {{{import-partners|}}} | ||
| + | | label38 = {{longitem|[[Foreign direct investment|FDI]] stock}} | ||
| + | | data38 = {{{FDI|}}} | ||
| + | | label39 = {{longitem|[[current account (balance of payments)|{{allow wrap|Current account}}]]}} | ||
| + | | data39 = {{{current account|}}} | ||
| + | | label40 = {{longitem|Gross [[External debt|{{allow wrap|external debt}}]]}} | ||
| + | | data40 = {{{gross external debt|}}} | ||
| + | | label41 = {{longitem|[[External debt|{{allow wrap|External debt}}]] as % of GDP}} | ||
| + | | data41 = {{{external debt per gdp|}}} | ||
| + | | label42 = {{longitem|External debt payments as % of GDP}} | ||
| + | | data42 = {{{external debt payments per gdp|}}} | ||
| + | | label43 = {{longitem|Foreign-aid revenue as % of GDP}} | ||
| + | | data43 = {{{foreign aid revenue per gdp|}}} | ||
| + | | label44 = {{longitem|[[Net international investment position|{{allow wrap|Net international investment position}}]]}} | ||
| + | | data44 = {{{NIIP|}}} | ||
| − | |belowstyle = background:lightblue; | + | <!--------------------Public finances----------------------> |
| − | |below= {{#if:{{{cianame|}}}|<!-- | + | | header45 = {{#if:{{{debt|}}}{{{balance|}}}{{{revenue|}}}{{{expenses|}}}{{{aid|}}}{{{credit|}}}{{{reserves|}}} |Public finances}} |
| − | }} | + | | label46 = {{longitem|[[List of countries by public debt|{{allow wrap|Public debt}}]]}} |
| − | <noinclude> | + | | data46 = {{{debt|}}} |
| − | {{documentation}} | + | | label47 = {{longitem|[[List of countries by current account balance as a percentage of GDP|{{allow wrap|Budget balance}}]]}} |
| − | + | | data47 = {{{balance|}}} | |
| − | </noinclude> | + | | label48 = Revenues |
| + | | data48 = {{{revenue|}}} | ||
| + | | label49 = Expenses | ||
| + | | data49 = {{{expenses|}}} | ||
| + | | label50 = Economic aid | ||
| + | | data50 = {{{aid|}}} | ||
| + | | label51 = {{longitem|[[List of countries by credit rating|{{allow wrap|Credit rating}}]]}} | ||
| + | | data51 = {{{credit|}}} | ||
| + | | label52 = {{longitem|Foreign reserves}} | ||
| + | | data52 = {{{reserves|}}} | ||
| + | |||
| + | | belowstyle = {{#ifeq:{{{usebelowbox}}}|no | |background:lightblue;}} | ||
| + | | below = {{{footnotes|{{{footnote|}}}}}}<!-- | ||
| + | -->{{#ifeq:{{{usebelowbox}}}|no | | ||
| + | | {{longitem |style=line-height:1.25em;padding:0.2em; | ||
| + | | {{#if:{{{cianame|}}} | ||
| + | | {{nowrap|Main data source:}} <!-- | ||
| + | -->{{nowrap|'''[https://www.cia.gov/the-world-factbook/countries/{{{cianame}}} CIA World Fact Book]'''}}<!-- | ||
| + | -->}} {{#ifeq:{{{presentUS$asdefault}}}|no |<!-- | ||
| + | -->| <br/>''All values, unless otherwise stated, are in [[United States dollar|US dollars]].''<!-- | ||
| + | -->}} }} }} | ||
| + | }}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 03:17, 25 January 2021
Usage
- redirect Template:Parameter names example
{{Infobox economy
| country =
| image =
| image_size =
| caption =
| currency =
| fixed exchange =
| year =
| organs =
| group =
| 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 above documentation is transcluded from Template:Infobox economy/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |