« Modèle:Infobox/Géolocalisation multiple/Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
Ligne 102 : | Ligne 102 : | ||
{{Infobox/Début}} | {{Infobox/Début}} | ||
{{Infobox/Géolocalisation_multiple | {{Infobox/Géolocalisation_multiple | ||
|toponyme=Bogotá | | toponyme = Bogotá | ||
|point=Ville | | point = Ville | ||
|géolocalisation = Colombie2/Colombie2/Colombie2 | | parampoint1 = 2 | ||
|latitude = 4.61 | | parampoint2 = so | ||
|longitude = -74.082 | | géolocalisation = Colombie2/Colombie2/Colombie2 | ||
|type1 = relief | | latitude = 4.61 | ||
|type2 = routes | | longitude = -74.082 | ||
|type3 = trains | | type1 = relief | ||
| type2 = routes | |||
| type3 = trains | |||
}} | }} | ||
{{Infobox/Fin}} | {{Infobox/Fin}} | ||
Ligne 116 : | Ligne 118 : | ||
{{Infobox/Début}} | {{Infobox/Début}} | ||
{{Infobox/Géolocalisation_multiple | {{Infobox/Géolocalisation_multiple | ||
|toponyme=Bogotá | | toponyme = Bogotá | ||
|point=Ville | | point = Ville | ||
|géolocalisation = Colombie2/Colombie2/Colombie2 | | parampoint1 = 2 | ||
|latitude = 4.61 | | parampoint2 = so | ||
|longitude = -74.082 | | géolocalisation = Colombie2/Colombie2/Colombie2 | ||
|type1 = relief | | latitude = 4.61 | ||
|type2 = routes | | longitude = -74.082 | ||
|type3 = trains | | type1 = relief | ||
| type2 = routes | |||
| type3 = trains | |||
}} | }} | ||
{{Infobox/Fin}} | {{Infobox/Fin}} | ||
Ligne 129 : | Ligne 133 : | ||
{{clr}} | {{clr}} | ||
=== 4 cartes === | === 4 cartes === | ||
{{Infobox/Début}} | {{Infobox/Début}} |
Version du 28 décembre 2010 à 11:52
Modèle:Documentation modèle vue directement
Ce modèle permet de réaliser une infobox à partir de briques. La brique {{Infobox/Géolocalisation multiple}} sert à ajouter une géolocalisation automatisée sur plusieurs cartes dans une infobox en faisant appel au modèle {{G}}.
Les cartes employées sont différentes, elles peuvent représenter :
- un changement d'échelle l'une par rapport à l'autre (Monde puis pays, ou pays puis subdivision administrative, etc)
- des visualisations complémentaires comme pour les lieux frontaliers où la visualisation se fait sur un pays ou sur l'autre
- un changement de nature comme l'alternance entre une carte administrative et une carte en relief
Syntaxe
Copiez et collez ceci dans la page du modèle d'infobox.
{{Infobox/Géolocalisation multiple | géolocalisation = | latitude = | longitude = | toponyme = | point = | parampoint1 = | parampoint2 = | largeur1 = | type1 = | largeur2 = | type2 = ... | largeur10 = | type10 = }}
Paramètre
- géolocalisation : cartes de géolocalisation
- latitude : latitude
- longitude : longitude
- toponyme : nom du toponyme
- point : type de point à mettre sur les cartes, voir Wikipédia:Modèles/Points.
- parampoint1 et parampoint2 (optionnels) : paramètres du point voir Wikipédia:Modèles/Points.
- largeur1 à largeur10 (optionnels) : largeur d'affichage en pixels de la première carte (250 par défaut)
- type1 à type10 (optionnels) : type de la première carte/image (relief par exemple, rien par défaut)
Exemples
1 carte
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}} {{Infobox/Géolocalisation_multiple |toponyme=Bogotá |point=Ville |géolocalisation = Colombie2 |latitude = 4.61 |longitude = -74.082 |type1 = relief }} {{Infobox/Fin}}
2 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}} {{Infobox/Géolocalisation_multiple | toponyme=Bogotá | point=Ville | parampoint1 = 1 | parampoint2 = ne | géolocalisation = Colombie2/Colombie2 | latitude = 4.61 | longitude = -74.082 | type1 = relief | type2 = routes }} {{Infobox/Fin}}
3 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}} {{Infobox/Géolocalisation_multiple | toponyme = Bogotá | point = Ville | parampoint1 = 2 | parampoint2 = so | géolocalisation = Colombie2/Colombie2/Colombie2 | latitude = 4.61 | longitude = -74.082 | type1 = relief | type2 = routes | type3 = trains }} {{Infobox/Fin}}
4 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}} {{Infobox/Géolocalisation_multiple |toponyme=Bogotá |point=Ville |géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2 |latitude = 4.61 |longitude = -74.082 |type1 = relief |type2 = routes |type3 = trains |type4 = rivières }} {{Infobox/Fin}}
Voir aussi
- {{Infobox/Géolocalisation}} : modèle de géolocalisation n'utilisant qu'une carte.
- {{Infobox/Géolocalisation double}} : modèle de géolocalisation utilisant deux cartes.
- Tutoriel infobox avec des briques