« Modèle:Infobox/Géolocalisation multiple/Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
| Ligne 319 : | Ligne 319 : | ||
| type7 = | | type7 = | ||
| type8 = | | type8 = | ||
}} | |||
{{Infobox/Fin}} | |||
</pre> | |||
{{clr}} | |||
=== 9 cartes === | |||
{{Infobox/Début}} | |||
{{Infobox/Géolocalisation_multiple | |||
| toponyme = Barranquilla | |||
| point = Ville | |||
| parampoint2 = no | |||
| géolocalisation = Atlantico/Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud/Amérique du Sud/Amérique/Terre | |||
| latitude = 10.962778 | |||
| longitude = -74.803056 | |||
| type1 = | |||
| type2 = relief | |||
| type3 = routes | |||
| type4 = trains | |||
| type5 = rivières | |||
| type6 = relief | |||
| type7 = | |||
| type8 = | |||
| type9 = | |||
}} | |||
{{Infobox/Fin}} | |||
<pre> | |||
{{Infobox/Début}} | |||
{{Infobox/Géolocalisation_multiple | |||
| toponyme = Barranquilla | |||
| point = Ville | |||
| parampoint2 = no | |||
| géolocalisation = Atlantico/Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud/Amérique du Sud/Amérique/Terre | |||
| latitude = 10.962778 | |||
| longitude = -74.803056 | |||
| type1 = | |||
| type2 = relief | |||
| type3 = routes | |||
| type4 = trains | |||
| type5 = rivières | |||
| type6 = relief | |||
| type7 = | |||
| type8 = | |||
| type9 = | |||
}} | }} | ||
{{Infobox/Fin}} | {{Infobox/Fin}} | ||
Version du 28 décembre 2010 à 12:14
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 sans lien
| parampoint2 = s
| géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2
| latitude = 4.61
| longitude = -74.082
| type1 = relief
| type2 = routes
| type3 = trains
| type4 = rivières
}}
{{Infobox/Fin}}
5 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
| toponyme = Bogotá
| point = Ville
| parampoint2 = n
| géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud
| latitude = 4.61
| longitude = -74.082
| type1 = relief
| type2 = routes
| type3 = trains
| type4 = rivières
| type5 = relief
}}
{{Infobox/Fin}}
6 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
| toponyme = Bogotá
| point = Ville
| parampoint2 = e
| géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud/Amérique du Sud
| latitude = 4.61
| longitude = -74.082
| type1 = relief
| type2 = routes
| type3 = trains
| type4 = rivières
| type5 = relief
| type6 =
}}
{{Infobox/Fin}}
7 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
| toponyme = Bogotá
| point = Ville
| parampoint2 = e
| géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud/Amérique du Sud/Amérique
| latitude = 4.61
| longitude = -74.082
| type1 = relief
| type2 = routes
| type3 = trains
| type4 = rivières
| type5 = relief
| type6 =
| type7 =
}}
{{Infobox/Fin}}
8 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
| toponyme = Bogotá
| point = Ville
| parampoint2 = ne
| géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud/Amérique du Sud/Amérique/Terre
| latitude = 4.61
| longitude = -74.082
| type1 = relief
| type2 = routes
| type3 = trains
| type4 = rivières
| type5 = relief
| type6 =
| type7 =
| type8 =
}}
{{Infobox/Fin}}
9 cartes
Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
| toponyme = Barranquilla
| point = Ville
| parampoint2 = no
| géolocalisation = Atlantico/Colombie2/Colombie2/Colombie2/Colombie2/Amérique du Sud/Amérique du Sud/Amérique/Terre
| latitude = 10.962778
| longitude = -74.803056
| type1 =
| type2 = relief
| type3 = routes
| type4 = trains
| type5 = rivières
| type6 = relief
| type7 =
| type8 =
| type9 =
}}
{{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