Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


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  














Template:Outdent






Afrikaans
العربية
Asturianu
Azərbaycanca
تۆرکجه

Башҡортса
Беларуская

Български
Boarisch
Bosanski
Català
Čeština
Cymraeg
Dansk
Deutsch
Eesti
Español
Esperanto
Euskara
فارسی
Français
Gaeilge
Galego


Հայերեն
ि
Hrvatski
Bahasa Indonesia
Italiano
עברית
Jawa

Kreyòl ayisyen
Kurdî
Latina
Latviešu



مازِرونی
Bahasa Melayu

Nederlands


Norsk bokmål
ି
ि
پنجابی
پښتو

Polski
Português
Română
Русский

Scots

Simple English
سنڌي
Slovenčina
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Suomi
Svenska
ி
 


Türkçe
Удмурт
Українська
اردو
Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
MediaWiki
Meta-Wiki
Wikispecies
Wikibooks
Wikidata
Wikifunctions
Wikinews
Wikiquote
Wikisource
Wikiversity
Wikivoyage
Wiktionary
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Od)

  • {{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.

    Usage

    {{od|integer}}or{{od|indentation wikitext}}. Integer examples: {{od|5}}, {{od|-15}}, {{od|11|r=y}}. Indentation examples: {{od|:::::}}, {{od|*::::::}}, {{od|**:::#}}.

    Parameters

    |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:
    |r=y (aliases |reverse=y, |indent=y, |in=y)
    Reverses the outdentation to become indentation and vice versa.

    Examples

    With indentation wikitext

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

    displays as

    Previous post, indented with four colons.
    New post.

    Positive integer

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

    displays as

    Previous post, indented 6 levels.
    New post.

    With separate indent

    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

    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

    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


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Outdent&oldid=862816951"

    Categories: 
    Lua-based templates
    Inline talk templates
    Hidden categories: 
    Wikipedia template-protected templates
    Wikipedia never substituted templates
     



    This page was last edited on 6 October 2018, at 21:46 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki