Módulo:Infobox/Fogo florestal

Permanently protected module
Origem: Wikipédia, a enciclopédia livre.
Documentação do módulo[ver] [editar] [histórico] [purgar]


Módulo de suporte de infocaixas, ver {{Info/Incêndio florestal}}

Ver também


local location = require "Módulo:Infobox/Funções/Geolocalização"
local general = require "Módulo:Infobox/Funções"
local wikidata = require "Módulo:Infobox/Wikidata"
local building = require "Módulo:Infobox/Funções/Edifício" -- mover para / Geolocalização
local localdata = require "Módulo:Infobox/Localdata"
local convert = require "Módulo:Conversão"

return
    {
    maincolor = '#cc9933',
    parts =
    {
    general.title('raio'),
    general.mainimage('!Artigos de ambiente sem imagens', 'Padrao 2.svg'),
    {type = 'table',
        rows =    {
                general.country(),
                {type = 'row', label = 'Local', plurallabel = 'Locais', value = 'local', property = 'P276'},
                {type = 'row', label = 'Localização administrativa', plurallabel = 'Localizações administrativas', value = 'localização administrativa', property = 'P131'},
                location.coordenadas(),
                    }
        },
        {type = 'table',title='Estatística',
            rows = {
                    {type = 'row', label = 'Custo', value = 'custo de danos', property = 'P2630'},
                    {type = 'row', label = 'Data', plurallabel = 'Datas', value = 'data', property = 'P585'},
                    {type = 'row', label = 'Referência', value = 'referência'},
                    {type = 'row', label = 'Data de início', value = 'data de início', property = 'P580'},
                    {type = 'row', label = 'Data de fim', value = 'data de fim', property = 'P582'},
                    {type = 'row',
                        label = 'Área queimada',
                        plurallabel ="Áreas queimadas",
                        value = function ( localdata )
                            return convert.displayvalue( localdata['hectares'], 'hectare', {showunit = 'long'} )
                            end,
                        wikidata = {property = 'P2046', targetunit = 'ha',  rounding = '0', showunit = 'long'}},
		    {type = 'row', label = 'Fonte da Ignição', value = 'fonte', property = 'P828'},
                    {type = 'row', label = 'Temperatura', value = 'temperatura'},
                    {type = 'row', label = 'Uso do solo', value = 'uso_do_solo'},
                    {type = 'row', label = 'Imóveis destruídos', value = {'imóveis destruídos', 'construções'}},
                    {type = 'row', label = 'Vitímas mortais', value = 'mortos', property = 'P1120'},
                    {type = 'row', label = 'Feridos', value = 'feridos', property = 'P1339'},
                    {type = 'row', label = 'Perpetradores', value = 'perpetradores'},
                    {type = 'row', label = 'Motivo', value = 'motivo'},
                    }   
        },
        location.geoloc({default_zoom=7}),
    }
}