Template:Outdent/doc
- Description
- For outdenting a reply on a talk page when indention gets too deep. Indenting on talk pages is done using a colon character (:) (Source mode editor) or via the "Indent" button (Rich Text Editor); this template produces a connector bar and initial text to indicate an outdent, based on the number of colons used in the previous indent.
- Usage
- To outdent posts, insert the number of colons that were used for indenting in the previous post, or use an integer value for that number.
- For example:
::::This is the previous post, indented 4 levels {{Outdent|::::}} Start of a new post
- Shows up as:
- This is the previous post, indented 4 levels
Start of a new post
- You can also add a second parameter. Inserting anything into the second parameter will cause a link to pop up, indicating that the line is an outdent.
- For example:
:::::This is the previous post, indented 5 levels {{Outdent|::::|Link}} Start of a new post
- Shows up as:
- This is the previous post, indented 4 levels
(outdent) Start of a new post
- You may also use the shortcut
{{od}}
to add the template. E.g.{{od|:::::|Link}}
- The template supports up to 20 colons as a parameter, but supports any given integer. Values above 40 may show a separated line though.
- The default number of colons is 10.
- This template must be transcluded, as shown above. Do not substitute the template (e.g.
{{subst:outdent|3|Link}}
).