Difference between revisions of "Template:India census population"
imported>Waterbuck (why should this be pink?) |
imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}}) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| + | {{collapsible option}} | ||
{{intricate template}} | {{intricate template}} | ||
'''{{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. | ||
Revision as of 19:27, 25 February 2013
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{India census population|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{India census population|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{India census population|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
| 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. |
{{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 =
}}
| Demographics of India | |||
|---|---|---|---|
| Census | Pop. | %± | |