Difference between revisions of "Template:Infobox country demographics/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(add cat)
imported>Funandtrvl
(add cat)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 +
{{Parameter names example
 +
| country         
 +
| image           
 +
| image_size       
 +
| alt             
 +
| caption         
 +
| size_of_population 
 +
| density         
 +
| growth           
 +
| birth           
 +
| death             
 +
| life             
 +
| life_male         
 +
| life_female     
 +
| fertility       
 +
| infant_mortality 
 +
| net_migration     
 +
| age_0–14_years   
 +
| age_15–64_years   
 +
| age_65_years     
 +
| total_mf_ratio   
 +
| sr_at_birth       
 +
| sr_under_15       
 +
| sr_15–64_years   
 +
| sr_65_years_over 
 +
| nation           
 +
| major_ethnic       
 +
| minor_ethnic     
 +
| official         
 +
| spoken           
 +
}}
  
 
== Usage ==
 
== Usage ==
<pre width="50%">
+
<pre style="overflow:auto;">
 
{{Infobox country demographics
 
{{Infobox country demographics
 
  | country            =  
 
  | country            =  
 
  | image              =  
 
  | image              =  
 +
| image_size        =
 +
| alt                =
 
  | caption            =  
 
  | caption            =  
  
Line 18: Line 51:
 
  | life_male          =  
 
  | life_male          =  
 
  | life_female        =  
 
  | life_female        =  
 +
| fertility          =
 
  | infant_mortality  =
 
  | infant_mortality  =
  | fertility          =  
+
  | net_migration      =
  
 
<!-- age structure -->
 
<!-- age structure -->
Line 43: Line 77:
 
}}</pre>
 
}}</pre>
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories and interwikis go here: -->
+
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Geography and place infobox templates|Country Demographics]]
+
{{DEFAULTSORT:Infobox Country Demographics}}
 +
[[Category:Country infobox templates|Demographics]]
 
[[Category:Demography templates]]
 
[[Category:Demography templates]]
  
 
[[pt:Predefinição:Info/Demografia de país]]
 
[[pt:Predefinição:Info/Demografia de país]]
</includeonly>
+
}}</includeonly>

Revision as of 21:30, 11 September 2014

Template:Parameter names example

Usage

{{Infobox country demographics
 | country            = 
 | image              = 
 | image_size         =
 | alt                =
 | caption            = 

<!-- main demographics -->
 | size_of_population = 
 | density            = 
 | growth             = 
 | birth              = 
 | death              = 
 | life               = 
 | life_male          = 
 | life_female        = 
 | fertility          = 
 | infant_mortality   =
 | net_migration      =

<!-- age structure -->
 | age_0–14_years     = 
 | age_15–64_years    = 
 | age_65_years       = 

<!-- sex ratio -->
 | total_mf_ratio     = 
 | sr_at_birth        = 
 | sr_under_15        = 
 | sr_15–64_years     = 
 | sr_65_years_over   = 

<!-- nationality -->
 | nation             = 
 | major_ethnic       = 
 | minor_ethnic       = 

<!-- language -->
 | official           = 
 | spoken             = 
}}