Abrir menu principal
Início
Aleatório
Entrar
Configurações
Sobre Vugnaes Wiki
Termo de responsabilidade
Vugnaes Wiki
Pesquisar
Editando
Módulo:CapiuntoTest
Aviso:
Você não está conectado. Seu endereço IP será visível publicamente se você fizer alguma edição. Se você
fizer login
ou
criar uma conta
, suas edições serão atribuídas ao seu nome de usuário, juntamente com outros benefícios.
Verificação contra spam.
Não
preencha isto!
local capiunto = require 'capiunto' local p = {} function p.main(frame) local args = frame:getParent().args local headerStyle if args.headerstyle and args.headerstyle ~= '' then headerStyle = string.format('background-color:%s;', args.headerstyle) else headerStyle = 'background-color:grey;' end local retval = capiunto.create( { title = args.title, headerStyle = headerStyle, } ) :addImage( args.image, args.caption ) :addRow( 'Data', args.data ) --:addHeader( 'A header between the data rows' ) return retval end function p.podcraft(frame) local args = frame:getParent().args local headerStyle if args.headerstyle and args.headerstyle ~= '' then headerStyle = string.format('background-color:%s;', args.headerstyle) else headerStyle = 'background-color:grey;' end local retval = capiunto.create( { title = args.title, headerStyle = headerStyle, } ) :addImage( args.image, args.caption ) :addRow( 'Data do Inicio', args.data_inicio ) :addRow( 'Data do Fim', args.data_final ) :addRow( 'Duração', args.duracao ) --:addHeader( 'A header between the data rows' ) return retval end return p
Resumo da edição:
Por favor, note que todas as suas contribuições em Vugnaes Wiki são consideradas como lançadas nos termos da licença Creative Commons Attribution-ShareAlike (veja
Vugnaes Wiki:Direitos de autor
para detalhes). Se não deseja que o seu texto seja inexoravelmente editado e redistribuído de tal forma, não o envie.
Você está, ao mesmo tempo, garantindo-nos que isto é algo escrito por você mesmo ou algo copiado de uma fonte de textos em domínio público ou similarmente de teor livre.
NÃO ENVIE TRABALHO PROTEGIDO POR DIREITOS AUTORAIS SEM A DEVIDA PERMISSÃO!
Cancelar
Ajuda de edição
(abre numa nova janela)
Predefinição usada nesta página:
Módulo:CapiuntoTest/doc
(
editar
)