Difference between revisions of "Template:CompactTOC10"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(d'oh)
imported>TheDJ
(we don't need that table stuff anymore)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__<table class="toc" id="toc">
+
{{TOC top}}{{{sections}}}
<tr>
+
{{TOC bottom}}<noinclude>{{doc|content=
<td>
 
<div id="toctitle">
 
<h2>Contents</h2>
 
</div>
 
<div>
 
{|
 
{{{sections}}}
 
|}
 
</div>
 
</td>
 
</tr>
 
</table><noinclude>{{doc|content=
 
  
 
==Usage==
 
==Usage==

Latest revision as of 17:07, 21 August 2013

Template:TOC top{{{sections}}}

Template:TOC bottom

Template documentation

Usage

 {{CompactTOC10|sections={{CompactTOC10s|section=Section 1|sub=}}
 {{CompactTOC10s|section=Section 2|sub=_2}}
 {{CompactTOC10s|section=Section 3|sub=_3}}
 ... ''more if needed''
 }}

See list of mathematics categories for how this table of contents is used.