Actions

Modèle

« Commune/2015 » : différence entre les versions

De Wikimanche

Aucun résumé des modifications
(MeF css)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
{| class="wikitable" width ="700px" border="0.5" cellspacing="0" cellpadding="0" align="center" style="border:1px solid centre"
{| class="wikitable" style="width:100%; text-align: center; border:1px solid centre;"
|-  
|-  
| align="center" colspan="2" | {{#if: {{{blason|}}}|[[Fichier:{{{blason}}}|33px|link=Blason {{#switch:{{{élision|}}}|du=du {{{nomcommune|{{PAGENAME}}}}}|des=des {{{nomcommune|{{PAGENAME}}}}}|d=d'{{{nomcommune|{{PAGENAME}}}}}|#default=de {{{nomcommune|{{PAGENAME}}}}}}}]] '''Blason de la [[Liste des communes de la Manche|commune]] {{#switch:{{{élision|}}}|du=du {{{nomcommune|{{PAGENAME}}}}}'''|des=des {{{nomcommune|{{PAGENAME}}}}}'''|d=d'{{{nomcommune|{{PAGENAME}}}}}'''|#default=de {{{nomcommune|{{PAGENAME}}}}}'''}}
| style="text-align: center; font-weight:bold; font-style:italic;" colspan="2" | {{#if: {{{blason|}}}|[[Fichier:{{{blason}}}|33px|link=Blason {{#switch:{{{élision|}}}|du=du {{{nomcommune|{{PAGENAME}}}}}|des=des {{{nomcommune|{{PAGENAME}}}}}|d=d'{{{nomcommune|{{PAGENAME}}}}}|#default=de {{{nomcommune|{{PAGENAME}}}}}}}]] '''Blason de la [[Liste des communes de la Manche|commune]] {{#switch:{{{élision|}}}|du=du {{{nomcommune|{{PAGENAME}}}}}'''|des=des {{{nomcommune|{{PAGENAME}}}}}'''|d=d'{{{nomcommune|{{PAGENAME}}}}}'''|#default=de {{{nomcommune|{{PAGENAME}}}}}'''}}
| '''[[Liste des communes de la Manche|Commune]] {{#switch:{{{élision|}}}|du=du {{{nomcommune|{{PAGENAME}}}}}'''|des=des {{{nomcommune|{{PAGENAME}}}}}'''|d=d'{{{nomcommune|{{PAGENAME}}}}}'''|#default=de {{{nomcommune|{{PAGENAME}}}}}'''}}}}  
| '''[[Liste des communes de la Manche|Commune]] {{#switch:{{{élision|}}}|du=du {{{nomcommune|{{PAGENAME}}}}}'''|des=des {{{nomcommune|{{PAGENAME}}}}}'''|d=d'{{{nomcommune|{{PAGENAME}}}}}'''|#default=de {{{nomcommune|{{PAGENAME}}}}}'''}}}}  
| align="center" colspan="2" |'''Coordonnées géographiques de la mairie''' [[Fichier:Logo-Mairie.png|25px|Logo-Mairie.png|link=]]<br /> [<!--rem-http://www.openstreetmap.org/index.html?mlat={{{latitude|}}}&mlon={{{longitude|}}}&zoom=12&layers=M-rem-->https://tools.wmflabs.org/wiwosm/osm-on-ol/kml-on-ol.php?lang=fr&title={{#if: {{{nomwikipedia|}}}|{{{nomwikipedia|}}}|{{PAGENAMEE}}}} {{#coordinates:{{{latitude|}}}, {{{longitude|}}}|format=dms|directional=yes}}] ''<small>(OSM)</small>''<br />
| align="center" colspan="2" |'''Coordonnées géographiques de la mairie''' [[Fichier:Logo-Mairie.png|25px|Logo-Mairie.png|link=]]<br /> [<!--rem-http://www.openstreetmap.org/index.html?mlat={{{latitude|}}}&mlon={{{longitude|}}}&zoom=12&layers=M-rem-->https://tools.wmflabs.org/wiwosm/osm-on-ol/kml-on-ol.php?lang=fr&title={{#if: {{{nomwikipedia|}}}|{{{nomwikipedia|}}}|{{PAGENAMEE}}}} {{#coordinates:{{{latitude|}}}, {{{longitude|}}}|format=dms|directional=yes}}] ''<small>(OSM)</small>''<br />
Ligne 8 : Ligne 8 :
[[Catégorie:Article géolocalisé]]|}}-->
[[Catégorie:Article géolocalisé]]|}}-->
|-   
|-   
! align="left"| [[Liste des arrondissements de la Manche|Arrondissement]]
! style="text-align: center; font-weight:bold; font-style:italic;" | [[Liste des arrondissements de la Manche|Arrondissement]]
| align="left"| {{{arrondissement|}}} {{#switch:{{{arrondissement|}}}
| style="text-align: left;" | {{{arrondissement|}}} {{#switch:{{{arrondissement|}}}
|[[Arrondissement de Cherbourg-Octeville|Cherbourg-Octeville]]=[[Catégorie:Commune de l'arrondissement de Cherbourg]]
|[[Arrondissement de Cherbourg-Octeville|Cherbourg-Octeville]]=[[Catégorie:Commune de l'arrondissement de Cherbourg]]
|[[Arrondissement de Cherbourg-Octeville|Cherbourg-Octeville]] ([[chef-lieu d'arrondissement|chef-lieu]])=[[Catégorie:Commune de l'arrondissement de Cherbourg]]
|[[Arrondissement de Cherbourg-Octeville|Cherbourg-Octeville]] ([[chef-lieu d'arrondissement|chef-lieu]])=[[Catégorie:Commune de l'arrondissement de Cherbourg]]
Ligne 18 : Ligne 18 :
|[[Arrondissement de Saint-Lô|Saint-Lô]]=[[Catégorie:Commune de l'arrondissement de Saint-Lô]]
|[[Arrondissement de Saint-Lô|Saint-Lô]]=[[Catégorie:Commune de l'arrondissement de Saint-Lô]]
|[[Arrondissement de Saint-Lô|Saint-Lô]] ([[chef-lieu d'arrondissement|chef-lieu]])=[[Catégorie:Commune de l'arrondissement de Saint-Lô]]}}
|[[Arrondissement de Saint-Lô|Saint-Lô]] ([[chef-lieu d'arrondissement|chef-lieu]])=[[Catégorie:Commune de l'arrondissement de Saint-Lô]]}}
| width="30%" colspan="2" rowspan="12" align="center" |
| style="width:30%; text-align: center;" rowspan="12"|
{{#display_map: {{{latitude|}}},{{{longitude|}}}~ ~ ~<!--rem-- http://www.wikimanche.fr/images/2/29/Mark_WM.png --rem-->
{{#display_map: {{{latitude|}}},{{{longitude|}}}~ ~ ~<!--rem-- http://www.wikimanche.fr/images/2/29/Mark_WM.png --rem-->
|centre  =49.15762758752084,-1.394695330651757
|centre  =49.15762758752084,-1.394695330651757
Ligne 30 : Ligne 30 :
}}
}}
|-
|-
! width="10%" align="left"| [[Liste des cantons de la Manche|Canton]]
! style="text-align: center; font-weight:bold; font-style:italic;" | [[Liste des cantons de la Manche|Canton]]
| width="40%" align="left"| {{{canton2015|}}} {{#switch:{{{canton2015|}}}
| style="text-align: left;" | {{{canton2015|}}} {{#switch:{{{canton2015|}}}
|[[Canton d'Agon-Coutainville (2015)|Agon-Coutainville]]=[[Catégorie:Commune du canton d'Agon-Coutainville]]|[[Canton d'Agon-Coutainville (2015)|Agon-Coutainville]] ([[Bureau centralisateur de canton|bureau centralisateur]])=[[Catégorie:Commune du canton d'Agon-Coutainville| ]]
|[[Canton d'Agon-Coutainville (2015)|Agon-Coutainville]]=[[Catégorie:Commune du canton d'Agon-Coutainville]]|[[Canton d'Agon-Coutainville (2015)|Agon-Coutainville]] ([[Bureau centralisateur de canton|bureau centralisateur]])=[[Catégorie:Commune du canton d'Agon-Coutainville| ]]
|[[Canton d'Avranches (2015)|Avranches ]]=[[Catégorie:Commune du canton d'Avranches]]|[[Canton d'Avranches (2015)|Avranches ]] ([[Bureau centralisateur de canton|bureau centralisateur]])=[[Catégorie:Commune du canton d'Avranches| ]]
|[[Canton d'Avranches (2015)|Avranches ]]=[[Catégorie:Commune du canton d'Avranches]]|[[Canton d'Avranches (2015)|Avranches ]] ([[Bureau centralisateur de canton|bureau centralisateur]])=[[Catégorie:Commune du canton d'Avranches| ]]
Ligne 60 : Ligne 60 :
|[[Canton de Villedieu-les-Poêles (2015)|Villedieu-les-Poêles]]=[[Catégorie:Commune du canton de Villedieu-les-Poêles]]|[[Canton de Villedieu-les-Poêles (2015)|Villedieu-les-Poêles]] ([[Bureau centralisateur de canton|bureau centralisateur]])=[[Catégorie:Commune du canton de Villedieu-les-Poêles| ]]}}
|[[Canton de Villedieu-les-Poêles (2015)|Villedieu-les-Poêles]]=[[Catégorie:Commune du canton de Villedieu-les-Poêles]]|[[Canton de Villedieu-les-Poêles (2015)|Villedieu-les-Poêles]] ([[Bureau centralisateur de canton|bureau centralisateur]])=[[Catégorie:Commune du canton de Villedieu-les-Poêles| ]]}}
|-
|-
! width="10%" align="left"| ''[[Liste des cantons de la Manche jusqu'au 31 décembre 2014|Ancien canton]]''
! style="text-align: center; font-weight:bold; font-style:italic;" | ''[[Liste des cantons de la Manche jusqu'au 31 décembre 2014|Ancien canton]]''
| width="40%" align="left"| ''{{{canton|}}}''{{#switch:{{{canton|}}}
| style="text-align: left;" | ''{{{canton|}}}''{{#switch:{{{canton|}}}
|[[Canton d'Avranches|Avranches]]=[[Catégorie:Commune de l'ancien canton d'Avranches]]
|[[Canton d'Avranches|Avranches]]=[[Catégorie:Commune de l'ancien canton d'Avranches]]
|[[Canton d'Avranches|Avranches]] ([[chef-lieu de canton|chef-lieu]])=[[Catégorie:Commune de l'ancien canton d'Avranches| ]]
|[[Canton d'Avranches|Avranches]] ([[chef-lieu de canton|chef-lieu]])=[[Catégorie:Commune de l'ancien canton d'Avranches| ]]
Ligne 169 : Ligne 169 :
}}
}}
|-
|-
! align="left"| [[Liste des intercommunalités de la Manche|Intercommunalité]]
! style="text-align: center; font-weight:bold; font-style:italic;" | [[Liste des intercommunalités de la Manche|Intercommunalité]]
| align="left"| {{{intercomm|}}}
| style="text-align: left;" | {{{intercomm|}}}
|-  
|-  
! align="left"| Gentilé
! style="text-align: center; font-weight:bold; font-style:italic;" | Gentilé
| align="left" | ''{{{gentilé|}}}''
| style="text-align: left;" | ''{{{gentilé|}}}''
|-
|-
! align="left"| Population  
! style="text-align: center; font-weight:bold; font-style:italic;" | Population  
| align="left" | {{#if: {{{pop|}}}|{{Formatnum:{{{pop|}}}}} hab.|}} <small>{{#if: {{{date-pop|}}}|(''[[Recensement {{{date-pop}}}|{{{date-pop}}}]]'')|}}</small>
| style="text-align: left;" | {{#if: {{{pop|}}}|{{Formatnum:{{{pop|}}}}} hab.|}} <small>{{#if: {{{date-pop|}}}|(''[[Recensement {{{date-pop}}}|{{{date-pop}}}]]'')|}}</small>
|-
|-
! align="left"| Superficie
! style="text-align: center; font-weight:bold; font-style:italic;" | Superficie
| align="left" | {{#if: {{{km²|}}}|{{Formatnum:{{{km²|}}}}} km²|}}
| style="text-align: left;" | {{#if: {{{km²|}}}|{{Formatnum:{{{km²|}}}}} km²|}}
|-
|-
! align="left"| Densité
! style="text-align: center; font-weight:bold; font-style:italic;" | Densité
| align="left" | {{#if: {{{km²|}}} {{{pop|}}}|{{formatnum:{{#ifexpr:{{#expr:{{{pop|}}}/{{{km²|}}}}}<1|{{#expr: ({{{pop|}}}/{{{km²|}}}) round 2}}|{{#ifexpr:{{#expr:{{{pop|}}}/{{{km²|}}}}}<10|{{#expr: ({{{pop|}}}/{{{km²|}}}) round 1}}|{{#expr: ({{{pop|}}}/{{{km²|}}}) round 0}}}}}}}} hab./km{{2}}}}
| style="text-align: left;" | {{#if: {{{km²|}}} {{{pop|}}}|{{formatnum:{{#ifexpr:{{#expr:{{{pop|}}}/{{{km²|}}}}}<1|{{#expr: ({{{pop|}}}/{{{km²|}}}) round 2}}|{{#ifexpr:{{#expr:{{{pop|}}}/{{{km²|}}}}}<10|{{#expr: ({{{pop|}}}/{{{km²|}}}) round 1}}|{{#expr: ({{{pop|}}}/{{{km²|}}}) round 0}}}}}}}} hab./km{{2}}}}
|-
|-
! align="left"| Altitude
! style="text-align: center; font-weight:bold; font-style:italic;" | Altitude
| align="left" |{{#if: {{{alt mini|}}}|{{{alt mini|}}} m (mini) |}} {{#if: {{{alt maxi|}}} | - {{{alt maxi|}}} m (maxi)| }}
| style="text-align: left;" |{{#if: {{{alt mini|}}}|{{{alt mini|}}} m (mini) |}} {{#if: {{{alt maxi|}}} | - {{{alt maxi|}}} m (maxi)| }}
|-
|-
! align="left"| Code postal
! style="text-align: center; font-weight:bold; font-style:italic;" | Code postal
| align="left" |{{{cp|}}}
| style="text-align: left;" |{{{cp|}}}
|-
|-
! align="left"| N° INSEE
! style="text-align: center; font-weight:bold; font-style:italic;" | N° INSEE
| align="left" |{{{insee|}}}  
| style="text-align: left;" |{{{insee|}}}  
|-
|-
! align="left"| Maire
! style="text-align: center; font-weight:bold; font-style:italic;" | Maire
| align="left" |{{{maire|}}}
| style="text-align: left;" |{{{maire|}}}
|-
|-
| colspan="2" |<div style="margin:0 auto;overflow:hidden;padding-left:1px; background:transparent;">
| colspan="2" |<div style="margin:0 auto;overflow:hidden;padding-left:1px; background:transparent;">
Ligne 212 : Ligne 212 :
| width ="33%" align="center" | <small>{{{Sud-Est|Commune au S-E}}}</small>
| width ="33%" align="center" | <small>{{{Sud-Est|Commune au S-E}}}</small>
|}</div>
|}</div>
|align="center"|
|style="text-align: center;" |
{{ #if: {{{image|}}} | [[Fichier:{{{image}}}|{{ #if: {{{taille-image|}}} | {{{taille-image}}}px | 300px }} |{{{légende-image|}}}]] | [[Fichier:Map commune FR insee code {{{insee}}}.png|300px|]]| }}<br/>
{{ #if: {{{image|}}} | [[Fichier:{{{image}}}|{{ #if: {{{taille-image|}}} | {{{taille-image}}}px | 300px }} |{{{légende-image|}}}]] | [[Fichier:Map commune FR insee code {{{insee}}}.png|300px|]]| }}<br/>
<small>{{ #if: {{{image|}}} | {{{légende-image}}} | }}</small>
<small>{{ #if: {{{image|}}} | {{{légende-image}}} | }}</small>

Version du 27 juillet 2018 à 21:13




Cliquez ici pour purger le cache

Syntaxe

Pour insérer dans une page ce modèle, il suffit de copier coller le code ci-dessous, en complétant les champs :

{{Commune/2015
 |élision       = <!-- Élision article du ou des avec nomcommune obligatoire  ou d pour d' -->
 |nomcommune    = <!-- Nom de la commune sans article = PAGENAME (Nom de la page) par défaut -->
 |arrondissement= <!-- [[Arrondissement de Ville|Ville]] -->
 |canton2015    = <!-- [[Canton de Ville (2015)|Ville]] -->
 |canton        = <!-- [[Canton de Ville|Ville]] -->
 |intercomm     = <!-- [[Communauté de communes de Ville|Ville]] -->
 |gentilé       = <!-- Nom habitant(es) -->
 |pop           = <!-- Nombres d'habitants au recensement -->
 |date-pop      = <!-- Année du recensement = lien vers page Recensement Année-->
 |km²           = <!-- Superficie -->
 |alt mini      = <!-- Altitude minimum -->
 |alt maxi      = <!-- Altitude point culminant -->
 |cp            = <!-- Code postal -->
 |insee         = <!-- Code INSEE -->
 |maire         = <!-- Nom et prénom entre crochets si dans WikiManche -->
 |latitude      = <!-- Latitude en décimal avec point (pas de virgule)-->
 |longitude     = <!-- Longitude en décimal avec point (pas de virgule)-->
 |image         = <!-- Nom fichier.ext exemple Coutances.jpg-->
 |légende-image = <!-- Légende image du point remarquable de la commune -->
 |taille-image  = <!-- Largeur image (par défaut 300px)
 |blason        = <!-- Blason de nomcommune -->
 |légende-blason= <!-- Légende blason de la commune (facultatif) -->
 |Nord-Ouest    = <!-- [[Commune A]],<br/> [[Commune B]] -->
 |Nord          = <!-- [[Commune A]],<br/> [[Commune C]] -->
 |Nord-Est      = <!-- [[Commune C]],<br/> [[Commune D]] -->
 |Est           = <!-- [[Commune D]] -->
 |Sud-Est       = <!-- [[Commune G]] -->
 |Sud           = <!-- [[Commune F]] -->
 |Sud-Ouest     = <!-- [[Commune E]] -->
 |Ouest         = <!-- [[Commune E]] -->}}
Exemple


Blason de la commune de Millières Coordonnées géographiques de la mairie Logo-Mairie.png
49° 11' 15.34" N, 1° 27' 38.64" W (OSM)
Arrondissement Coutances_
Chargement de la carte...
Canton Créances_
Ancien canton Lessay_
Intercommunalité Communauté de communes du canton de Lessay_
Gentilé Milliérien(ne)s
Population 629 hab. (2008)
Superficie 20,27 km²
Densité 31 hab./km2
Altitude 7 m (mini) - 53 m (maxi)
Code postal 50190
N° INSEE 50328
Maire Raymond Diesnis

Le village de la Fresnerie.
Le village de la Fresnerie.