Difference between revisions of "Template:CompactTOC10"

From blackwiki
Jump to navigation Jump to search
imported>GoldRingChip
imported>TheDJ
(we don't need that table stuff anymore)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| id="toc" class="toc" summary="Contents"
+
{{TOC top}}{{{sections}}}
! {{MediaWiki:Toc}}:
+
{{TOC bottom}}<noinclude>{{doc|content=
{{{sections}}}
+
 
|} __NOTOC__
 
<noinclude>
 
 
==Usage==
 
==Usage==
  
<pre><nowiki>
+
<pre>
 
  {{CompactTOC10|sections={{CompactTOC10s|section=Section 1|sub=}}
 
  {{CompactTOC10|sections={{CompactTOC10s|section=Section 1|sub=}}
 
  {{CompactTOC10s|section=Section 2|sub=_2}}
 
  {{CompactTOC10s|section=Section 2|sub=_2}}
Line 12: Line 10:
 
  ... ''more if needed''
 
  ... ''more if needed''
 
  }}
 
  }}
</nowiki></pre>
+
</pre>
 +
 
 +
See [[list of mathematics categories]] for how this table of contents is used.
 +
 
 +
[[Category:Wikipedia table of contents templates|{{PAGENAME}}]]
  
See [[list of mathematics categories]] for an example,
+
}}</noinclude>
[[Category:TOC templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 17:07, 21 August 2013

Template:TOC top{{{sections}}}

Template:TOC bottom

50px 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.