Module:TOCyears and Module:TOCyears/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
rm hlist, unnecessary id |
Sync from main |
||
Line 32: | Line 32: | ||
-- Top div tag |
-- Top div tag |
||
local top = root:tag('div') |
local top = root:tag('div') |
||
top:addClass('toc plainlinks') |
top:addClass('toc plainlinks hlist') |
||
if isPrimary then |
if isPrimary then |
||
top |
top |
||
Line 60: | Line 60: | ||
local title = args.title or mw.message.new('Toc'):plain() |
local title = args.title or mw.message.new('Toc'):plain() |
||
local titleDiv = top:tag('div') |
local titleDiv = top:tag('div') |
||
titleDiv:attr('id', 'toctitle') |
|||
titleDiv:attr('class', 'toctitle') |
titleDiv:attr('class', 'toctitle') |
||
if isPrimary then |
if isPrimary then |