Difference between revisions of "Template:Infobox Belgium municipality section"

From blackwiki
Jump to navigation Jump to search
imported>Smnlvr
(for Belgium the standard infobox for places is Template:Infobox settlement)
 
Line 1: Line 1:
<includeonly>{{Infobox settlement
+
#redirect[[Template:Infobox settlement]]
<!-- See Template:Infobox settlement for additional fields and descriptions -->
 
| name                    = {{{name|{{PAGENAMEBASE}}}}}
 
| native_name            = {{{native_name|}}}
 
| native_name_lang        = {{{native_name_lang|}}}
 
| settlement_type        = {{{settlement_type|Municipality section}}}
 
| image_skyline          = {{{picture|}}}
 
| image_caption          = {{{picture-legend|}}}
 
| image_map              = {{{image_map|}}}
 
| map_caption            = {{{map_caption|}}}
 
| pushpin_map            = Belgium
 
| pushpin_label          = {{#if:{{{map_dot_label|}}} | {{{map_dot_label}}} | {{{name|{{PAGENAMEBASE}}}}} }}
 
| pushpin_map_caption    = Location in Belgium
 
| coordinates = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|region:BE|type:city|display="title"}}}}
 
| subdivision_type        = Country
 
| subdivision_name        = [[Belgium]]
 
| subdivision_type1      = [[Communities, regions and language areas of Belgium|Community]]
 
| subdivision_name1      = {{#switch: {{str left|{{{nis|}}}|1}} | 2 = {{#switch: {{str left|{{{nis|}}}|2}} | 21 = [[Flemish Community]]<br/>[[French Community of Belgium|French Community]] | 23|24 = [[Flemish Community]] | 25 = [[French Community of Belgium|French Community]] }} | 1|3|4|7 = [[Flemish Community]] | 5|8|9 = [[French Community of Belgium|French Community]] | 6 = {{#switch: {{{nis|}}} | 63001|63012|63087|63013|63023|63040|63048|63061|63067 = [[German-speaking Community of Belgium|German-speaking Community]] | #default = [[French Community of Belgium|French Community]] }}|#default = community }}
 
| subdivision_type2      = [[Communities, regions and language areas of Belgium|Region]]
 
| subdivision_name2      = {{#switch: {{str left|{{{nis|}}}|1}} | 2 = {{#switch: {{str left|{{{nis|}}}|2}} | 21 = [[Brussels]] | 23|24 = [[Flemish Region]] | 25 = [[Wallonia]] }} | 1|3|4|7 = [[Flemish Region]] | 5|6|8|9 = [[Wallonia]] |#default = region }}
 
| subdivision_type3      = {{#switch: {{str left|{{{nis|}}}|2}} | 21 = |#default = [[Provinces of Belgium|Province]] }}
 
| subdivision_name3      = {{#switch: {{str left|{{{nis|}}}|1}} | 2 = {{#switch: {{str left|{{{nis|}}}|2}} | 21 = | 23|24 = [[Flemish Brabant]] | 25 = [[Walloon Brabant]] }} | 1 = [[Antwerp (province)|Antwerp]] | 3 = [[West Flanders]] | 4 = [[East Flanders]] | 7 = [[Limburg (Belgium)|Limburg]] | 5 = [[Hainaut (province)|Hainaut]] | 6 = [[Liège (province)|Liège]] | 8 = [[Luxembourg (Belgium)|Luxembourg]] | 9 = [[Namur (province)|Namur]] |#default = province }}
 
| subdivision_type4      = [[Arrondissements of Belgium#Administrative|Arrondissement]]
 
| subdivision_name4      = {{{arrondissement|}}}
 
| subdivision_type5      = [[Municipalities of Belgium|Municipality]]
 
| subdivision_name5      = {{{municipality|{{wikidata|property|raw|P131}}}}}
 
| area_total_km2          = {{Infobox Belgium Municipality/Geography|Geography={{{nis}}}}}
 
| population_footnotes    = {{wikidata|reference|P1082|P585=2018-01-01}}
 
| population_total        = {{wikidata|property|raw|P1082|P585=2018-01-01}}
 
| population_as_of        = 2018-01-01
 
| population_density_km2  = auto
 
| population_demonym      = {{{population_demonym|}}}
 
| postal_code_type        = [[List of postal codes in Belgium|Postal code]]
 
| postal_code            = {{{postal-code|}}}
 
| area_code_type          = [[Telephone numbers in Belgium|Area code]]
 
| area_code              = {{{telephone-area|}}}
 
| website                = {{{web|}}}
 
| footnotes              = {{{footnotes|}}}
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
 
 
<!-- Categories and inter-wiki links should be put at the bottom of [[Template:Infobox Belgium Municipality/doc]] -->
 
<templatedata>
 
{
 
"params": {
 
"name": {
 
"description": "Name of the settlement",
 
"example": "Brussels",
 
"type": "string"
 
},
 
"native_name": {},
 
"native_name_lang": {},
 
"settlement_type": {},
 
"nis": {
 
"description": "The NIS code is an alphanumeric code for regional areas of Belgium.",
 
"example": "21004",
 
"suggested": true,
 
"type": "string",
 
"label": "NIS"
 
},
 
"map_dot_label": {},
 
"coordinates": {},
 
"arrondissement": {},
 
"municipality": {},
 
"population_demonym": {},
 
"postal-code": {
 
"description": "Postal Code",
 
"example": "1000",
 
"type": "number",
 
"suggested": true
 
},
 
"telephone-area": {},
 
"web": {},
 
"footnotes": {},
 
"picture": {},
 
"picture-legend": {},
 
"image_map": {
 
"description": "Map showing location of settlement",
 
"example": "mpa.svg"
 
},
 
"map_caption": {
 
"description": "Caption for the location map"
 
}
 
},
 
"paramOrder": [
 
"name",
 
"native_name",
 
"native_name_lang",
 
"picture",
 
"picture-legend",
 
"image_map",
 
"map_caption",
 
"settlement_type",
 
"map_dot_label",
 
"nis",
 
"coordinates",
 
"arrondissement",
 
"municipality",
 
"population_demonym",
 
"postal-code",
 
"telephone-area",
 
"web",
 
"footnotes"
 
],
 
"description": "This template is used to produce an Infobox for human settlements in Belgium smaller than a Municipality: villages, communities, hamlets, etc.—in fact, any subdivision below the level of a Municipality, for which {{Infobox_Belgium_municipality}} should be used."
 
}
 
</templatedata></noinclude>
 

Latest revision as of 10:43, 18 September 2020