« Modèle:Infobox Ville de Serbie » : différence entre les versions

Une page de Wikipédia, l'encyclopédie libre.
Contenu supprimé Contenu ajouté
Dodoïste (discuter | contributions)
"boum", tentative de refonte, accessibilité, standardisation, retrait de deux paramètres inutiles, "crac"
Dodoïste (discuter | contributions)
Annulation, eh meeeerde, marche paaaas
Ligne 1 : Ligne 1 :
<includeonly>{{Infobox Ville
<includeonly>{| class="infobox_v2" cellspacing="7"
| colspan="2" class="entete map" style="background-color: #CBE9C7; color: black;" | {{{nom}}}{{#if:{{{nom_cyrillique|}}}|<br /><small>''{{{nom_cyrillique}}}''</small>}}{{#if:{{{nom_autre|}}}|<br /><small><small>''{{{nom_autre}}}''</small></small>}}
|nom = {{{nom}}}
|-
|autres noms = {{{nom_cyrillique}}}, {{{nom_autre}}}
| colspan="2" class="hiddenStructure{{{blason|}}}{{{drapeau|}}}" |
|statut = {{{statut|{{#expr: 5 - ({{{population|0}}} > 100000) - ({{{population|0}}} > 500000) }}
{| cellspacing="7" width="100%" style="background: none;"
|blason = {{{blason|}}}
| class="hiddenStructure{{{blason|}}}" | [[Image:{{{blason|}}}|100px|center|Blason]]
|drapeau = {{{drapeau|}}}
| class="hiddenStructure{{{drapeau|}}}" | [[Image:{{{drapeau|}}}|100px|center|Drapeau]]
|image = {{{image|}}}
|-
|légende = {{{légende}}}
| class="hiddenStructure{{{blason|}}}" style="text-align: center;" | '''[[Héraldique]]'''
|pays = Serbie
| class="hiddenStructure{{{drapeau|}}}" style="text-align: center;" | '''[[Drapeau]]'''
|carte = {{{carte|}}}
|}
|nom de région = [[Régions de Serbie|Région]]
|- class="hiddenStructure{{{blason|}}}{{{drapeau|}}}"
|région = {{{région|}}}
| colspan="2" | <hr />
|province = {{{partie|}}}
|-
|département =
| colspan="2" class="infoboximage" | [[Image:{{#if:{{{image|}}}|{{{image|}}}|Defaut.svg}}|280px|{{#if:{{{légende}}}|{{{légende}}}|Image Infobox}}]]
|nom de district = [[Districts de Serbie|District]]
|- class="hiddenStructure{{{légende|}}}"
|district = {{{district|}}}
| colspan="2" style="text-align: center;" | {{{légende|}}}
|nom de collectivité = [[Municipalités de Serbie|Municipalité]]
|- class="hiddenStructure{{{légende|}}}"
|collectivité = {{{municipalité|}}}
| colspan="2" | <hr />
|maire = {{{maire|}}}
|-
|mandat maire = {{{mandat|}}}
! [[Coordonnées géographiques|Latitude<br />Longitude]]
|cp = {{{cp|}}}
|latitude = {{#if:{{{lat|}}}|{{{lat}}}|{{{deg_lat|}}}{{{min_lat|}}}{{{sec_lat|00.1}}}}}
| {{#if:{{{lat|}}}|{{#if:{{{lon|}}}| {{coord|{{{lat|}}}|{{{lon|}}}|type:mountain|format=dms long}}}}}} {{#if:{{{deg_lat|}}}|{{#if:{{{deg_lon|}}}| {{coord|{{{deg_lat|}}}|{{{min_lat|}}}|{{{sec_lat|00.1}}}|N|{{{deg_lon|}}}|{{{min_lon|}}}|{{{sec_lon|00.1}}}|E|type:mountain|format=dms long}}}}}}&nbsp;{{{ref|}}}
|-
|longitude = {{#if:{{{lon|}}}|{{{lon}}}|{{{deg_lon|}}}{{{min_lon|}}}{{{sec_lon|00.1}}}}}
! [[Liste des pays du monde|Pays]]
|altitude = {{{altitude|}}}
| {{Serbie}}
|population = {{{population|}}}
|-
|année_pop = {{{année}}}
! Partie / Province
|superficie = {{{superficie|}}}
|gentilé = {{{gentilé|}}}
| {{{partie|}}}
|- {{#if:{{{région|}}}||class="hiddenStructure"}}
|agglomération =
! [[Régions de Serbie|Région]]
|population agglomération =
| {{{région|}}}
|année_pop agglomération =
|-
|superficie agglomération =
! [[Districts de Serbie|District]]
|carte = Serbie
| {{{district|}}}
|position =
|-
|taille carte =
! [[Municipalités de Serbie|Municipalité]]
|image de carte =
| {{{municipalité|}}}
|géolocdual =
|- {{#if:{{{cp|}}}||class="hiddenStructure"}}
|imageloc =
! [[Code Postal]]
|légende imageloc =
| {{{cp|}}}
|sites-touristiques =
|- {{#if:{{{altitude|}}}||class="hiddenStructure"}}
|divers = {{{divers|}}}
! [[Altitude]]
|url = {{#if:{{{siteM|}}}|[http://{{{siteM|}}} {{{texteM|}}}]}}
| {{{altitude|}}}
}}
{{#if:{{{nomM|}}}|{{Infobox Ville
|- {{#if:{{{superficie|}}}||class="hiddenStructure"}}
! [[Superficie]]
|nom = Municipalité de {{{nomM|}}}
| {{#if:{{{superficie|}}}|{{formatnum:{{{superficie|}}}}} [[kilomètre carré|km{{2}}]]|}}
|carte = {{{carteM|}}}
|-
|maire = {{{maireM|}}}
! [[Population]] {{#if:{{{population|}}}|<span style="font-size:0.9em">([[{{{année}}}]])</span>|}}
|mandat maire = {{{mandatM|}}}
| {{#if:{{{population|}}}|{{formatnum:{{{population|}}}}} hab.|}}
|population = {{{populationM|}}}
|- {{#if:{{{superficie|}}}|{{#if:{{{population|}}}||class="hiddenStructure"}}|class="hiddenStructure"}}
|année_pop = {{{annéeM}}}
! [[Densité de population]]
|superficie = {{{superficieM|}}}
| {{formatnum:{{ #expr: {{{population|}}} / {{{superficie|}}} round 1 }}}} hab/[[kilomètre carré|km{{2}}]]
|url = {{#if:{{{siteM|}}}|[http://{{{siteM|}}} {{{texteM|}}}]}}
|- {{#if:{{{gentilé|}}}||class="hiddenStructure"}}
}}}}
! [[Gentilé]]
}}</includeonly><noinclude>{{Doc modèle}}</noinclude>
| {{{gentilé|}}}
|- {{#if:{{{maire|}}}|{{#if:{{{mandat|}}}||class="hiddenStructure"}}|class="hiddenStructure"}}
! [[Maire]]<br />[[Mandat politique|Mandat en cours]]
| {{{maire|}}}<br />{{{mandat|}}}
|- {{#if:{{{divers|}}}||class="hiddenStructure"}}
! Divers
| {{{divers|}}}
|- {{#if:{{{site|}}}||class="hiddenStructure"}}
! [[Site Web]]
| <small><span class="plainlinks">[http://{{{site|}}} {{{texte|}}}]</span></small>
<!--
Géolocalisation
-->
|- {{#if:{{{lat|}}}|{{#if:{{{lon|}}}||class="hiddenStructure"}}|class="hiddenStructure"}}
| colspan=3 class="infoboximage" | {{#if:{{{lat|}}}|{{#if:{{{lon|}}}|
{{Début de carte}}[[Image:{{Géolocalisation/Serbie|image}}|280px|Carte de la Serbie]]{{Géolocalisation de ville|Serbie|{{{lat}}}|{{{lon}}}
|{{{nom}}}|{{{statut|{{#expr: 5 - ({{{population|0}}} > 100000) - ({{{population|0}}} > 500000) }}<!---->}}}|largeur=280
}}{{Fin de carte}}<!--

formule population->statut (adoptée pour l'Iran) :
{{#expr: 5 - ({{{population|0}}} > 100000) - ({{{population|0}}} > 500000) }}

-->
}}<!-- fin des if -->}}
|- {{#if:{{{carte|}}}||class="hiddenStructure"}}
| colspan=3 class="infoboximage" | {{{carte|}}}<div align=center>{{{note|}}}</div>
|- {{#if:{{{nomM|}}}||class="hiddenStructure"}}
| align=center colspan=2 style="background: #ece5ca; font-size: 150%; font-weight: bold; color: black;" | Municipalité de {{{nomM|}}}
|- {{#if:{{{nomM|}}}|style="background: #faf9ec"|class="hiddenStructure"}}
! [[Superficie]]
| style="background: #faf9ec" | {{#if:{{{superficieM|}}}|{{formatnum:{{{superficieM|}}}}} [[kilomètre carré|km{{2}}]]|}}
|- {{#if:{{{nomM|}}}|style="background: #faf9ec"|class="hiddenStructure"}}
! [[Population]] {{#if:{{{populationM|}}}|<span style="font-size:0.9em">([[{{{annéeM}}}]])</span>|}}
| style="background: #faf9ec" | {{#if:{{{populationM|}}}|{{formatnum:{{{populationM|}}}}} hab.|}}
|- {{#if:{{{superficieM|}}}|{{#if:{{{populationM|}}}|colspan=2 style="background: #faf9ec"|class="hiddenStructure"}}|class="hiddenStructure"}}
! [[Densité de population]]
| style="background: #faf9ec" | {{formatnum:{{ #expr: {{{populationM|}}} / {{{superficieM|}}} round 1 }}}} hab/[[kilomètre carré|km{{2}}]]
|- {{#if:{{{nomM|}}}|style="background: #faf9ec"|class="hiddenStructure"}}
! [[Maire|Président]]<br />[[Mandat politique|Mandat en cours]]
| style="background: #faf9ec" | {{{maireM|}}}<br />{{{mandatM|}}}
|- {{#if:{{{siteM|}}}|style="background: #faf9ec"|class="hiddenStructure"}}
! [[Site Web]]
| style="background: #faf9ec" | <small><span class="plainlinks">[http://{{{siteM|}}} {{{texteM|}}}]</span></small>
|- {{#if:{{{carteM|}}}||class="hiddenStructure"}}
| colspan="2" class="infoboximage" | {{{carteM|}}}<div align=center>{{{noteM|}}}</div>
|-
<!-- | colspan="2" style="text-align: center; border-top: 1px solid #AAA; border-bottom: 1px solid #AAA; padding: 0.3em;" | '''[[Villes de Serbie]] - [[Municipalités de Serbie]]'''
|- -->
{{Infodoc|colspan=2|couleur=CBE9C7|lien=Infobox Ville de Serbie}}
|}</includeonly><noinclude>{{Doc modèle}}</noinclude>

Version du 22 octobre 2010 à 00:08