Documentação do módulo[ver] [editar] [histórico] [purgar]

Descrição editar

Este módulo implementa a predefinição {{Info/Mina}}

Uso editar

Outra documentação:

local building = require "Module:Infobox/Funções/Edifício"
local general = require "Module:Infobox/Funções"

return
    {
    maincolor = '#996633',
    parts =
        {
        general.title('mapa', {color = 'white'}),
        general.mainimage('!Artigos sem imagens', 'Padrao 2.svg'),
        {type = 'table', style = {['border-top'] = '1px solid #996633'}, rows = {
            {
                type = 'row',
                label = 'Produto',
                value = 'produtos',
                property = 'P1056'
            },
            {
                type = 'row',
                label = 'Operador',
                value = 'operador',
                wikidata = {property = 'P137', rank = 'valid', showdate = true, conjtype = '<br />'}
            },
            building.owner(),
            {
                type = 'row',
                label = 'Empregados',
                value = 'empregados',
                wikidata = {property = 'P1128', rank = 'valid', showdate = true, conjtype = '<br />'}
            },
            building.opening(),
            building.closure(),
            {
                type = 'row',
                label = 'Profundidade',
                value = 'profundidade',
                wikidata = {property = 'P4511', rank = 'valid', showdate = true, conjtype = '<br />'}
            },
            building.protection(),
            }
        },
        {type = 'table', rows = {
            building.country(),
            building.adminlocation(),
            building.coordenadas(),
            }, style = {['border-top'] = '1px solid #996633'}
        },
        building.geoloc({pointtype = 'mine', maptype = 'relief'}),
    }
}