Módulo:Message box: mudanças entre as edições

Criou página com '-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary mo...'
 
Sem resumo de edição
Linha 215: Linha 215:
if args.style then
if args.style then
self.style = args.style
self.style = args.style
elseif args.estilo then
elseif args.style then
self.style = args.estilo
self.style = args.style
end
end
if args.attrs then
if args.attrs then
Linha 226: Linha 226:
-- Set text style.
-- Set text style.
if args.textstyle then
if args.textstyle then
self.textstyle = args.textstyle or args.estilotexto or args['estilo-texto'] or args['estilo_texto']
self.textstyle = args.textstyle or args.styletexto or args['style-texto'] or args['style_texto']
end
end