Template:Compact TOC/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Twiddle.) |
m (→Parameters: cleanup) |
||
Line 55: | Line 55: | ||
*<code>top=yes</code> — enable the "Top" link; this is only useful if this copy of the ToC is a secondary ToC not at the top of the page, e.g. in the middle of a long glossary. (Every rendered page has a hidden <code><nowiki><a name="top" id="top"></a></nowiki></code> above the sitenotice which makes this link work without having to do anything but enable it in the template.) |
*<code>top=yes</code> — enable the "Top" link; this is only useful if this copy of the ToC is a secondary ToC not at the top of the page, e.g. in the middle of a long glossary. (Every rendered page has a hidden <code><nowiki><a name="top" id="top"></a></nowiki></code> above the sitenotice which makes this link work without having to do anything but enable it in the template.) |
||
*<code>sym=yes</code> — enable the "!$@" link for symbolic entries section |
*<code>sym=yes</code> — enable the "!$@" link for symbolic entries section |
||
*<code>num=yes</code> — enable the "0–9" link for numeric entries section ( |
*<code>num=yes</code> — enable the "0–9" link for numeric entries section (create a heading of <code><nowiki>==0&ndash;9==</nowiki></code> for the link to work) |
||
*<code>symnum=yes</code> — enable the "!–9" link for combined symbolic and numeric entries section ( |
*<code>symnum=yes</code> — enable the "!–9" link for combined symbolic and numeric entries section (create a heading of <code><nowiki>==!&ndash;9==</nowiki></code> for the link to work) |
||
*<code>custom1</code>, <code>custom2</code> and <code>custom3</code> — add up to 3 extra "custom" sections at the end of the list (alternatively <code>Sec1, Sec2, Sec3</code>) |
*<code>custom1</code>, <code>custom2</code> and <code>custom3</code> — add up to 3 extra "custom" sections at the end of the list (alternatively <code>Sec1, Sec2, Sec3</code>) |
||
*<code>seealso=yes</code> — enable link to the "See also" section |
*<code>seealso=yes</code> — enable link to the "See also" section |