Template:Outdent/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>K6ka (Created page with ";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 "...") |
sims>K6ka (if not, i'd be in big trouble...) |
||
Line 38: | Line 38: | ||
:'''This template <u>must</u> be transcluded, as shown above. Do not substitute the template (e.g. <code><nowiki>{{subst:outdent|3|Link}}</nowiki></code>).''' |
:'''This template <u>must</u> be transcluded, as shown above. Do not substitute the template (e.g. <code><nowiki>{{subst:outdent|3|Link}}</nowiki></code>).''' |
||
;Credits |
|||
:This template's code was stolen (ahem, borrowed) from the template of the same name on Wikipedia, viewable [[wikipedia:Template:Outdent|here]] ([http://en.wikipedia.org/w/index.php?title=Template:Outdent&action=history authors]). |
|||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 19:40, 11 June 2014
- 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}}
).