• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Outdent/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Outdent
This is the template sandbox page for Template:Outdent (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template should not be substituted.
WarningThis template is used on approximately 78,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:Outdent (sandbox)
Shortcuts
  • {{odTemplate:Od}}
  • {{outTemplate:Out}}

Threading of replies on talk pages is done using indentation and lists. This template is used for outdenting a reply on a talk page when indentation gets too deep.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Examples
    • 3.1 With indentation wikitext
    • 3.2 Positive integer
    • 3.3 With separate indent
    • 3.4 Indent
  • 4 CSS and hide
  • 5 See also

Usage

edit

{{od|integer}} or {{od|indentation wikitext}}

Integer examples:

  • {{od|5}}
  • {{od|-15}}
  • {{od|11|r=y}}

Indentation examples:

  • {{od|:::::}}
  • {{od|*::::::}}
  • {{od|**:::#}}

Parameters

edit
|1=indent
Supports two modes: literal indentation or an integer. In literal indentation mode the value may contain : (indents), * (unnumbered list), and # (numbered list). It is recommended to copy the colons, asterisks, and hashes from the start of the previous message. In integer mode, the value is interpreted as number of indents (:). Default value is 10. Supported range is from -40 to 40. A negative integer is the same as positive integer with |reverse=y.
|2=y
Set it to add a link to Wikipedia:Indentation#Outdenting. {{od|5|y}} produces:
(outdent)
|r=y (aliases |reverse=y, |indent=y, |in=y)
Reverses the outdentation to become indentation and vice versa.

Examples

edit

With indentation wikitext

edit
::::Previous post, indented with four colons.
{{Outdent|::::}} New post.

displays as

Previous post, indented with four colons.
New post.

Positive integer

edit
::::::Previous post, indented 6 levels.
{{Outdent|6}} New post.

displays as

Previous post, indented 6 levels.
New post.

With separate indent

edit

To not outdent all the way to the left margin, indent the {{outdent}} template itself using colons:

::::::Previous post, indented 6 levels.
::{{Outdent|4}} New post.

displays as

Previous post, indented 6 levels.
New post.

Indent

edit

Using |reverse=y:

::::::Previous post, indented 6 levels.
::{{Outdent|4}} Start of a new post indented 2 levels using a bar of length 6−2=4.
::{{Outdent|5|reverse=yes}}
:::::::Indent to indentation level 7 using a reversed bar of length 7−2=5.

displays as

Previous post, indented 6 levels.
Start of a new post indented 2 levels using a bar of length 6−2=4.
Indent to indentation level 7 using a reversed bar of length 7−2=5.

Or with a negative integer:

::::::Original conversation.
::::::{{od|-3}}
:::::::::Afterthought.
:::::::{{od|2}}
:::::::Continuation of original conversation.

displays as

Original conversation.
Afterthought.
Continuation of original conversation.

CSS and hide

edit

This template is contained in the CSS class "outdent-template". Users who would prefer not to see the template can add the following line to their custom CSS (Special:MyPage/common.css):

.outdent-template { display: none; }

See also

edit
  • {{Outdent2}} — rather than a bar on the previous line, produces a bracketed arrow on the same line.
  • Wikipedia:Indentation (WP:INDENT)
  • Wikipedia:Talk page guidelines (WP:TALK)
Inline talk templates
Template  P?    Example shortcut  Output  Notes 
Thread level
{{Moved talk}} Green checkmarkY {{Moved talk|Dresden}} Moved: was at Talk:Dresden
Used at the thread's current ___location
{{Moved talk to}} Green checkmarkY {{Moved talk to|Berlin}} Moved to: Talk:Berlin
Used at the thread's former ___location
{{Thread retitled}} Green checkmarkY {{Thread retitled|Old title}}
Thread retitled from Old title.
Per Wikipedia:Talk page guidelines#Section headings
Opening
{{Summoned by bot}} Red X symbolN {{sbb}} (Summoned by bot) Can be used in requests for comment
{{Buttinsky}} Red X symbolN {{Buttinsky}} (orange butt icon Buttinsky) A variation of {{Talk page stalker}}
{{Edit conflict}} {{ec}} (edit conflict) To indicate that you encountered an edit conflict
{{Interrupted}} Green checkmarkY {{Interrupted|User|16:15, 30 August 2025 (UTC)}} — User 16:15, 30 August 2025 (UTC) — continues after insertion below Used to identify the contributor of the upper fragment(s) of a comment that was broken up by a different contributor's insertion of text
{{Non-admin comment}} {{nacmt}} (Non-administrator comment) Optional and only for own comments, see doc
{{Pinged}} Red X symbolN {{Pinged}} (pinged) Indicates a notification was received
{{Responding to ping}} Red X symbolN {{rtp}} (responding to ping) Similar to {{pinged}}
{{Talk page stalker}} {{tps}} (talk page stalker) Cf. Wikipedia:Talk page stalker
{{Talk page watcher}} {{tpw}} (talk page watcher) Ditto
Notifications Red X symbolN
{{Hidden ping}} Green checkmarkY {{hp|Username}} ​ Invisible notification utilizing the zero-width space character
{{Ping group}} Green checkmarkY {{pinggroup|Example:|User 1|User 2|...}} Example: (User 1—User 2—...) Up to 10 usernames
{{Pong}} Green checkmarkY {{pong|Username}}  Username: In reply to a ping
{{Reply to}} Green checkmarkY {{re|Username}}/
{{ping|Username}}
@Username: Sends a notification; up to 50 names
{{To}} Green checkmarkY {{To|Username}} To editor Username: Sends a notification
During
{{subst:Arbitrary break}} Red X symbolN{{subst:
Arbitrarybreak
}}
======(arbitrary break)====== Requires substitution
{{subst:Bump}} Red X symbolN {{subst:Bump}} Bumping thread ~~~~ Requires subst. A wrapper for {{do not archive until}}
{{FBDB}} Red X symbolN {{FBDB}} [FBDB] An initialism for Friendly Banter – Don't Block
{{KISS}} Red X symbolN {{KISS}} KISS References the KISS principle politely
{{No ping}} Green checkmarkY {{np|Username}} Username Works like {{U}} but without triggering a notification
{{No ping2}} Green checkmarkY {{np2|Username}} Username (talk · contribs) Works like {{User}} but without triggering a notification
{{Notelist-talk}} {{tnote}} [not shown here] Creates a list of footnotes for a talk page discussion
{{Outdent}} {{od|:::::}}
For out-denting a reply when indention gets too deep
{{Outdent2}} {{od2}} (←) Alternative out-denting
{{Reflist-talk}} {{tref}} [not shown here] Creates a list of references for a talk page discussion
{{Relevant discussion}} Green checkmarkY {{reldis|Talk:Berlin}}
Relevant discussion at→ Talk:Berlin
Creates links to related discussions in a visually unique way
{{Sock vote}} Green checkmarkY {{sock vote|Username}} (Nota bene Blocked sockpuppet of Username) To mark a vote/comment cast by sockpuppet. More parameters exist and can be viewed at the template documentation.
{{Sources-talk}} Red X symbolN {{Sources-talk}} [not shown here] A convenience wrapper around {{Reflist-talk}}
{{Talkfact}} "Example"{{talkfact}} "Example"[citation needed] Used to quickly ask an editor to back up their claims
{{Talk quote inline}} Green checkmarkY {{tq|"Example"}} "Example" To highlight a short excerpt of quoted material
{{Talk quote inline
italic
}}
Green checkmarkY {{tqi|"Example"}} "Example" "
{{Not talk quote inline}} Green checkmarkY {{!tq|"Example"}} "Example" To highlight a short excerpt of quoted material someone didn't say but could have, or perhaps, should have
{{Not talk quote inline
italic
}}
Green checkmarkY {{!tqi|"Example"}} "Example" "
{{Talk quote block}} Green checkmarkY {{tqb|"Example"}}

"Example"

To highlight a longer excerpt of quoted material
{{Talk quote block
minimalist
}}
Green checkmarkY {{tqbm|Example}}

Example

A longer excerpt of quoted material, with less highlighting
End
{{Please sign inline}} Red X symbolN {{please}} (Please remember to sign your posts on talk pages by typing four keyboard tildes like this: ~~~~. Or, you can use the [ reply ] button, which automatically signs posts.)
{{subst:Please ping}} {{Please ping}} (please Reply to icon mention me on reply) Includes your username if substituted, but can be transcluded. Use {{Please ping|no}} to ask not to be pinged.
{{Not watching}} Red X symbolN {{nw}} (I am not watching this page, so please ping me if you want my attention.)
{{subst:Notifyme}} Red X symbolN {{subst:pingme}} If you reply here, please put {{reply|your username will show up here}} in front of your message so I get a notification. Thank you! Requires substitution. Will automatically add your username by substituting {{REVISIONUSER}} when you save.
{{subst:Request ping}} Green checkmarkY {{subst:repi|Example}} If you reply here, please ping me by adding {{u|Example}} to your message, and signing it. Requires subst
{{Signote}} {{sg}} Please leave me a note if you reply
{{Watching}} Red X symbolN {{Watching}} (I am watching this page, so please reply here.)
Humor disclosure (See the humor disclosure templates here.)
The above documentation is transcluded from Template:Outdent/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Outdent/sandbox&oldid=926235893"
Last edited on 15 November 2019, at 02:03

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 15 November 2019, at 02:03 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop