Jump to content

Template:Do for every Dutch municipality/short/alt/doc/1

From Meta, a Wikimedia project coordination wiki

Continuation of Template:Do for every Dutch municipality/short/alt/doc:

Using Template:Do for every Dutch municipality/short/alt and Template:Table row Dutch municipality,

{| class="wikitable sortable"
!Municipality!!Population
{{subst:Do for every Dutch municipality/short/alt|Table row Dutch municipality|subst=subst:|substc=}}
|}

gives the wikitext:

{| class="wikitable sortable"
!Municipality!!Population
{{Table row Dutch municipality|=|=|=|=|1=Aa en Hunze}}
{{Table row Dutch municipality|=|=|=|=|1=Aalburg}}
{{Table row Dutch municipality|=|=|=|=|1=Aalsmeer}}
{{Table row Dutch municipality|=|=|=|=|1=Aalten}}
{{Table row Dutch municipality|=|=|=|=|1=Abcoude}}
{{Table row Dutch municipality|=|=|=|=|1=Achtkarspelen}}
{{Table row Dutch municipality|=|=|=|=|1=Alblasserdam}}
{{Table row Dutch municipality|=|=|=|=|1=Albrandswaard}}
{{Table row Dutch municipality|=|=|=|=|1=Alkemade}}
{{Table row Dutch municipality|=|=|=|=|1=Alkmaar}}
{{Table row Dutch municipality|=|=|=|=|1=Almelo}}
{{Table row Dutch municipality|=|=|=|=|1=Almere}}
{{Table row Dutch municipality|=|=|=|=|1=Alphen aan den Rijn}}
{{Table row Dutch municipality|=|=|=|=|1=Alphen-Chaam}}
{{Table row Dutch municipality|=|=|=|=|1=Ameland}}
{{Table row Dutch municipality|=|=|=|=|1=Amersfoort}}
{{Table row Dutch municipality|=|=|=|=|1=Amstelveen}}
{{Table row Dutch municipality|=|=|=|=|1=Amsterdam}}
{{Table row Dutch municipality|=|=|=|=|1=Andijk}}
{{Table row Dutch municipality|=|=|=|=|1=Anna Paulowna}}
{{Table row Dutch municipality|=|=|=|=|1=Apeldoorn}}
{{Table row Dutch municipality|=|=|=|=|1=Appingedam}}
{{Table row Dutch municipality|=|=|=|=|1=Arcen en Velden}}
{{Table row Dutch municipality|=|=|=|=|1=Arnhem}}
{{Table row Dutch municipality|=|=|=|=|1=Assen}}
{{Table row Dutch municipality|=|=|=|=|1=Asten}}
|}

rendered as:

Municipality Population
Aa en Hunze 25,580
Aalburg 12,332
Aalsmeer 25,289
Aalten 27,583
Abcoude 8,651
Achtkarspelen 28,119
Alblasserdam 18,648
Albrandswaard 21,862
Alkemade 14,509
Alkmaar 93,986
Almelo 72,296
Almere 181,990
Alphen aan den Rijn 71,473
Alphen-Chaam 9,452
Ameland 3,456
Amersfoort 139,914
Amstelveen 78,857
Amsterdam 744,740
Andijk 6,618
Anna Paulowna 14,046
Apeldoorn 155,328
Appingedam 12,165
Arcen en Velden 8,751
Arnhem 142,638
Assen 64,750
Asten 16,388
{| class="wikitable sortable"
!Municipality!!Population
{{subst:Do for every Dutch municipality/short/alt|Table row Dutch municipality|subst=subst:|substc=subst:}}
|}

gives the wikitext:

{| class="wikitable sortable"
!Municipality!!Population
|-
| Aa en Hunze
| {{formatnum:{{Population Dutch municipality|POP=Aa en Hunze}}}}
|-
| Aalburg
| {{formatnum:{{Population Dutch municipality|POP=Aalburg}}}}
|-
| Aalsmeer
| {{formatnum:{{Population Dutch municipality|POP=Aalsmeer}}}}
|-
| Aalten
| {{formatnum:{{Population Dutch municipality|POP=Aalten}}}}
|-
| Abcoude
| {{formatnum:{{Population Dutch municipality|POP=Abcoude}}}}
|-
| Achtkarspelen
| {{formatnum:{{Population Dutch municipality|POP=Achtkarspelen}}}}
|-
| Alblasserdam
| {{formatnum:{{Population Dutch municipality|POP=Alblasserdam}}}}
|-
| Albrandswaard
| {{formatnum:{{Population Dutch municipality|POP=Albrandswaard}}}}
|-
| Alkemade
| {{formatnum:{{Population Dutch municipality|POP=Alkemade}}}}
|-
| Alkmaar
| {{formatnum:{{Population Dutch municipality|POP=Alkmaar}}}}
|-
| Almelo
| {{formatnum:{{Population Dutch municipality|POP=Almelo}}}}
|-
| Almere
| {{formatnum:{{Population Dutch municipality|POP=Almere}}}}
|-
| Alphen aan den Rijn
| {{formatnum:{{Population Dutch municipality|POP=Alphen aan den Rijn}}}}
|-
| Alphen-Chaam
| {{formatnum:{{Population Dutch municipality|POP=Alphen-Chaam}}}}
|-
| Ameland
| {{formatnum:{{Population Dutch municipality|POP=Ameland}}}}
|-
| Amersfoort
| {{formatnum:{{Population Dutch municipality|POP=Amersfoort}}}}
|-
| Amstelveen
| {{formatnum:{{Population Dutch municipality|POP=Amstelveen}}}}
|-
| Amsterdam
| {{formatnum:{{Population Dutch municipality|POP=Amsterdam}}}}
|-
| Andijk
| {{formatnum:{{Population Dutch municipality|POP=Andijk}}}}
|-
| Anna Paulowna
| {{formatnum:{{Population Dutch municipality|POP=Anna Paulowna}}}}
|-
| Apeldoorn
| {{formatnum:{{Population Dutch municipality|POP=Apeldoorn}}}}
|-
| Appingedam
| {{formatnum:{{Population Dutch municipality|POP=Appingedam}}}}
|-
| Arcen en Velden
| {{formatnum:{{Population Dutch municipality|POP=Arcen en Velden}}}}
|-
| Arnhem
| {{formatnum:{{Population Dutch municipality|POP=Arnhem}}}}
|-
| Assen
| {{formatnum:{{Population Dutch municipality|POP=Assen}}}}
|-
| Asten
| {{formatnum:{{Population Dutch municipality|POP=Asten}}}}
|}

rendered as:

Municipality Population
Aa en Hunze 25,580
Aalburg 12,332
Aalsmeer 25,289
Aalten 27,583
Abcoude 8,651
Achtkarspelen 28,119
Alblasserdam 18,648
Albrandswaard 21,862
Alkemade 14,509
Alkmaar 93,986
Almelo 72,296
Almere 181,990
Alphen aan den Rijn 71,473
Alphen-Chaam 9,452
Ameland 3,456
Amersfoort 139,914
Amstelveen 78,857
Amsterdam 744,740
Andijk 6,618
Anna Paulowna 14,046
Apeldoorn 155,328
Appingedam 12,165
Arcen en Velden 8,751
Arnhem 142,638
Assen 64,750
Asten 16,388


One can also use wikitext that renders as wikitext for the table, and copy that from the preview page or the ExpandTemplates page to the edit box:

Using Template:Table row Dutch municipality/1

{| class="wikitable sortable"<br>
!Municipality!!Population<br>
{{Do for every Dutch municipality/short/alt|Table row Dutch municipality/1}}
|}

gives:

{| class="wikitable sortable"
!Municipality!!Population
{{Table row Dutch municipality|Aa en Hunze}}
{{Table row Dutch municipality|Aalburg}}
{{Table row Dutch municipality|Aalsmeer}}
{{Table row Dutch municipality|Aalten}}
{{Table row Dutch municipality|Abcoude}}
{{Table row Dutch municipality|Achtkarspelen}}
{{Table row Dutch municipality|Alblasserdam}}
{{Table row Dutch municipality|Albrandswaard}}
{{Table row Dutch municipality|Alkemade}}
{{Table row Dutch municipality|Alkmaar}}
{{Table row Dutch municipality|Almelo}}
{{Table row Dutch municipality|Almere}}
{{Table row Dutch municipality|Alphen aan den Rijn}}
{{Table row Dutch municipality|Alphen-Chaam}}
{{Table row Dutch municipality|Ameland}}
{{Table row Dutch municipality|Amersfoort}}
{{Table row Dutch municipality|Amstelveen}}
{{Table row Dutch municipality|Amsterdam}}
{{Table row Dutch municipality|Andijk}}
{{Table row Dutch municipality|Anna Paulowna}}
{{Table row Dutch municipality|Apeldoorn}}
{{Table row Dutch municipality|Appingedam}}
{{Table row Dutch municipality|Arcen en Velden}}
{{Table row Dutch municipality|Arnhem}}
{{Table row Dutch municipality|Assen}}
{{Table row Dutch municipality|Asten}}
|}

which in turn gives:

Municipality Population
Aa en Hunze 25,580
Aalburg 12,332
Aalsmeer 25,289
Aalten 27,583
Abcoude 8,651
Achtkarspelen 28,119
Alblasserdam 18,648
Albrandswaard 21,862
Alkemade 14,509
Alkmaar 93,986
Almelo 72,296
Almere 181,990
Alphen aan den Rijn 71,473
Alphen-Chaam 9,452
Ameland 3,456
Amersfoort 139,914
Amstelveen 78,857
Amsterdam 744,740
Andijk 6,618
Anna Paulowna 14,046
Apeldoorn 155,328
Appingedam 12,165
Arcen en Velden 8,751
Arnhem 142,638
Assen 64,750
Asten 16,388

Note that the wikitext is very similar to that above, but above there is some clutter "=|=|=|=|1=", which is easily avoided with the method just described.