Module:Infobox/Feu de forêt
Wikimedia module / De Wikipedia, l'encyclopédie encyclopedia
local location = require "Module:Infobox/Fonctions/Géolocalisation" local general = require "Module:Infobox/Fonctions" local wikidata = require "Module:Wikidata" local localdata = require "Module:Infobox/Localdata" local convert = require "Module:Conversion"
return { maincolor = '#F4A460',
parts = { general.title(), general.mainimage('Article à illustrer Forêt', 'Defaut 2.svg'), {type = 'table', rows = { general.country(), {type = 'row', label = 'Lieu', plurallabel = 'Lieux', value = 'lieu', property = 'P276'}, {type = 'row', label = 'Localisation administrative', plurallabel = 'Localisations administratives', value = 'localisation administrative', property = 'P131'}, location.coordinates(),
} }, {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 = 'P585'}, {type = 'row', label = 'Date de début', value = 'date de début', property = 'P580'}, {type = 'row', label = 'Date de maîtrise', value = 'date de maîtrise'}, {type = 'row', label = 'Date de fin', value = 'date de fin', property = 'P582'}, {type = 'row', label = 'Superficie brûlée', plurallabel ="Superficies brûlées", value = function ( localdata ) return convert.displayvalue( localdata['superficie'], 'hectare', {showunit = 'long'} ) end, wikidata = {property = 'P2046', targetunit = 'ha', rounding = '0', showunit = 'long'}}, {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 = 'Nombre de morts', value = 'décès', property = 'P1120'}, {type = 'row', label = 'Nombre de blessés', value = 'décès', property = 'P1339'}, } }, location.geoloc({default_zoom=7, marker='fire-station'}), } }