Template:Conditional table row Dutch municipality/doc
From Wikipedia, the free encyclopedia
Parameters:
- 1: municipality
- province (optional): produce table row code only if the municipality is in the specified province
- popmin (optional): produce table row code only if population >= parameter value
Contents |
[edit] Single call
{| class="wikitable"
{{Conditional table row Dutch municipality|Goes
}}
|}
gives
Goes e | Zeeland | 36,763 |
{| class="wikitable"
{{Conditional table row Dutch municipality|Delft
}}
|}
gives
Delft e | South Holland | 95,237 |
{| class="wikitable"
{{Conditional table row Dutch municipality|Goes|province=Zeeland
}}
|}
gives
Goes e | 36,763 |
{| class="wikitable"
{{Conditional table row Dutch municipality|Delft|province=Zeeland
}}
|}
gives
{| class="wikitable"
{{Conditional table row Dutch municipality|Goes|popmin=50000
}}
|}
gives
{| class="wikitable"
{{Conditional table row Dutch municipality|Delft|popmin=50000
}}
|}
gives
Delft e | South Holland | 95,237 |
{| class="wikitable"
{{Conditional table row Dutch municipality|Goes|province=Zeeland|popmin=10000
}}
|}
gives
Goes e | 36,763 |
[edit] Table
[edit] Province
With substitution:
{| class="wikitable sortable" !Municipality!!Population {{subst:Do for every Dutch municipality|Conditional table row Dutch municipality |substc=subst: |p1n=substp|p1v=subst: |p2n=substctr|p2v=subst: |p3n=substctrc|p3v=subst: |p10n=province|p10v=Zeeland}}|}
gives the wikitext:
{| class="wikitable sortable" !Municipality!!Population {{Table row Dutch municipality|Borsele}} {{Table row Dutch municipality|Goes}} {{Table row Dutch municipality|Hulst}} {{Table row Dutch municipality|Kapelle}} {{Table row Dutch municipality|Middelburg}} {{Table row Dutch municipality|Noord-Beveland}} {{Table row Dutch municipality|Reimerswaal}} {{Table row Dutch municipality|Schouwen-Duiveland}} {{Table row Dutch municipality|Sluis}} {{Table row Dutch municipality|Terneuzen}} {{Table row Dutch municipality|Tholen}} {{Table row Dutch municipality|Veere}} {{Table row Dutch municipality|Vlissingen}} |}
rendered as
Municipality | Population |
---|---|
Borsele e | 22,410 |
Goes e | 36,763 |
Hulst e | 27,988 |
Kapelle e | 12,026 |
Middelburg e | 47,308 |
Noord-Beveland e | 7,276 |
Reimerswaal e | 21,191 |
Schouwen-Duiveland e | 34,102 |
Sluis e | 24,369 |
Terneuzen e | 55,261 |
Tholen e | 25,222 |
Veere e | 22,037 |
Flushing e | 44,826 |
Without substitution: see Template:Conditional table row Dutch municipality/example 1 (on a separate page in order not to slow down viewing this page).
For other provinces, use the name as in Table of municipalities of the Netherlands.
[edit] Large cities
With substitution:
{| class="wikitable sortable" !Municipality!!Province!!Population {{subst:Do for every Dutch municipality|Conditional table row Dutch municipality |substc=subst: |p1n=substp|p1v=subst: |p2n=substctr|p2v=subst: |p3n=substctrc|p3v=subst: |p10n=popmin|p10v=100000}}|}
gives the wikitext:
{| class="wikitable sortable" !Municipality!!Province!!Population {{Table row Dutch municipality with province|Almere}} {{Table row Dutch municipality with province|Amersfoort}} {{Table row Dutch municipality with province|Amsterdam}} {{Table row Dutch municipality with province|Apeldoorn}} {{Table row Dutch municipality with province|Arnhem}} {{Table row Dutch municipality with province|Breda}} {{Table row Dutch municipality with province|Dordrecht}} {{Table row Dutch municipality with province|Ede}} {{Table row Dutch municipality with province|Eindhoven}} {{Table row Dutch municipality with province|Emmen}} {{Table row Dutch municipality with province|Enschede}} {{Table row Dutch municipality with province|Den Haag / 's-Gravenhage}} {{Table row Dutch municipality with province|Groningen}} {{Table row Dutch municipality with province|Haarlem}} {{Table row Dutch municipality with province|Haarlemmermeer}} {{Table row Dutch municipality with province|'s-Hertogenbosch}} {{Table row Dutch municipality with province|Leiden}} {{Table row Dutch municipality with province|Maastricht}} {{Table row Dutch municipality with province|Nijmegen}} {{Table row Dutch municipality with province|Rotterdam}} {{Table row Dutch municipality with province|Tilburg}} {{Table row Dutch municipality with province|Utrecht}} {{Table row Dutch municipality with province|Zaanstad}} {{Table row Dutch municipality with province|Zoetermeer}} {{Table row Dutch municipality with province|Zwolle}} |}
rendered as
Municipality | Province | Population |
---|---|---|
Almere e | Flevoland | 181,990 |
Amersfoort e | Utrecht | 139,914 |
Amsterdam e | North Holland | 744,740 |
Apeldoorn e | Gelderland | 155,328 |
Arnhem e | Gelderland | 142,638 |
Breda e | North Brabant | 170,451 |
Dordrecht e | South Holland | 118,443 |
Ede e | Gelderland | 107,528 |
Eindhoven e | North Brabant | 209,601 |
Emmen e | Drenthe | 108,929 |
Enschede e | Overijssel | 154,311 |
The Hague e | South Holland | 474,245 |
Groningen e | Groningen | 180,824 |
Haarlem e | North Holland | 147,179 |
Haarlemmermeer e | North Holland | 139,396 |
's-Hertogenbosch e | North Brabant | 135,787 |
Leiden e | South Holland | 117,363 |
Maastricht e | Limburg | 118,378 |
Nijmegen e | Gelderland | 160,732 |
Rotterdam e | South Holland | 581,615 |
Tilburg e | North Brabant | 200,975 |
Utrecht e | Utrecht | 290,529 |
Zaanstad e | North Holland | 141,829 |
Zoetermeer e | South Holland | 118,534 |
Zwolle e | Overijssel | 115,144 |
Without substitution: see Template:Conditional table row Dutch municipality/example 2 (on a separate page in order not to slow down viewing this page).