Template:USCensusPopulation: Difference between revisions

From FamilySearch Wiki
(importfromWikipedia)
 
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}} This template is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See [[Alabama#Demographics|Alabama]] as an example of how this template is rendered.  
This template is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See [[Alabama#Demographics|Alabama]] as an example of how this template is rendered.


=== Usage ===
=== Usage ===
<pre>
<pre>{{US Census population
{{US Census population
| 1790=  
| 1790=  
| 1800=
| 1800=
Line 31: Line 29:
| estref=
| estref=
| footnote=
| footnote=
}}</pre>
}}</pre>  
=== Alignment  ===


=== Alignment ===
The default alignment is to float on the right side of the page. To float it to the left, use {{para|align|left}}. For center alignment, use {{para|align|center}}. For left alignment, without wrapping text around it, use {{para|align|none}}.  
The default alignment is to float on the right side of the page. To float it to the left, use {{para|align|left}}. For center alignment, use {{para|align|center}}. For left alignment, without wrapping text around it, use {{para|align|none}}.
 
=== See also ===
* {{tl|Historical populations}}


<includeonly>
<includeonly>

Revision as of 15:08, 5 November 2010

This template is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See Alabama as an example of how this template is rendered. 

Usage[edit source]

{{US Census population
| 1790= 
| 1800=	
| 1810=	
| 1820=	
| 1830=	
| 1840=	
| 1850=	
| 1860=	
| 1870=	
| 1880=	
| 1890=	
| 1900=	
| 1910=	
| 1920=	
| 1930=	
| 1940=	
| 1950=	
| 1960=	
| 1970=	
| 1980=	
| 1990=	
| 2000=	
| estimate=
| estyear=
| estref=
| footnote=
}}

Alignment[edit source]

The default alignment is to float on the right side of the page. To float it to the left, use |align=left. For center alignment, use |align=center. For left alignment, without wrapping text around it, use |align=none.