Editing Template:Toclimit

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude>
+
<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div>
 
 
'''Usage:''' <code><nowiki>{{toclimit}}</nowiki></code> or <code><nowiki>{{toclimit|3}}</nowiki></code>
 
 
 
Inserts a Table of Contents which omits subheadings beyond a certain depth. The table obeys the same layout rules as the <nowiki>__TOC__</nowiki> magic word. Omitted sections still have section edit links in the article body; the main use for this template is situations where you want section edit links for ease of editing but don't want to clutter the table of contents.
 
 
 
The template defaults to including second and third-level headings, e.g. those numbered "1" and "1.1" in the TOC. (Note: The first-level heading on a page is, by default, the page title.)
 
[[Category:Templates]]
 
</noinclude>
 

Please note that all contributions to Highway 0 are considered to be released under the Creative Commons Attribution-ShareAlike (see HWY0:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)