Module:Large category TOC/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 20:
local toc_string
if collapsible then
toc_string = '<div class="collapsible" style="background:transparent;">\n'..
toc_string = toc_string.. '<div class="NavFrame" style="clear:both; background:WhiteSmoke;">\n'..
'<div class="NavHead" style="background:WhiteSmoke;">\n'..
'<div class="plainlinks" id="kat_toc" style="background:WhiteSmoke; text-align:center; font-size:100%;">\n'..
'<b>Index:</b> ['..pageurl..' *] ['..pageurl..'?from=# 0-9]'
else
toc_string = '<div class="toc" style="clear:both; background:WhiteSmoke;">\n'..
'<div style="background:WhiteSmoke;">\n'..
end
toc_string = toc_string..'<div class="NavFrame" style="clear:both; background:WhiteSmoke;">\n'..
'<div class="NavHead" style="background:WhiteSmoke;">\n'..
'<div class="plainlinks" id="kat_toc" style="background:WhiteSmoke; text-align:center; font-size:100%;">\n'..
'<b>Index:</b> ['..pageurl..' *] ['..pageurl..'?from=# 0-9]'
end
-- Add ?from=A through Z to the title bar
for i=1,26,1 do