Template:Compact TOC/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (→Letters: Twiddles.) |
m (Twiddle.) |
||
Line 53: | Line 53: | ||
*<code>align=</code> — sets the alignment of the ''links'' inside the table; default is left; use <code>center</code>, <code>right</code> or <code>left</code> |
*<code>align=</code> — sets the alignment of the ''links'' inside the table; default is left; use <code>center</code>, <code>right</code> or <code>left</code> |
||
*<code>nobreak=yes</code> — no linebreak between the A-B-C-etc. stuff and the See also/References/etc. stuff (note: does not affect the heading; use <code>side=</code> for that) |
*<code>nobreak=yes</code> — no linebreak between the A-B-C-etc. stuff and the See also/References/etc. stuff (note: does not affect the heading; use <code>side=</code> for that) |
||
*<code>top=yes</code> — enable the "Top" link; this is only useful if this copy of the ToC is |
*<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 ('''''use''''' heading <CODE>==0&ndash;9==</CODE> for the link to work) |
*<code>num=yes</code> — enable the "0–9" link for numeric entries section ('''''use''''' heading <CODE>==0&ndash;9==</CODE> for the link to work) |