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 Volcan.


local building = require "Module:Infobox/Fonctions/Bâtiment"
local general = require "Module:Infobox/Fonctions"
local wikidata = require "Module:Wikidata"
 

return {
	maincolor = '996633',
	parts = {
		
		general.title(),
		general.logo(),
		building.mainimage(),
		{type = 'table', title = 'Caractéristiques', rows = {
			{type = 'row', label = 'Nom dans la langue originale', value = 'nom dans la langue originale', property = 'P1705'},
			building.country(),
			{type = 'row', label = 'Région', value = 'région', property = 'P131'},
			building.historicalregion(),
			building.coordinates(),
			{type = 'row', label = 'Altitude', value = 'altitude', wikidata = {property = 'P2044', targetunit = 'metre'} },
			{type = 'row', label = 'Partie de', value = 'partie de', property = 'P361'},
			{type = 'row', label = 'Climat', value = 'climat' },
			{type = 'row', label = 'Site', value = 'site' },
			{type = 'row', label = 'Lieu', value = 'lieu', property = 'P276'}, -- utile pour les endroits très isolés
			building.website(),
			{
				type = 'row',
				label = 'Code [[Global Volcanism Program|GVP]]',
				value = 'gvp',
				wikidata = {property = 'P1886', urlpattern = 'http://volcano.si.edu/volcano.cfm?vn=$1'},
			},
		}},
		building.geoloc({marker='volcano'}),
	}
}