Difference between revisions of "Template:India census population"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>Waterbuck
(why should this be pink?)
Line 3: Line 3:
 
'''{{tld|India census population}}''' is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See [[Pilibhit]] or [[Delhi#Demographics|Delhi]] as an example of how this template is rendered.
 
'''{{tld|India census population}}''' is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See [[Pilibhit]] or [[Delhi#Demographics|Delhi]] as an example of how this template is rendered.
  
The template is rendered in a collapsed state, by default. To display the template in an expanded state, include the argument <code>|state=</code> (without any values).
+
The template is rendered in a collapsed state, by default. To display the template in an expanded state, include the argument <code>|state=</code> (without any values).
  
 
<pre>
 
<pre>
 
{{India census population
 
{{India census population
| title=  
+
| title =  
| state=
+
| state =  
| align=
+
| align =  
| 1791=  
+
| 1791 =  
| 1801=
+
| 1801 =
| 1811=
+
| 1811 =
| 1821=
+
| 1821 =
| 1831=
+
| 1831 =
| 1841=
+
| 1841 =
| 1851=
+
| 1851 =
| 1861=
+
| 1861 =
| 1871=
+
| 1871 =
| 1881=
+
| 1881 =
| 1891=
+
| 1891 =
| 1901=
+
| 1901 =
| 1911=
+
| 1911 =
| 1921=
+
| 1921 =
| 1931=
+
| 1931 =
| 1941=
+
| 1941 =
| 1951=
+
| 1951 =
| 1961=
+
| 1961 =
| 1971=
+
| 1971 =
| 1981=
+
| 1981 =
| 1991=
+
| 1991 =
| 2001=
+
| 2001 =
| estimate=
+
| estimate =  
| estyear=
+
| estyear =  
| estref=
+
| estref =  
| footnote=
+
| footnote =  
 
}}</pre>
 
}}</pre>
 
</noinclude><table class="infobox collapsible {{{state|collapsed}}}" cellpadding="1" cellspacing="0" style="{{#switch:{{{align|right}}}
 
</noinclude><table class="infobox collapsible {{{state|collapsed}}}" cellpadding="1" cellspacing="0" style="{{#switch:{{{align|right}}}
 
|left=float: left; margin-left: 0; margin-right: 1em;
 
|left=float: left; margin-left: 0; margin-right: 1em;
|right=float: right;  
+
|right=float: right;
 
|center=float: none; margin-left: auto; margin-right: auto;
 
|center=float: none; margin-left: auto; margin-right: auto;
 
|none=float: none;
 
|none=float: none;
 
}} text-align:right">
 
}} text-align:right">
 
<tr>
 
<tr>
<th colspan="4" style="background-color:#ffccaa; padding-right:3px; padding-left:3px; text-align:center; font-size: 110%;">{{{title|[[Demographics of India]]}}}&nbsp;</th></tr>
+
<th colspan="4" style="padding-right:3px; padding-left:3px; text-align:center; font-size: 110%;">{{{title|[[Demographics of India]]}}}&nbsp;</th></tr>
 
<tr style="font-size:95%">
 
<tr style="font-size:95%">
 
<th style="text-align:center; border-bottom:1px solid black">Census</th><th style="text-align:center; border-bottom:1px solid black">Pop.</th><th style="text-align:center; border-bottom:1px solid black"> </th><th style="text-align:center; border-bottom:1px solid black">%±</th></tr>
 
<th style="text-align:center; border-bottom:1px solid black">Census</th><th style="text-align:center; border-bottom:1px solid black">Pop.</th><th style="text-align:center; border-bottom:1px solid black"> </th><th style="text-align:center; border-bottom:1px solid black">%±</th></tr>

Revision as of 07:55, 15 June 2011

{{India census population}} is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See Pilibhit or Delhi as an example of how this template is rendered.

The template is rendered in a collapsed state, by default. To display the template in an expanded state, include the argument |state= (without any values).

{{India census population
| title = 
| state = 
| align = 
| 1791 = 
| 1801 =	
| 1811 =	
| 1821 =	
| 1831 =	
| 1841 =	
| 1851 =	
| 1861 =	
| 1871 =	
| 1881 =	
| 1891 =	
| 1901 =	
| 1911 =	
| 1921 =	
| 1931 =	
| 1941 =	
| 1951 =	
| 1961 =	
| 1971 =	
| 1981 =	
| 1991 =	
| 2001 =	
| estimate = 
| estyear = 
| estref = 
| footnote = 
}}