Domaines
Communes
Quartiers de Brest
Espaces de noms

Variantes
Actions
De Wiki-Brest

Modèle:Place : Différence entre versions

Ligne 16 : Ligne 16 :
 
}}
 
}}
 
|}
 
|}
 
 
<includeonly>
 
<!-- Allocate to categories. Note we want plural categories so use switch to change singular types (eg. city) to plurals (eg.cities) -->
 
 
<!-- If a category exists with the same name as the place then add the place to that category with a sort order of "*" to put it first rather than using "sortkey" -->
 
{{#ifexist: Category:{{{name}}} | [[Category:{{{name}}}|*]] | }}
 
 
<!-- if subarea has been defined then add to category: types in subarea -->
 
{{#if: {{{subarea|}}} | [[Category: {{#switch: {{lc:{{{type}}} }}
 
| city = Cities
 
| ville = Cities
 
| continent = Continents
 
| country = Countries
 
| pays = Countries
 
| sovereign state = Countries
 
| county = Counties
 
| district = Districts
 
| kreis = Kreise
 
| landkreis = Landkreise
 
| département = Départements
 
| hameau = Hamlets
 
| hamlet = Hamlets
 
| island
 
| isle = Islands
 
| municipality = Municipalities
 
| province = Provinces
 
| oblast = Oblasts
 
| région = Regions
 
| region = Regions
 
| state = States
 
| suburb = Suburbs
 
| metropolitan borough and town
 
| town = Towns
 
| village = Villages
 
| Places }} {{#ifeq:{{{subarea}}}|Earth|on|in}} {{{subarea}}}|{{#if: {{{sortkey|}}} | {{{sortkey}}} | {{{name}}}}}]]
 
}}
 
 
<!-- Add the place to the category: types in area, but only do this if the category types in subarea does not exist -->
 
 
{{#ifexist:
 
Category: {{#switch: {{lc:{{{type}}} }}
 
| city = Cities
 
| ville = Cities
 
| continent = Continents
 
| country = Countries
 
| pays = Countries
 
| sovereign state = Countries
 
| county = Counties
 
| district = Districts
 
| kreis = Kreise
 
| landkreis = Landkreise
 
| département = Départements
 
| hameau = Hamlets
 
| hamlet = Hamlets
 
| island
 
| isle = Islands
 
| municipality = Municipalities
 
| province = Provinces
 
| oblast = Oblasts
 
| région = Regions
 
| region = Regions
 
| state = States
 
| suburb = Suburbs
 
| metropolitan borough and town
 
| town = Towns
 
| village = Villages
 
| Places }} {{#ifeq:{{{subarea}}}|Earth|on|in}} {{{subarea}}}
 
| <!-- Do nothing: subarea category exists --> |
 
[[Category: {{#switch: {{lc: {{{type}}} }}
 
| city = Cities
 
| ville = Cities
 
| continent = Continents
 
| country = Countries
 
| pays = Countries
 
| sovereign state = Countries
 
| county = Counties
 
| district = Districts
 
| kreis = Kreise
 
| landkreis = Landkreise
 
| département = Départements
 
| hameau = Hamlets
 
| hamlet = Hamlets
 
| island
 
| isle = Islands
 
| municipality = Municipalities
 
| province = Provinces
 
| oblast = Oblasts
 
| région = Regions
 
| region = Regions
 
| state = States
 
| suburb = Suburbs
 
| metropolitan borough and town
 
| town = Towns
 
| village = Villages
 
| Places }} {{#ifeq:{{{area}}}|Earth|on|in}} {{{area}}}|{{#if: {{{sortkey|}}} | {{{sortkey}}} | {{{name}}}}}]]
 
}}{{ #if: {{{image|}}} | [[Category:Place Uses Image]] | }}
 
</includeonly>
 

Version du 17 novembre 2010 à 16:12

{{{name}}}, {{{area}}}
Latitude : {{{lat}}}, Longitude : {{{long}}}
Use this template for your cityWhat do the links do?
Outils personnels