Difference between revisions of "Template:30 most populous cities of Sweden"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tallium
(update with 2015 data, move ref to the bottom; replace raw html tables with a template; split into three columns to accommodate long names of urban areas)
Line 3: Line 3:
 
|title = [[List of urban areas in Sweden by population|30 most populous cities of Sweden]]
 
|title = [[List of urban areas in Sweden by population|30 most populous cities of Sweden]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|image = {{Coat of arms|Sweden|text=none|size=50px}}
+
|image = {{Coat of arms|Sweden|text=none|size=70px}}
|padding  = 0
 
|colwidth = 13.5em
 
|colstyle = padding:0.5em 0;
 
  
|above = as of 2010, according to [[Statistics Sweden]] [http://www.ssd.scb.se/databaser/makro/visavar.asp?omradekod=BE&deltabell=1&huvudtabell=FolkmangdTatort&xu=C9233001&yp=tansss&inl=&V=1&Tidfinns=1&databas=SDB_Befolkning1&prodid=BE0101&innehall=Folkmangd&preskat=O&starttid=1990&stopptid=2000&lang=1&Fromwhere=S&FromSel=VA&langdb=1]
+
|below = as of 2015, according to {{cite web|url=https://www.scb.se/contentassets/55b2d3dbe48a4dcc85f93f4db599d868/mi0810_2015a01_sm_mi38sm1601.pdf|title=Tätorter 2015|language=sv|access-date=2017-07-22|publisher=[[Statistics Sweden]]}}
 +
|colwidth = 20em
 +
|col1 =  
 +
{{aligned table|cols=3
 +
|style= white-space:nowrap; line-height:1.2em; text-align:right
 +
|col2style=text-align:left;
 +
| 1. | [[Stockholm]]  | 1,515,017
 +
| 2. | [[Gothenburg]] | 572,799
 +
| 3. | [[Malmö]] | 301,706
 +
| 4. | [[Uppsala]] | 149,245
 +
| 5. | [[Upplands Väsby]] and [[Sollentuna]] | 139,606
 +
| 6. | [[Västerås]] | 117,746
 +
| 7.  | [[Örebro]] | 115,765
 +
| 8.  | [[Linköping]]  | 106,502
 +
| 9.  | [[Helsingborg]] | 104,250
 +
| 10. | [[Jönköping]] | 93,797
 +
}}
  
|col1width=15.75em
+
|col2 =
|col1 =
+
{{aligned table|cols=3
<table align="center" style="background:transparent; line-height:1.2em; text-align:right;" cellspacing="0" cellpadding="2">
+
|style=white-space:nowrap; line-height:1.2em; text-align:right; width: 90%
  <tr><td>1.</td><td style="text-align:left;width:5.5em;">[[Stockholm]]</td><td>1,372,565</td></tr>
+
|col2style=text-align:left
  <tr><td>2.</td><td style="text-align:left;">[[Gothenburg]]</td><td>549,839</td></tr>
+
| 11. | [[Norrköping]] | 93,765
  <tr><td>3.</td><td style="text-align:left;">[[Malmö]]</td><td>341,457</td></tr>
+
| 12. | [[Lund]] | 87,244
  <tr><td>4.</td><td style="text-align:left;">[[Uppsala]]</td><td>140,454</td></tr>
+
| 13. | [[Umeå]] | 83,249
  <tr><td>5.</td><td style="text-align:left;">[[Västerås]]</td><td>110,877</td></tr>
+
| 14. | [[Gävle]] | 74,884
  <tr><td>6.</td><td style="text-align:left;">[[Örebro]]</td><td>107,038</td></tr>
+
| 15. | [[Borås]] | 71,700
</table>
+
| 16. | [[Södertälje]] | 70,777
 +
| 17. | [[Eskilstuna]] | 67,359
 +
| 18. | [[Halmstad]] | 66,124
 +
| 19. | [[Växjö]] | 65,383
 +
| 20. | [[Karlstad]] | 61,492
 +
}}
  
|col2width=15.75em
 
|col2 =
 
<table align="center" style="background:transparent; line-height:1.2em; text-align:right;" cellspacing="0" cellpadding="2">
 
  <tr><td> 7.</td><td style="text-align:left;width:5.75em;">[[Linköping]]</td><td>104,232</td></tr>
 
  <tr><td> 8.</td><td style="text-align:left;">[[Helsingborg]]</td><td>97,122</td></tr>
 
  <tr><td> 9.</td><td style="text-align:left;">[[Jönköping]]</td><td>89,396</td></tr>
 
  <tr><td>10.</td><td style="text-align:left;">[[Norrköping]]</td><td>87,247</td></tr>
 
  <tr><td>11.</td><td style="text-align:left;">[[Lund]]</td><td>82,800</td></tr>
 
  <tr><td>12.</td><td style="text-align:left;">[[Umeå]]</td><td>79,594</td></tr>
 
</table>
 
 
|col3width=15.75em
 
 
|col3 =
 
|col3 =
<table align="center" style="background:transparent; line-height:1.2em; text-align:right;" cellspacing="0" cellpadding="2">
+
{{aligned table|cols=3
  <tr><td>13.</td><td style="text-align:left;width:5.5em;">[[Gävle]]</td><td>71,033</td></tr>
+
|style= white-space:nowrap; line-height:1.2em; text-align:right
  <tr><td>14.</td><td style="text-align:left;">[[Borås]]</td><td>66,273</td></tr>
+
|col2style=text-align:left
  <tr><td>15.</td><td style="text-align:left;">[[Eskilstuna]]</td><td>64,679</td></tr>
+
| 21. | [[Sundsvall]] | 57,606
  <tr><td>16.</td><td style="text-align:left;">[[Södertälje]]</td><td>64,619</td></tr>
+
| 22. | [[Östersund]] | 49,806
  <tr><td>17.</td><td style="text-align:left;">[[Karlstad]]</td><td>61,685</td></tr>
+
| 23. | [[Trollhättan]] | 48,573
  <tr><td>18.</td><td style="text-align:left;">[[Täby]]</td><td>61,272</td></tr>
+
| 24. | North-east [[Gothenburg]] | 45,106
</table>
+
| 25. | [[Luleå]] | 43,574
 
+
| 26. | [[Lidingö]] | 42,466
|col4width=16.00em
+
| 27. | [[Borlänge]] | 41,955
|col4 =
+
| 28. | [[Tumba, Sweden|Tumba]] | 40,832
<table align="center" style="background:transparent; line-height:1.2em; text-align:right;" cellspacing="0" cellpadding="2">
+
| 29. | [[Kristianstad]] | 39,762
  <tr><td>19.</td><td style="text-align:left;">[[Växjö]]</td><td>60,887</td></tr>
+
| 30. | [[Kalmar]] | 38,408
  <tr><td>20.</td><td style="text-align:left;width:5.5em;">[[Halmstad]]</td><td>58,577</td></tr>
+
}}
  <tr><td>21.</td><td style="text-align:left;">[[Sundsvall]]</td><td>50,712</td></tr>
 
  <tr><td>22.</td><td style="text-align:left;">[[Luleå]]</td><td>46,607</td></tr>
 
  <tr><td>23.</td><td style="text-align:left;">[[Trollhättan]]</td><td>46,457</td></tr>
 
  <tr><td>24.</td><td style="text-align:left;">[[Östersund]]</td><td>44,327</td></tr>
 
</table>
 
 
 
|col5width=16.0em
 
|col5 =
 
<table align="center" style="background:transparent; line-height:1.2em; text-align:right;" cellspacing="0" cellpadding="2">
 
  <tr><td>25.</td><td style="text-align:left;width:7.5em;">[[Borlänge]]</td><td>41,734</td></tr>
 
  <tr><td>26.</td><td align="left">[[Tumba, Sweden|Tumba]]</td><td>37,852</td></tr>
 
  <tr><td>27.</td><td align="left">[[Upplands Väsby]]</td><td>37,594</td></tr>
 
  <tr><td>28.</td><td align="left">[[Falun]]</td><td>37,291</td></tr>
 
  <tr><td>29.</td><td align="left">[[Kalmar]]</td><td>36,392</td></tr>
 
  <tr><td>30.</td><td align="left">[[Kristianstad]]</td><td>35,711</td></tr>
 
</table>
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 11:50, 22 July 2019

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{30 most populous cities of Sweden|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{30 most populous cities of Sweden|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{30 most populous cities of Sweden|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

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.