Aller au contenu

Module:Infobox/Point chaud

Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 5 juillet 2019 à 23:12 et modifiée en dernier par Simon Villeneuve (discuter | contributions) (demande sur le projet Scribunto). Elle peut contenir des erreurs, des inexactitudes ou des contenus vandalisés non présents dans la version actuelle.

 Documentation[voir] [modifier] [historique] [purger]

Cette page définit un module d'infobox. Pour les conseils sur l'usage de ce module, voyez Modèle:Infobox Point chaud.


local general = require "Module:Infobox/Fonctions"

return {
	maincolor = "B00000",
	parts = {
		
		general.title( "map"),
		general.locationmap(),
		{type = 'row', label = "N° dans la carte", wikidata = {property = 'P242', showonlyqualifier = 'P1545'}},
		{type = 'table', rows = {
			{type = 'row', label = "Type", value = "type", property = 'P31'},
		}},
	
		{type = 'table', title = "Déplacement", rows = {
			{type = 'row', label = "Vélocité", value = "vélocité", property = 'P2052'},
			{type = 'row', label = "Direction", value = "direction", property = 'P2212'},
		}},
	
		{type = 'table', title = "Localisation", rows = {
			{type = 'row', label = "Plaque", plurallabel = "Plaques", value = "plaque", property = 'P4688'},
			general.coordinates(),
		}},
		general.geoloc({default_zoom = 6, markercolor = '#B00000'}),
	}
}