Difference between revisions of "Template:Dutch municipality"

From blackwiki
Jump to navigation Jump to search
(hard to read)
imported>WhatsUpWorld
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = {{{template|<noinclude>{{PAGENAME}}</noinclude>}}}
 
|name = {{{template|<noinclude>{{PAGENAME}}</noinclude>}}}
|title=Populated places in the municipality of {{{name}}} [[File:{{{flag|Flag of the Netherlands.svg}}}|20px]]
+
|title=Populated places in the {{#if:{{{former|}}}|former [[List of municipalities of the Netherlands|municipality]]|[[List of municipalities of the Netherlands|municipality]]}} of {{{name}}}
|group1={{#if: {{{cities<includeonly>|</includeonly>}}}| Cities/towns}}
+
|state = {{{state|autocollapse}}}
|list1={{{cities|}}}
+
|listclass = hlist
|group2={{#if: {{{villages<includeonly>|</includeonly>}}}| Villages}}
+
|group1=Towns
|list2= {{{villages|}}}
+
|list1=
|group3={{#if: {{{hamlets<includeonly>|</includeonly>}}}| Hamlets}}
+
{{{cities<includeonly>|</includeonly>}}}
|list3={{{hamlets|}}}
+
|group2=Villages
|below={{#if: {{{province|}}}|[[List of cities, towns and villages in {{{province}}}]]}}
+
|list2=  
 +
{{{villages<includeonly>|</includeonly>}}}
 +
|group3=Hamlets
 +
|list3=
 +
{{{hamlets<includeonly>|</includeonly>}}}
 +
|below={{#if: {{{province<includeonly>|</includeonly>}}}|[[List of cities, towns and villages in {{{province}}}]]}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Latest revision as of 02:45, 3 July 2018

Parameters:

  • template = {{subst:PAGENAME}} (required, allows for the v/d/e links to work)
  • former = set to "true" for former municipalities
  • name = name of municipality (required)
  • cities = Cities/towns (optional)
  • villages = villages (optional)
  • hamlets = hamlets (optional)
  • province (optional); this is used to create a link to the page "List of cities, towns and villages in province", so the name should correspond to the title of the page; in particular: use "Dutch Limburg" or "Limburg (Netherlands)" for Limburg