Difference between revisions of "Template:CompactTOC10"
Jump to navigation
Jump to search
Template documentation
imported>Cydebot m (Robot - Moving category TOC templates to Wikipedia table of contents templates per CFD at Wikipedia:Categories for discussion/Log/2009 December 17.) |
imported>Thumperward (more closely match this to the regular TOC output) |
||
| Line 1: | Line 1: | ||
| − | + | __NOTOC__<table class="toc" id="toc"> | |
| − | + | <tr> | |
| + | <td> | ||
| + | <div id="toctitle"> | ||
| + | <h2>Contents</h2> | ||
| + | </div> | ||
| + | <div> | ||
{{{sections}}} | {{{sections}}} | ||
| − | + | </div> | |
| − | <noinclude> | + | </td> |
| + | </tr> | ||
| + | </table><noinclude>{{doc|content= | ||
| + | |||
==Usage== | ==Usage== | ||
| − | <pre | + | <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 20: | ||
... ''more if needed'' | ... ''more if needed'' | ||
}} | }} | ||
| − | + | </pre> | |
See [[list of mathematics categories]] for how this table of contents is used. | See [[list of mathematics categories]] for how this table of contents is used. | ||
| − | [[Category:Wikipedia table of contents templates|{{PAGENAME}}]]</noinclude> | + | |
| + | [[Category:Wikipedia table of contents templates|{{PAGENAME}}]] | ||
| + | |||
| + | }}</noinclude> | ||
Revision as of 15:40, 2 March 2012
Contents{{{sections}}} |
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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |