Módulo:Infobox/Praia

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

Descrição

Este módulo tem funções auxiliares para a predefinição {{Info/Praia}}.

Uso

Outra documentação:

local building = require "Módulo:Infobox/Funções/Edifício"
local general = require "Módulo:Infobox/Funções"
local wikidata = require "Módulo:Infobox/Wikidata"


return {
    maincolor = "F7F4AA",
    parts = {
        
        general.title( 'mapa'),
        general.mainimage('!Artigos de geografia sem imagens'),
        {type = 'table', rows = {
            {
                type = 'row',
                label = 'Nome na língua original',
                value = 'nome na língua original',
                wikidata = {property = 'P1705', showlang = true}
            },
            {type = 'row', label = 'Nome oficial', plurallabel = 'Nomes oficiais', value = 'nome oficial', property = 'P1448'},
        }},
        
        {type = 'table', title = 'Localização', rows = {
            building.coordenadas(),
            building.onshoreof(),
            {type = 'row', label = 'Continente', plurallabel = 'Continentes', value = 'continente', property = 'P30'},
            building.adminlocation(),
            {type = 'row', label = 'Localização geográfica', value = 'localização geográfica', property = 'P706'},
            {type = 'row', label = 'Parte de', value = 'parte de', property = 'P361'},
            building.elevation(),
            building.protectedarea(),
            building.transport(),
        }},
        
        {type = 'table', title = 'Descrição', rows = {
            {type = 'row', label = 'Tipo de praia', value = 'tipo', property = 'P31', excludevalues = 'Q40080'},
            {type = 'row', label = 'Extensão da [[orla]]', value = 'extensão'},
            {type = 'row', label = 'Banhada por', value = 'banhada_por'},
            {type = 'row', label = '[[Água]] e [[Surfe|ondas]]', value = 'ondas', property = 'P186'},
            {type = 'row', label = 'Faixa de [[areia]]', value = 'areia'},
            {type = 'row', label = '[[Rio]]s', value = 'rios'},
            {type = 'row', label = '[[Ilha]]s próximas', value = 'ilhas'},
            {type = 'row', label = 'Tipo de sol', value = 'sol', property = 'P186'},
            {
                type = 'row',
                label = 'Extremidade',
                plurallabel = 'Extremidades',
                value = 'extremidade',
                wikidata = {property = 'P559', showqualifiers = 'P654'}
            },
            building.dimensions(),
            {type = 'row', label = 'Subdivisão', plurallabel = 'Subdivisões', value = 'subdivision', property = 'P150'},
            {type = 'row', label = 'Clima', plurallabel = 'Climas', value = 'clima', property = 'P2564'},
            {type = 'row', label = 'Qualidade da água', value = 'qualidade das águas'},
            {type = 'row', label = 'Etiqueta', plurallabel = 'Etiquetas', value = 'etiqueta', property = 'P166'},
        }},
        
        {type = 'table', title = 'Funcionamento', rows = {
            {type = 'row', label = 'Propriedade', value = 'propriedade', property = 'P127'},
            building.owner(),
            building.protection(),
            {type = 'row', label = 'Acesso público', value = {'acesso público', 'acesso'}},
            {type = 'row', label = 'Período de abertura', value = 'período de abertura'},
            {type = 'row', label = 'Estações salva-vidas', value = 'salva-vidas'},
            {type = 'row', label = 'Entrada paga', value = 'entrada paga'},
            building.equipment(),
            {type = 'row', label = 'Serviços', value = 'serviços'},
            {type = 'row', label = 'Atividades gratuitas', value = 'atividade gratuitas'},
            {type = 'row', label = 'Atividade pagas', value = 'atividades pagas'},
        }},
        
        building.geoloc({pointtype = 'lac', maptype = 'relief', marker = 'swimming'}),
    }
}