Difference between revisions of "Template:India census population"
Jump to navigation
Jump to search
imported>Frietjes (mixed html + wikicode -> html) |
imported>Frietjes (float) |
||
| Line 37: | Line 37: | ||
| footnote= | | footnote= | ||
}}</pre> | }}</pre> | ||
| − | </noinclude><table class=" | + | </noinclude><table class="infobox collapsible {{{state|collapsed}}}" cellpadding="1" cellspacing="0" style="{{#switch:{{{align|right}}} |
| + | |left=float: left; margin-left: 0; margin-right: 1em; | ||
| + | |right=float: right; | ||
| + | |center=float: none; margin-left: auto; margin-right: auto; | ||
| + | |none=float: none; | ||
| + | }} 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]]}}} </th></tr> | <th colspan="4" style="background-color:#ffccaa; padding-right:3px; padding-left:3px; text-align:center; font-size: 110%;">{{{title|[[Demographics of India]]}}} </th></tr> | ||
Revision as of 16:07, 28 March 2011
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Template:IndiaCensusPop 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).
{{IndiaCensusPop
| 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=
}}
| Demographics of India | |||
|---|---|---|---|
| Census | Pop. | %± | |