Module:Infobox/Feu de forêt/Bac à sable

 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 Feu de forêt/Bac à sable.


local location = require "Module:Infobox/Fonctions/Géolocalisation"
local general = require "Module:Infobox/Fonctions"
local wikidata = require "Module:Wikidata"
local building = require "Module:Infobox/Fonctions/Bâtiment" -- à passer vers /Géolocalisation
local localdata = require "Module:Infobox/Localdata"

return 
	{
	maincolor = '#F4A460',
    parts =
    {
    	general.title(),
    	general.mainimage('Article à illustrer', 'Defaut 2.svg'),
    	
    	{type = 'table',
    		rows = 	{
    				{type = 'row', label = 'Pays', value = 'pays', property = 'P17'},
    				{type = 'row', label = 'Lieu', plurallabel = 'Lieux', value = 'lieu', property = 'P276'},
    				{type = 'row', label = 'Localisation administrative', plurallabel = 'Localisations administratives', value = 'localisation administrative', property = 'P131'},
					}
		},
		{type = 'table',title='Statistiques',
			rows = {
					{type = 'row', label = 'Coût', value = 'coût des dommages', property = 'P2630'},
					{type = 'row', label = 'Date', plurallabel = 'Dates', value = 'date', property = {IF (Nil('P580'), 'P585', Nil)}},
					{type = 'row', label = 'Date de début', value = 'date de début', property = 'P580'},
					{type = 'row', label = 'Date de fin', value = 'date de fin', property = 'P582'},
					{type = 'row', label = 'Superficie brûlée', value = 'superficie', property = 'P2046'},
					{type = 'row', label = 'Cause', value = 'cause', property = 'P828'},
					{type = 'row', label = 'Température', value = 'température'},
					{type = 'row', label = 'Type de terrain', value = 'type de terrain'},
					{type = 'row', label = 'Immeubles détruits', value = 'immeubles détruits'},
					{type = 'row', label = 'Morts', value = 'décès', property = 'P1120'},
					{type = 'row', label = 'Blessés', value = 'décès', property = 'P1339'},
					}       
		},
	}
	}