Template:FR:Lieu/doc
Template:FR:Lieu (alias Template:FR:Place) est un modèle pour placer les détails d'un lieu sur la page wiki en français. Nous avons le modèle des lieux avec un texte descriptif dans la page elle-même et une boîte sur la droite avec des liens détaillés sur l'endroit. Il y a des options pour une carte glissante (slippy map) centrée sur la gauche, et une image dans la case de droite.
Le modèle met l’article dans les catégories suivantes : [[Category:Types in subarea]] et/ou [[Category:Types in area]] et [[Category:name]] (si la catégorie name existe) donc il n’y a pas besoin de le faire manuellement.
Il faut placer manuellement les catégories comme [[Category:Types in subarea]] dans des catégories comme [[Category:Types in area|subarea]] et aussi en [[Category:subarea]], ainsi que la mise [[Category:name]] en [[Category:Types in subarea]] et/ou [[Category:Types in area]].
Usage
Modèle complet
{{Template:FR:Lieu
| name =nom
| catname = nom alternatif utilisé pour la catégorie où la page doit se classer (sinon utilise la valeur de name)
| lang =xx (two character language code, use "fr" for French)
| type =something (village/city/ville/town/suburb/hamlet/hameau...
municipality/metropolitan borough and town...
county/district/canton/kreis/landkreis/département...
province/oblast/région/region/state...
country/pays/sovereign state...
continent/island/isle)
| subarea =text (optional, usually province or state name; one level up from the name)
| area =text (usually country name or continent name; two levels up from the name)
| lat =number, +/- (latitude of the place)
| long =number, +/- (longitude of the place)
| zoom =number 1-17 (optional, The zoom level to open linked
to maps at. Default value is 12. )
| image =image.png (optional, image in box)
| map =oui (optional, slippymap included in the main page)
| width =# of pixels (optional, width of slippymap, default is 400)
| height =# of pixels (optional, width of slippymap, default is 400)
| layer =layer (optional, layer of slippymap, default is mapnik)
| latlon =oui (optional, to add link to LatLon.org
public transport render.)
| sortkey =text (optional, If sortkey is not supplied the
name of the place will be used as the sortkey.)
| list =URL (optional, mailing list page for the place.)
| archive =URL (optional, archive page for the place)
| forum =URL (optional, forum page for the place)
| de.wikipedia =text (optional, article name on de.wikipedia)
| en.wikipedia =text (optional, article name on en.wikipedia)
| es.wikipedia =text (optional, article name on es.wikipedia)
| fr.wikipedia =text (optional, article name on fr.wikipedia,
default value is 'name')
| it.wikipedia =text (optional, article name on it.wikipedia)
| ru.wikipedia =text (optional, article name on ru.wikipedia)
| osmose =oui (optional, to add link to osmose.openstreetmap.fr)
| BestOfOSM =text (optional, possibles values are:
BestOf/Interesting/Import/Historic)
| krdb =text (optional, database to use in the Keep Right
link. Default value is EU. See Template:Keepright
for details.)
}}
Modèle vierge avec uniquement les champs requis
{{Template:FR:Lieu
| name =
| type =
| area =
| lat =
| long =
}}
Modèle vierge avec tous les domaines
{{Template:FR:Lieu
| name =
| lang = fr
| type =
| subarea =
| area =
| lat =
| long =
| zoom = 12
| image =
| map =
| width =
| height =
| layer =
| latlon =
| sortkey =
| list =
| archive =
| forum =
| de.wikipedia =
| en.wikipedia =
| es.wikipedia =
| fr.wikipedia =
| it.wikipedia =
| ru.wikipedia =
| BestOfOSM =
| krdb =
}}
Voir aussi