Template:Historical populations: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<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;"> | <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;"> | ||
<tr><th colspan="{{# | <tr><th colspan="{{#ifeq:{{{percentages|}}}|off|2|3}}"> <span style="font-size:110%;">{{{title|Historical population}}}</span></th><tr> | ||
<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> | <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> | ||
{{#ifeq: {{{percentages|}}}|off|</tr>|<td style="border-bottom: 1px solid black; padding: 1px;">±% change</td></tr>}} | {{#ifeq: {{{percentages|}}}|off|</tr>|<td style="border-bottom: 1px solid black; padding: 1px;">±% change</td></tr>}} |
Revision as of 04:51, 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.