Difference between revisions of "Template:India census population"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(Tagging page for conversion)
imported>Jeet Dev
Line 45: Line 45:
 
<th colspan="4" style="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 #000">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 #000">Census</th><th style="text-align:center; border-bottom:1px solid black">Population</th><th style="text-align:center; border-bottom:1px solid black"> </th><th style="text-align:center; border-bottom:1px solid black">%±</th></tr>
 
{{#if:{{{1791|}}} |
 
{{#if:{{{1791|}}} |
 
<tr><td style="text-align:center">'''1791'''</td><td style="padding-left:8px">{{formatnum: {{{1791}}} }}</td><td>{{{1791n|}}}</td><td style="padding-left:8px">{{Center|—}}</td></tr>
 
<tr><td style="text-align:center">'''1791'''</td><td style="padding-left:8px">{{formatnum: {{{1791}}} }}</td><td>{{{1791n|}}}</td><td style="padding-left:8px">{{Center|—}}</td></tr>

Revision as of 10:37, 23 June 2020

{{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 = 
}}