Template:Historical populations: Difference between revisions

From OpenGeofiction
(Created page with "<includeonly>{| class="toccolours collapsible collapsed" style="clear: right; width: {{{width|15em}}}; text-align: center; border-spacing: 0; float: right; margin: 0 0 1em 1em...")
 
m (Heavily revising)
Line 1: Line 1:
<includeonly>{| class="toccolours collapsible collapsed" style="clear: right; width: {{{width|15em}}}; text-align: center; border-spacing: 0; float: right; margin: 0 0 1em 1em;"
<includeonly><table class="toccolours collapsible collapsed" style="clear: right; width: {{{width|15em}}}; text-align: center; border-spacing: 0; float: right; margin: 0 0 1em 1em;">
|-
<th> colspan="{{#ifeq:{{{percentages}}}|off|2|3}}" | <span style="font-size:110%;">{{{title|Historical population}}}</span></th>
! colspan="{{#ifeq:{{{percentages}}}|off|2|3}}" class="navbox-title" | <span style="font-size:110%;">{{{title|Historical population}}}</span>
<tr style="font-size: 95%;"><td style="border-bottom: 1px solid black; padding: 1px; width: {{#ifeq: {{{percentages|}}}|off|auto|20%}};">Year</td><td style="border-bottom: 1px solid black; padding: 1px;">Population</td>
|- style="font-size: 95%;"
{{#ifeq: {{{percentages|}}}|off||<td style="border-bottom: 1px solid black; padding: 1px;">±% change</td></tr>{{
! style="border-bottom: 1px solid black; padding: 1px; width: {{#ifeq: {{{percentages|}}}|off|auto|20%}};" | Year
#if: {{{1|}}} | <tr><td>'''{{{1}}}'''</td><td>{{{2}}}</td>{{#if: {{{percentages|off}}}| |<td> &mdash; </td>}}</tr>
! style="border-bottom: 1px solid black; padding: 1px;" | Population
#if: {{{3|}}} | <tr><td>'''{{{3}}}'''</td><td>{{{4}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{4}}}|{{{2}}}}}</td>}}</tr>
{{#ifeq: {{{percentages|}}}|off||! style="border-bottom: 1px solid black; padding: 1px;" {{!}} {{#ifeq: {{{percentages|}}}|pagr|±% p.a.|±%}} }}{{
#if: {{{5|}}} | <tr><td>'''{{{5}}}'''</td><td>{{{6}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{6}}}|{{{4}}}}}</td>}}</tr>
#if: {{{1|}}} | {{Historical populations/Row|{{{1}}}|{{{2}}}|{{{0|}}}|{{{0|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{7|}}} | <tr><td>'''{{{7}}}'''</td><td>{{{8}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{8}}}|{{{6}}}}}</td>}}</tr>
#if: {{{3|}}} | {{Historical populations/Row|{{{3}}}|{{{4}}}|{{{2|}}}|{{{1|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{9|}}} | <tr><td>'''{{{9}}}'''</td><td>{{{10}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{10}}}|{{{8}}}}}</td>}}</tr>
#if: {{{5|}}} | {{Historical populations/Row|{{{5}}}|{{{6}}}|{{{4|}}}|{{{3|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{11|}}} | <tr><td>'''{{{11}}}'''</td><td>{{{12}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{12}}}|{{{10}}}}}</td>}}</tr>
#if: {{{7|}}} | {{Historical populations/Row|{{{7}}}|{{{8}}}|{{{6|}}}|{{{5|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{13|}}} | <tr><td>'''{{{13}}}'''</td><td>{{{14}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{14}}}|{{{12}}}}}</td>}}</tr>
#if: {{{9|}}} | {{Historical populations/Row|{{{9}}}|{{{10}}}|{{{8|}}}|{{{7|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{15|}}} | <tr><td>'''{{{15}}}'''</td><td>{{{16}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{16}}}|{{{14}}}}}</td>}}</tr>
#if: {{{11|}}} | {{Historical populations/Row|{{{11}}}|{{{12}}}|{{{10|}}}|{{{9|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{17|}}} | <tr><td>'''{{{17}}}'''</td><td>{{{18}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{18}}}|{{{16}}}}}</td>}}</tr>
#if: {{{13|}}} | {{Historical populations/Row|{{{13}}}|{{{14}}}|{{{12|}}}|{{{11|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{19|}}} | <tr><td>'''{{{19}}}'''</td><td>{{{20}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{20}}}|{{{18}}}}}</td>}}</tr>
#if: {{{15|}}} | {{Historical populations/Row|{{{15}}}|{{{16}}}|{{{14|}}}|{{{13|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{21|}}} | <tr><td>'''{{{21}}}'''</td><td>{{{22}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{22}}}|{{{20}}}}}</td>}}</tr>
#if: {{{17|}}} | {{Historical populations/Row|{{{17}}}|{{{18}}}|{{{16|}}}|{{{15|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{23|}}} | <tr><td>'''{{{23}}}'''</td><td>{{{24}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{24}}}|{{{22}}}}}</td>}}</tr>
#if: {{{19|}}} | {{Historical populations/Row|{{{19}}}|{{{20}}}|{{{18|}}}|{{{17|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{25|}}} | <tr><td>'''{{{25}}}'''</td><td>{{{26}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{26}}}|{{{24}}}}}</td>}}</tr>
#if: {{{21|}}} | {{Historical populations/Row|{{{21}}}|{{{22}}}|{{{20|}}}|{{{19|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{27|}}} | <tr><td>'''{{{27}}}'''</td><td>{{{28}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{28}}}|{{{26}}}}}</td>}}</tr>
#if: {{{23|}}} | {{Historical populations/Row|{{{23}}}|{{{24}}}|{{{22|}}}|{{{21|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{29|}}} | <tr><td>'''{{{29}}}'''</td><td>{{{30}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{30}}}|{{{28}}}}}</td>}}</tr>
#if: {{{25|}}} | {{Historical populations/Row|{{{25}}}|{{{26}}}|{{{24|}}}|{{{23|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{31|}}} | <tr><td>'''{{{31}}}'''</td><td>{{{32}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{32}}}|{{{30}}}}}</td>}}</tr>
#if: {{{27|}}} | {{Historical populations/Row|{{{27}}}|{{{28}}}|{{{26|}}}|{{{25|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{33|}}} | <tr><td>'''{{{33}}}'''</td><td>{{{34}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{34}}}|{{{32}}}}}</td>}}</tr>
#if: {{{29|}}} | {{Historical populations/Row|{{{29}}}|{{{30}}}|{{{28|}}}|{{{27|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{35|}}} | <tr><td>'''{{{35}}}'''</td><td>{{{36}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{36}}}|{{{34}}}}}</td>}}</tr>
#if: {{{31|}}} | {{Historical populations/Row|{{{31}}}|{{{32}}}|{{{30|}}}|{{{29|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{37|}}} | <tr><td>'''{{{37}}}'''</td><td>{{{38}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{38}}}|{{{36}}}}}</td>}}</tr>
#if: {{{33|}}} | {{Historical populations/Row|{{{33}}}|{{{34}}}|{{{32|}}}|{{{31|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{39|}}} | <tr><td>'''{{{39}}}'''</td><td>{{{40}}}</td>{{#if: {{{percentages|off}}}| |<td>{{Percent change|{{{40}}}|{{{38}}}}}</td>}}</tr>
#if: {{{35|}}} | {{Historical populations/Row|{{{35}}}|{{{36}}}|{{{34|}}}|{{{33|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
</table></includeonly><noinclude>
#if: {{{37|}}} | {{Historical populations/Row|{{{37}}}|{{{38}}}|{{{36|}}}|{{{35|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{39|}}} | {{Historical populations/Row|{{{39}}}|{{{40}}}|{{{38|}}}|{{{37|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{41|}}} | {{Historical populations/Row|{{{41}}}|{{{42}}}|{{{40|}}}|{{{39|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{43|}}} | {{Historical populations/Row|{{{43}}}|{{{44}}}|{{{42|}}}|{{{41|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{45|}}} | {{Historical populations/Row|{{{45}}}|{{{46}}}|{{{44|}}}|{{{43|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{47|}}} | {{Historical populations/Row|{{{47}}}|{{{48}}}|{{{46|}}}|{{{45|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{49|}}} | {{Historical populations/Row|{{{49}}}|{{{50}}}|{{{48|}}}|{{{47|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{51|}}} | {{Historical populations/Row|{{{51}}}|{{{52}}}|{{{50|}}}|{{{49|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{53|}}} | {{Historical populations/Row|{{{53}}}|{{{54}}}|{{{52|}}}|{{{51|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{55|}}} | {{Historical populations/Row|{{{55}}}|{{{56}}}|{{{54|}}}|{{{53|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{57|}}} | {{Historical populations/Row|{{{57}}}|{{{58}}}|{{{56|}}}|{{{55|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{59|}}} | {{Historical populations/Row|{{{59}}}|{{{60}}}|{{{58|}}}|{{{57|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{61|}}} | {{Historical populations/Row|{{{61}}}|{{{62}}}|{{{60|}}}|{{{59|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{63|}}} | {{Historical populations/Row|{{{63}}}|{{{64}}}|{{{62|}}}|{{{61|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{65|}}} | {{Historical populations/Row|{{{65}}}|{{{66}}}|{{{64|}}}|{{{63|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{67|}}} | {{Historical populations/Row|{{{67}}}|{{{68}}}|{{{66|}}}|{{{65|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{69|}}} | {{Historical populations/Row|{{{69}}}|{{{70}}}|{{{68|}}}|{{{67|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{71|}}} | {{Historical populations/Row|{{{71}}}|{{{72}}}|{{{70|}}}|{{{69|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{73|}}} | {{Historical populations/Row|{{{73}}}|{{{74}}}|{{{72|}}}|{{{71|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{75|}}} | {{Historical populations/Row|{{{75}}}|{{{76}}}|{{{74|}}}|{{{73|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{77|}}} | {{Historical populations/Row|{{{77}}}|{{{78}}}|{{{76|}}}|{{{75|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{79|}}} | {{Historical populations/Row|{{{79}}}|{{{80}}}|{{{78|}}}|{{{77|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{81|}}} | {{Historical populations/Row|{{{81}}}|{{{82}}}|{{{80|}}}|{{{79|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{83|}}} | {{Historical populations/Row|{{{83}}}|{{{84}}}|{{{82|}}}|{{{81|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{85|}}} | {{Historical populations/Row|{{{85}}}|{{{86}}}|{{{84|}}}|{{{83|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{87|}}} | {{Historical populations/Row|{{{87}}}|{{{88}}}|{{{86|}}}|{{{85|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{89|}}} | {{Historical populations/Row|{{{89}}}|{{{90}}}|{{{88|}}}|{{{87|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}{{
#if: {{{91|}}} | {{Historical populations/Row|{{{91}}}|{{{92}}}|{{{90|}}}|{{{89|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{93|}}} | {{Historical populations/Row|{{{93}}}|{{{94}}}|{{{92|}}}|{{{91|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{95|}}} | {{Historical populations/Row|{{{95}}}|{{{96}}}|{{{94|}}}|{{{93|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{97|}}} | {{Historical populations/Row|{{{97}}}|{{{98}}}|{{{96|}}}|{{{95|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading=off}} }}{{
#if: {{{99|}}} | {{Historical populations/Row|{{{99}}}|{{{100}}}|{{{98|}}}|{{{97|}}}|percentages={{{percentages|}}}|type={{{type|}}}|shading={{{shading|on}}}}} }}
|}</includeonly><noinclude>
{{Wpderiv}}
{{Wpderiv}}



Revision as of 04:40, 5 July 2023

This template is modeled after and adapted from a template originally found on Wikipedia and licensed under Creative Commons-ShareAlike-Attribution 3.0.

For usage, please note that the only defined parameters that were included in this version are width, percentages, and title.