Template:toclimit

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(new template to limit the depth of a TOC)
(add new cat)
 
(includes 1 intermediate revision)
Line 1: Line 1:
-
<span class="toclimit-{{{1|}}}">__TOC__</span><noinclude>
+
<span class="toclimit-{{{1|1}}}">__TOC__</span><noinclude>
This template is used to limit the depth of the TOC.
This template is used to limit the depth of the TOC.
Line 12: Line 12:
[[Category:Simple Formatting Templates|{{PAGENAME}}]]
[[Category:Simple Formatting Templates|{{PAGENAME}}]]
 +
[[Category:TOC Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Current revision as of 00:06, 22 January 2023

Contents

This template is used to limit the depth of the TOC.

For reference see Template:TOC.

[edit] Usage

To limit the toc to a depth of one:

{{toclimit|1}}
Personal tools