Module:Infobox/Point chaud

 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", 
	thirdcolor = "#FFFFFF",
	parts = {
		
		general.title( "map"),
		general.locationmap(),
		{type = 'table', rows = {
			{type = 'row', label = "N° sur la carte", wikidata = {property = 'P242', showonlyqualifier = 'P1545'}},
			{type = 'row', label = "Type", value = "type", property = 'P31'},
			{type = 'row', label = "Existence", wikidata = {property = 'P31', showonlyqualifier = 'P5102'}},
		}},
	
		{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', marker='volcano'}),
	}
}