Module:Large category TOC/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 24:
local toc_string
if collapsible then
toc_string = '<div class="collapsible plainlinks" style="background:transparent;">\n'..
'<div class="NavFrame" style="clear:both; background:WhiteSmoke;">\n'..
'<div class="NavHead" style="background:WhiteSmoke;">\n'..
'<div class="plainlinks" iddivid="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 plainlinks" style="clear:both; background:WhiteSmoke;">\n'..
'<div style="background:WhiteSmoke;">\n'..
'<div class="plainlinks" style="background:WhiteSmoke; text-align:center; font-size:100%;">\n'..
'<b>Index:</b> ['..pageurl..' *] ['..pageurl..'?from=# 0-9]'
end
Line 50:
if collapsible then
toc_string = toc_string..'</span><div class="NavContent" style="background:White; display:none;">'..
'<div class="plainlinks" style="background:White; font-size:100%; text-align:center;">'..
'\n----'..
'\n<code style="background:White;"> <b>#</b>'