Jump to content

Template:Historical populations: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
new version which supports percol= for multicolumn output, without percol= this is output-identical to the old version, so no change or loss of functionality (tested in sandbox)
null edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Historical populations|poptable}}</includeonly><noinclude>
<includeonly><table class="toccolours {{#ifeq: {{{state|}}} | collapsed | collapsible collapsed | }}" style="clear: {{#if:{{{clear|}}}|{{{clear}}}|{{{align|right}}}}}; width: {{{width|15em}}}; text-align: center; border-spacing: 0; float: {{{align|right}}}; margin: {{ #switch: {{{align|}}} | left = 0 1em 1em 0 | none = 0.5em 1em 0.5em 0 | #default = 0 0 1em 1em }};">
{{documentation}}
<tr>
<th colspan="{{#if:{{{percol|}}}|99|{{#ifeq:{{{percentages}}}|off|2|3}}}}" class="navbox-title" style="font-size:110%;">{{{title|Historical population}}}</th>
</tr>{{#if:{{{percol|}}}|
<tr valign=top><td style="padding:0 0.5em"><table style="border-spacing: 0; width:{{{width|15em}}}">}}{{
#if: {{{1|}}} | {{Historical populations/row|{{{1}}}|{{{2}}}|{{{0|}}}|{{{0|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=1|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{3|}}} | {{Historical populations/row|{{{3}}}|{{{4}}}|{{{2|}}}|{{{1|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=2|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{5|}}} | {{Historical populations/row|{{{5}}}|{{{6}}}|{{{4|}}}|{{{3|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=3|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{7|}}} | {{Historical populations/row|{{{7}}}|{{{8}}}|{{{6|}}}|{{{5|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=4|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{9|}}} | {{Historical populations/row|{{{9}}}|{{{10}}}|{{{8|}}}|{{{7|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=5|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{11|}}} | {{Historical populations/row|{{{11}}}|{{{12}}}|{{{10|}}}|{{{9|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=6|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{13|}}} | {{Historical populations/row|{{{13}}}|{{{14}}}|{{{12|}}}|{{{11|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=7|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{15|}}} | {{Historical populations/row|{{{15}}}|{{{16}}}|{{{14|}}}|{{{13|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=8|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{17|}}} | {{Historical populations/row|{{{17}}}|{{{18}}}|{{{16|}}}|{{{15|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=9|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{19|}}} | {{Historical populations/row|{{{19}}}|{{{20}}}|{{{18|}}}|{{{17|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=10|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{21|}}} | {{Historical populations/row|{{{21}}}|{{{22}}}|{{{20|}}}|{{{19|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=11|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{23|}}} | {{Historical populations/row|{{{23}}}|{{{24}}}|{{{22|}}}|{{{21|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=12|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{25|}}} | {{Historical populations/row|{{{25}}}|{{{26}}}|{{{24|}}}|{{{23|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=13|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{27|}}} | {{Historical populations/row|{{{27}}}|{{{28}}}|{{{26|}}}|{{{25|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=14|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{29|}}} | {{Historical populations/row|{{{29}}}|{{{30}}}|{{{28|}}}|{{{27|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=15|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{31|}}} | {{Historical populations/row|{{{31}}}|{{{32}}}|{{{30|}}}|{{{29|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=16|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{33|}}} | {{Historical populations/row|{{{33}}}|{{{34}}}|{{{32|}}}|{{{31|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=17|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{35|}}} | {{Historical populations/row|{{{35}}}|{{{36}}}|{{{34|}}}|{{{33|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=18|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{37|}}} | {{Historical populations/row|{{{37}}}|{{{38}}}|{{{36|}}}|{{{35|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=19|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{39|}}} | {{Historical populations/row|{{{39}}}|{{{40}}}|{{{38|}}}|{{{37|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=20|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{41|}}} | {{Historical populations/row|{{{41}}}|{{{42}}}|{{{40|}}}|{{{39|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=21|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{43|}}} | {{Historical populations/row|{{{43}}}|{{{44}}}|{{{42|}}}|{{{41|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=22|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{45|}}} | {{Historical populations/row|{{{45}}}|{{{46}}}|{{{44|}}}|{{{43|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=23|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{47|}}} | {{Historical populations/row|{{{47}}}|{{{48}}}|{{{46|}}}|{{{45|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=24|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{49|}}} | {{Historical populations/row|{{{49}}}|{{{50}}}|{{{48|}}}|{{{47|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=25|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{51|}}} | {{Historical populations/row|{{{51}}}|{{{52}}}|{{{50|}}}|{{{49|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=26|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{53|}}} | {{Historical populations/row|{{{53}}}|{{{54}}}|{{{52|}}}|{{{51|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=27|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{55|}}} | {{Historical populations/row|{{{55}}}|{{{56}}}|{{{54|}}}|{{{53|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=28|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{57|}}} | {{Historical populations/row|{{{57}}}|{{{58}}}|{{{56|}}}|{{{55|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=29|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{59|}}} | {{Historical populations/row|{{{59}}}|{{{60}}}|{{{58|}}}|{{{57|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=30|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{61|}}} | {{Historical populations/row|{{{61}}}|{{{62}}}|{{{60|}}}|{{{59|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=31|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{63|}}} | {{Historical populations/row|{{{63}}}|{{{64}}}|{{{62|}}}|{{{61|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=32|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{65|}}} | {{Historical populations/row|{{{65}}}|{{{66}}}|{{{64|}}}|{{{63|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=33|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{67|}}} | {{Historical populations/row|{{{67}}}|{{{68}}}|{{{66|}}}|{{{65|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=34|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{69|}}} | {{Historical populations/row|{{{69}}}|{{{70}}}|{{{68|}}}|{{{67|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=35|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{71|}}} | {{Historical populations/row|{{{71}}}|{{{72}}}|{{{70|}}}|{{{69|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=36|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{73|}}} | {{Historical populations/row|{{{73}}}|{{{74}}}|{{{72|}}}|{{{71|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=37|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{75|}}} | {{Historical populations/row|{{{75}}}|{{{76}}}|{{{74|}}}|{{{73|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=38|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{77|}}} | {{Historical populations/row|{{{77}}}|{{{78}}}|{{{76|}}}|{{{75|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=39|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{79|}}} | {{Historical populations/row|{{{79}}}|{{{80}}}|{{{78|}}}|{{{77|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=40|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{81|}}} | {{Historical populations/row|{{{81}}}|{{{82}}}|{{{80|}}}|{{{79|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=41|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{83|}}} | {{Historical populations/row|{{{83}}}|{{{84}}}|{{{82|}}}|{{{81|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=42|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{85|}}} | {{Historical populations/row|{{{85}}}|{{{86}}}|{{{84|}}}|{{{83|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=43|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{87|}}} | {{Historical populations/row|{{{87}}}|{{{88}}}|{{{86|}}}|{{{85|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=44|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{89|}}} | {{Historical populations/row|{{{89}}}|{{{90}}}|{{{88|}}}|{{{87|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=45|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{91|}}} | {{Historical populations/row|{{{91}}}|{{{92}}}|{{{90|}}}|{{{89|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=46|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{93|}}} | {{Historical populations/row|{{{93}}}|{{{94}}}|{{{92|}}}|{{{91|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=47|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{95|}}} | {{Historical populations/row|{{{95}}}|{{{96}}}|{{{94|}}}|{{{93|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=48|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{97|}}} | {{Historical populations/row|{{{97}}}|{{{98}}}|{{{96|}}}|{{{95|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off|width={{{width|15em}}}|row=49|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{
#if: {{{99|}}} | {{Historical populations/row|{{{99}}}|{{{100}}}|{{{98|}}}|{{{97|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}|width={{{width|15em}}}|row=50|percol={{{percol|}}}|pop_name={{{pop_name|}}}}} }}{{#if:{{{percol|}}}|
</table></td>
</tr>}}{{#if: {{{footnote|}}}{{{source|}}} |
<tr>
<td colspan="{{#if:{{{percol|}}}|99|{{#ifeq:{{{percentages}}}|off|2|3}}}}" style="border-top: 1px solid black; font-size: 85%; text-align: left;">{{Br separated entries|{{{footnote|}}}|{{#if:{{{source|}}}|Source: {{{source}}}}}}}
</td></tr>
}}</table></includeonly><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:10, 21 October 2022