Difference between revisions of "Template:Infobox economy"

From blackwiki
Jump to navigation Jump to search
imported>KREOH
(Groups as in advanced/emerging/upper-middle-income & so on.)
imported>GreenC
(URL change see talk)
 
(2 intermediate revisions by 2 users not shown)
Line 38: Line 38:
 
| label14 = {{longitem|GDP by component}}
 
| label14 = {{longitem|GDP by component}}
 
| data14 = {{{components|}}}
 
| data14 = {{{components|}}}
| label15 = {{longitem|style=line-height:1.2em|[[Inflation]] {{smaller|([[Consumer price index|CPI]])}}}}
+
| label15 = {{longitem|style=line-height:1.2em|[[Inflation]] ([[Consumer price index|CPI]])}}
 
| data15 = {{{inflation|}}}
 
| data15 = {{{inflation|}}}
 
| label16 = {{longitem|[[Bank rate|{{allow wrap|Base borrowing rate}}]]}}
 
| label16 = {{longitem|[[Bank rate|{{allow wrap|Base borrowing rate}}]]}}
 
| data16 = {{{bankrate|}}}
 
| data16 = {{{bankrate|}}}
| label17 = {{longitem|style=line-height:1.2em|[[Millionaire]]s {{smaller|([[United States dollar|US$]])}}}}
+
| label17 = {{longitem|style=line-height:1.2em|[[Millionaire]]s ([[United States dollar|US$]])}}
 
| data17 = {{{millionaires|}}}
 
| data17 = {{{millionaires|}}}
 
| label18 = {{longitem|Population below {{nowrap|[[Poverty threshold|poverty line]]}}}}
 
| label18 = {{longitem|Population below {{nowrap|[[Poverty threshold|poverty line]]}}}}
Line 87: Line 87:
 
| label38 = {{longitem|[[Foreign direct investment|FDI]] stock}}
 
| label38 = {{longitem|[[Foreign direct investment|FDI]] stock}}
 
| data38 = {{{FDI|}}}
 
| data38 = {{{FDI|}}}
| label39 = {{longitem|[[Current account|{{allow wrap|Current account}}]]}}
+
| label39 = {{longitem|[[current account (balance of payments)|{{allow wrap|Current account}}]]}}
 
| data39 = {{{current account|}}}
 
| data39 = {{{current account|}}}
 
| label40 = {{longitem|Gross [[External debt|{{allow wrap|external debt}}]]}}
 
| label40 = {{longitem|Gross [[External debt|{{allow wrap|external debt}}]]}}
Line 123: Line 123:
 
         |  {{#if:{{{cianame|}}}
 
         |  {{#if:{{{cianame|}}}
 
             |  {{nowrap|Main data source:}} <!--
 
             |  {{nowrap|Main data source:}} <!--
               -->{{nowrap|'''[https://www.cia.gov/library/publications/resources/the-world-factbook/geos/{{{cianame}}}.html CIA World Fact Book]'''}}<!--
+
               -->{{nowrap|'''[https://www.cia.gov/the-world-factbook/countries/{{{cianame}}} CIA World Fact Book]'''}}<!--
 
         -->}} {{#ifeq:{{{presentUS$asdefault}}}|no |<!--
 
         -->}} {{#ifeq:{{{presentUS$asdefault}}}|no |<!--
 
             -->| <br/>''All values, unless otherwise stated, are in [[United States dollar|US dollars]].''<!--
 
             -->| <br/>''All values, unless otherwise stated, are in [[United States dollar|US dollars]].''<!--
 
  -->}} }}      }}
 
  -->}} }}      }}
}}</includeonly><noinclude>{{documentation}}
+
}}</includeonly><noinclude>{{documentation}}</noinclude>
[[Category:Infobox templates using small or smaller]]</noinclude>
 

Latest revision as of 03:17, 25 January 2021

Template documentation[view] [edit] [history] [purge]

Usage

  1. 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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Countrycountry

Name of the country

Stringoptional
Imageimage

The name of the image file to display, without the "File:" prefix

Stringoptional
GDPgdp

Gross domestic product (typically nominal, unless stated otherwise)

Stringoptional
GDP Rankgdp rank

Gross domestic product rank (typically nominal, unless stated otherwise)

Stringoptional

Microformat

Template:UF-adr