Difference between revisions of "Template:Infobox economy"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(Fix too small font per MOS:FONTSIZE.)
imported>GreenC
(URL change see talk)
 
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}}</noinclude>
 
}}</includeonly><noinclude>{{documentation}}</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