Modèle:Infobox/Géolocalisation multiple/Documentation : Différence entre versions

De Lagny-sur-Marne Wiki
Aller à : navigation, rechercher
m
m
Ligne 37 : Ligne 37 :
  
 
== Exemples ==
 
== Exemples ==
 
+
=== 1 carte ===
 
{{Infobox/Début}}
 
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple  
+
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2
+
|géolocalisation = Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
|type2 = routes
+
|type2 =  
|type3 = trains
+
|type3 =  
|type4 = rivières
+
|type4 =  
 
|type5 =
 
|type5 =
 
|type6 =
 
|type6 =
Ligne 63 : Ligne 63 :
 
{{Infobox/Géolocalisation_multiple
 
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2
+
|géolocalisation = Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
|type2 = routes
+
|type2 =  
|type3 = trains
+
|type3 =  
|type4 = rivières
+
|type4 =  
 
|type5 =
 
|type5 =
 
|type6 =
 
|type6 =
Ligne 83 : Ligne 83 :
  
 
{{clr}}
 
{{clr}}
----
+
=== 2 cartes ===
 
{{Infobox/Début}}
 
{{Infobox/Début}}
 
{{Infobox/Géolocalisation_multiple
 
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2/Colombie2
+
|géolocalisation = Colombie2/Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
 
|type2 = routes
 
|type2 = routes
|type3 = trains
+
|type3 =  
 
|type4 =  
 
|type4 =  
 
|type5 =
 
|type5 =
Ligne 109 : Ligne 109 :
 
{{Infobox/Géolocalisation_multiple
 
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2/Colombie2
+
|géolocalisation = Colombie2/Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
 
|type2 = routes
 
|type2 = routes
|type3 = trains
+
|type3 =  
 
|type4 =  
 
|type4 =  
 
|type5 =
 
|type5 =
Ligne 129 : Ligne 129 :
  
 
{{clr}}
 
{{clr}}
----
+
=== 3 cartes ===
 
{{Infobox/Début}}
 
{{Infobox/Début}}
 
{{Infobox/Géolocalisation_multiple
 
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2
+
|géolocalisation = Colombie2/Colombie2/Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
 
|type2 = routes
 
|type2 = routes
|type3 =  
+
|type3 = trains
 
|type4 =  
 
|type4 =  
 
|type5 =
 
|type5 =
Ligne 155 : Ligne 155 :
 
{{Infobox/Géolocalisation_multiple
 
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2
+
|géolocalisation = Colombie2/Colombie2/Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
 
|type2 = routes
 
|type2 = routes
|type3 =  
+
|type3 = trains
 
|type4 =  
 
|type4 =  
 
|type5 =
 
|type5 =
Ligne 175 : Ligne 175 :
  
 
{{clr}}
 
{{clr}}
----
+
=== 4 cartes ===
 
{{Infobox/Début}}
 
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
+
{{Infobox/Géolocalisation_multiple  
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2
+
|géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
|type2 =  
+
|type2 = routes
|type3 =  
+
|type3 = trains
|type4 =  
+
|type4 = rivières
 
|type5 =
 
|type5 =
 
|type6 =
 
|type6 =
Ligne 201 : Ligne 201 :
 
{{Infobox/Géolocalisation_multiple
 
{{Infobox/Géolocalisation_multiple
 
|toponyme=Bogotá
 
|toponyme=Bogotá
|géolocalisation = Colombie2
+
|géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2
 
|latitude = 4.61
 
|latitude = 4.61
 
|longitude = -74.082
 
|longitude = -74.082
 
|type1 = relief
 
|type1 = relief
|type2 =  
+
|type2 = routes
|type3 =  
+
|type3 = trains
|type4 =  
+
|type4 = rivières
 
|type5 =
 
|type5 =
 
|type6 =
 
|type6 =
Ligne 220 : Ligne 220 :
 
</pre>
 
</pre>
  
== Voir aussi  
+
{{clr}}
 +
== Voir aussi ==
 
* {{m|Infobox/Géolocalisation}} : modèle de géolocalisation n'utilisant qu'une carte.
 
* {{m|Infobox/Géolocalisation}} : modèle de géolocalisation n'utilisant qu'une carte.
 
* {{m|Infobox/Géolocalisation double}} : modèle de géolocalisation utilisant deux cartes.
 
* {{m|Infobox/Géolocalisation double}} : modèle de géolocalisation utilisant deux cartes.

Version du 27 décembre 2010 à 21:15

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 double
 | géolocalisation=
 | latitude=
 | longitude=
 | toponyme=
 | point=
 | 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.
  • largeur1 à largeur10</tt> (optionnel) : largeur d'affichage en pixels de la première carte (250 par défaut)
  • type1 à type10 (optionnel) : 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á
|géolocalisation = Colombie2
|latitude = 4.61
|longitude = -74.082
|type1 = relief
|type2 = 
|type3 = 
|type4 = 
|type5 =
|type6 =
|largeur1 =
|largeur2 =
|largeur3 =
|largeur4 =
|largeur5 =
|largeur6 =
}}
{{Infobox/Fin}}

2 cartes

Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2
|latitude = 4.61
|longitude = -74.082
|type1 = relief
|type2 = routes
|type3 = 
|type4 = 
|type5 =
|type6 =
|largeur1 =
|largeur2 =
|largeur3 =
|largeur4 =
|largeur5 =
|largeur6 =
}}
{{Infobox/Fin}}

3 cartes

Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2/Colombie2
|latitude = 4.61
|longitude = -74.082
|type1 = relief
|type2 = routes
|type3 = trains
|type4 = 
|type5 =
|type6 =
|largeur1 =
|largeur2 =
|largeur3 =
|largeur4 =
|largeur5 =
|largeur6 =
}}
{{Infobox/Fin}}

4 cartes

Modèle:Infobox/Géolocalisation multiple
{{Infobox/Début}}
{{Infobox/Géolocalisation_multiple
|toponyme=Bogotá
|géolocalisation = Colombie2/Colombie2/Colombie2/Colombie2
|latitude = 4.61
|longitude = -74.082
|type1 = relief
|type2 = routes
|type3 = trains
|type4 = rivières
|type5 =
|type6 =
|largeur1 =
|largeur2 =
|largeur3 =
|largeur4 =
|largeur5 =
|largeur6 =
}}
{{Infobox/Fin}}

Voir aussi