Content deleted Content added
Jackmcbarn (talk | contribs) rm 2 unnecessary functions |
Jackmcbarn (talk | contribs) various simplifications |
||
Line 29:
local editurl = title:fullUrl('action=edit');
local viewLink, talkLink, editLink
if args.mini then
viewLink, talkLink, editLink = 'v', 't', 'e'
else
viewLink, talkLink, editLink = 'view', 'talk', 'edit'
end
Line 69 ⟶ 71:
:tag('span')
:attr('title', 'View this template')
:cssText(args.fontstyle
:wikitext(viewLink)
:done()
Line 79 ⟶ 81:
:tag('span')
:attr('title', 'Discuss this template')
:cssText(args.fontstyle
:wikitext(talkLink)
:done()
Line 91 ⟶ 93:
:tag('span')
:attr('title', 'Edit this template')
:cssText(args.fontstyle
:wikitext(editLink)
:done()
Line 101 ⟶ 103:
:tag('span')
:css('margin-left', '-0.125em')
:cssText(
:wikitext(']')
:newline();
Line 111 ⟶ 113:
:tag('span')
:css('font-size', '110%')
:cssText(args.fontstyle
:wikitext(args[1])
end
return tostring(div:
end
|