Template:TOC: Difference between revisions
Appearance
[unreviewed revision] | [checked revision] |
Content deleted Content added
m fix typo |
m Changed protection settings for "Template:TOC": High-impact page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(19 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<div class="noprint {{#if:{{{limit|}}}|toclimit-{{{limit}}}}}" style="float:{{{float|left}}}; {{#switch: {{{float}}} |
|||
⚫ | |||
| right = margin:0.25em 0.25em 0.5em 0.5em; |
|||
| margin:0.25em 0.5em 0.5em 0.25em; |
|||
⚫ | |||
{{clear}} |
|||
See [[Editing_Wikitext/Headers#The_Table_of_Contents|Editing Wikitext: The Table of Contents]] |
|||
== Usage == |
|||
This template takes two variables: |
|||
* <code>float</code>, can be any of <code>left</code>, <code>right</code>, <code>none</code>, <code>inherit</code>[http://www.w3.org/TR/CSS21/visuren.html#propdef-float] |
|||
* <code>limit</code>, must be an integer. This limits how deep the TOC goes. |
|||
[[Category:Table of contents templates|{{PAGENAME}}]] |
|||
</noinclude> |
Latest revision as of 11:07, 25 October 2021
See Editing Wikitext: The Table of Contents
Usage
This template takes two variables:
float
, can be any ofleft
,right
,none
,inherit
[1]limit
, must be an integer. This limits how deep the TOC goes.