Difference between revisions of "Template:CompactTOC10"

From blackwiki
Jump to navigation Jump to search
imported>Oleg Alexandrov
(how about now?)
imported>TheDJ
(we don't need that table stuff anymore)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| id="toc" border="0"
+
{{TOC top}}{{{sections}}}
! {{{section}}}: <div align="right">
+
{{TOC bottom}}<noinclude>{{doc|content=
| [[{{{pagename}}}#{{{section}}}#top|Top]] - [[{{{pagename}}}#{{{section}}}#0&ndash;9|0&ndash;9]] [[{{{pagename}}}#{{{section}}}#A|A]] [[{{{pagename}}}#{{{section}}}#B|B]] [[{{{pagename}}}#{{{section}}}#C|C]] [[{{{pagename}}}#{{{section}}}#D|D]] [[{{{pagename}}}#{{{section}}}#E|E]] [[{{{pagename}}}#{{{section}}}#F|F]] [[{{{pagename}}}#{{{section}}}#G|G]] [[{{{pagename}}}#{{{section}}}#H|H]] [[{{{pagename}}}#{{{section}}}#I|I]] [[{{{pagename}}}#{{{section}}}#J|J]] [[{{{pagename}}}#{{{section}}}#K|K]] [[{{{pagename}}}#{{{section}}}#L|L]] [[{{{pagename}}}#{{{section}}}#M|M]] [[{{{pagename}}}#{{{section}}}#N|N]] [[{{{pagename}}}#{{{section}}}#O|O]] [[{{{pagename}}}#{{{section}}}#P|P]] [[{{{pagename}}}#{{{section}}}#Q|Q]] [[{{{pagename}}}#{{{section}}}#R|R]] [[{{{pagename}}}#{{{section}}}#S|S]] [[{{{pagename}}}#{{{section}}}#T|T]] [[{{{pagename}}}#{{{section}}}#U|U]] [[{{{pagename}}}#{{{section}}}#V|V]] [[{{{pagename}}}#{{{section}}}#W|W]] [[{{{pagename}}}#{{{section}}}#X|X]] [[{{{pagename}}}#{{{section}}}#Y|Y]] [[{{{pagename}}}#{{{section}}}#Z|Z]]</div> __NOTOC__
+
 
|}
+
==Usage==
 +
 
 +
<pre>
 +
  {{CompactTOC10|sections={{CompactTOC10s|section=Section 1|sub=}}
 +
{{CompactTOC10s|section=Section 2|sub=_2}}
 +
{{CompactTOC10s|section=Section 3|sub=_3}}
 +
... ''more if needed''
 +
}}
 +
</pre>
 +
 
 +
See [[list of mathematics categories]] for how this table of contents is used.
 +
 
 +
[[Category:Wikipedia table of contents templates|{{PAGENAME}}]]
 +
 
 +
}}</noinclude>

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.