Wikipedia:Indentation
This essay contains the advice or opinions of one or more Wikipedia contributors. Essays may represent widespread norms or minority viewpoints. Consider these views with discretion. Essays are not Wikipedia policies or guidelines. |
Good indentation makes prolonged discussions easier to read and understand. It might be helpful to think of discussions as reports with numbered/bulleted sections and subsections where material is not necessarily written in chronological order. Remember to also follow the Talk page guidelines. In these examples the bolded line is the most-recently-added reply. Long discussions should be split up by level two headings to provide [edit] section links and reduce edit conflicts.
Indentation guidelines
[edit]- 1. A reply should be placed beneath the original comment. The reply should be indented:
- Me too. Place holder T/C 12:44, 1 January 2011 (UTC)
- 2. If two replies are made to one specific comment, they should be at the same level of indentation with the later reply at the bottom:
- Me too. Place holder T/C 12:44, 1 January 2011 (UTC)
- Me three! →sandbox 13:57, 1 January 2011 (UTC)
- 3. A response to a reply should be placed below that reply, but above all later replies. The response should be indented relative to the adjacent replies:
- Me too. Place holder T/C 12:44, 1 January 2011 (UTC)
- I thought you didn't like indentation, Place holder. --Example 14:23, 1 January 2011 (UTC)
- Me three! →sandbox 13:57, 1 January 2011 (UTC)
- 4. A new comment or sub-thread that is being added after a number of replies should go at the bottom. Do not add a new comment or sub-thread where it will separate an earlier comment from its replies:
- Me too. Place holder T/C 12:44, 1 January 2011 (UTC)
- I thought you didn't like indentation, Place holder. --Example (talk) 14:23, 1 January 2011 (UTC)
- Me three! →sandbox 13:57, 1 January 2011 (UTC)
- I thought you didn't like indentation either, sandbox. --Example (talk) 14:32, 1 January 2011 (UTC)
- I thought that too, Example. Warning Testing 15:51, 1 January 2011 (UTC)
- I thought you didn't like indentation either, sandbox. --Example (talk) 14:32, 1 January 2011 (UTC)
Outdenting
[edit]Sometimes a long discussion can cause indentation to become too deep, which may make it difficult to read, especially in narrower browser windows. In such cases you may consider outdenting your post (also called undenting). When doing so it is helpful to make clear what you are doing, for the benefit of readers. The templates {{outdent}} and {{outdent2}} exist for this purpose.
Example of {{outdent}} (shortcut {{od}}):
- Me too. Place holder T/C 12:44, 1 February 2011 (UTC)
- I thought you didn't like indentation, Place holder. --Example (talk) 14:23, 1 February 2011 (UTC)
- I sure don't. (example2) 14:32, 1 February 2011
- I can take it or leave it. —the other example 15:15, 1 February 2011 (UTC)
- I sure don't. (example2) 14:32, 1 February 2011
- I thought you didn't like indentation, Place holder. --Example (talk) 14:23, 1 February 2011 (UTC)
Example of {{outdent2}} (shortcut {{od2}}):
- Me too. Place holder T/C 12:44, 1 February 2011 (UTC)
- I thought you didn't like indentation, Place holder. --Example (talk) 14:23, 1 February 2011 (UTC)
- I sure don't. (example2) 14:32, 1 February 2011
- I can take it or leave it. —the other example 15:15, 1 February 2011 (UTC)
- I sure don't. (example2) 14:32, 1 February 2011
- I thought you didn't like indentation, Place holder. --Example (talk) 14:23, 1 February 2011 (UTC)
See also
[edit]- For how to indent, see Help:Using talk pages#Indentation or Help:Introduction to talk pages/Layout or Wikipedia:Tutorial (Talk pages)#Indenting
- Wikipedia:Talk page
- Wikipedia:Talk page guidelines
- Wikipedia talk:Talk page guidelines/Archive 3#On indentation styles and HTML generation. for details on the effect of various wikicode indentation styles on the HTML output.
- Wikipedia:Etiquette