Template:TOC: Difference between revisions

From Wikizilla, the kaiju encyclopedia
Jump to navigationJump to search
m (Titanollante moved page Template:TOC/test to Template:TOC without leaving a redirect)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div><noinclude>
<div style="margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div><noinclude>Table of contents.
{{doc}}
Add
|limit=[#]
to limit table of contents to display that subheading.
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 21:23, 18 January 2020

Table of contents.

Add

|limit=[#]

to limit table of contents to display that subheading.