Module:Navbar: Difference between revisions

m
1 revision imported: Import request by SirFell
(update from enwiki)
 
m (1 revision imported: Import request by SirFell)
 
(2 intermediate revisions by the same user not shown)
Line 14:
args.fontstyle = 'color:' .. args.fontcolor .. ';'
end
args.style = 'float:left; text-align:left; width:6em;right'
end
 
Line 49:
:css('margin-right', '-0.125em')
:cssText(args.fontstyle)
:wikitext('[ ')
:newline();
end
 
Line 59 ⟶ 58:
:addClass('nv-view')
:wikitext('[[' .. title.fullText .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'View this template')
:cssText(args.fontstyle)
Line 69 ⟶ 68:
:addClass('nv-talk')
:wikitext('[[' .. talkpage .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'Discuss this template')
:cssText(args.fontstyle)
Line 81 ⟶ 80:
:addClass('nv-edit')
:wikitext('[' .. title:fullUrl('action=edit') .. ' ')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'Edit this template')
:cssText(args.fontstyle)
Line 94 ⟶ 93:
:css('margin-left', '-0.125em')
:cssText(args.fontstyle)
:wikitext(' ]')
:newline();
end
 
Line 101 ⟶ 99:
div
:done()
:tag('spandiv')
:css('font-size', '110114%')
:css('margin', args.mini and '0 4em' or '0 7em')
:cssText(args.fontstyle)
:wikitext(args[1])