Content deleted Content added
SilverLocust (talk | contribs) replace double spaces with space Tag: Reverted |
SilverLocust (talk | contribs) space before concatenated string, not after |
||
(6 intermediate revisions by the same user not shown) | |||
Line 57:
local body_content = {}
if toc_type ~= 'collapsible' then
table.insert(body_content, ' <span class="large-cat-toc-anum">['..pageurl..'?from=* *]</span>
end
table.insert(body_content, ' <span class="large-cat-toc-anum">#</span>
body_wrapper = body:tag('span')
Line 77:
if toc_type == 'aejot' or toc_type == 'scrollable' then
table.insert(azlist,' • <span class="large-cat-toc-anum">'..letter..'</span>
else
table.insert(azlist,' <br /><span class="large-cat-toc-anum">'..letter..'</span>
end
for _, v in ipairs(letterlist) do
table.insert(azlist, string.format(
' [%s?from=%s%s %s%s]
))
end
Line 98:
return '__NOTOC__\n' .. mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Module:Large category TOC/styles.css' }
} .. tostring(toc_frame
end
|