User:MjolnirPants/Indenting
From Wikipedia, the free encyclopedia
This is the first comment. Example (talk) 01:23, 1 January 2026 (UTC)
- This is the second comment, a response to the first comment. It is achieved by adding a colon (:) to the beginning of the comment. Each new line you insert needs a colon at the beginning to indent this way. Example1 (talk) 01:29, 1 January 2026 (UTC)
- This is the fourth comment, a response to the first comment, again. Note how this returns to one level of indentation. Example2 (talk) 01:34, 1 January 2026 (UTC)
- This is the seventh comment, a new response to the first comment. Example (talk) 01:55, 1 January 2026 (UTC)
- This is the eighth comment, a response to the seventh comment. Example1 (talk) 02:03, 1 January 2026 (UTC)
- This is the ninth comment, also response to the seventh comment. Example3 (talk) 02:07, 1 January 2026 (UTC)
This is an outdent, to bring the text blocks back. The code for this outdent is {{Outdent|::::::}}. Notice how the number of colons inserted after the pipe (the '|' character, achieved by hitting Shift+\ on your standard keyboard) is equal to the number of colons of the line it replies to, instead of being one more. In this case, it is telling the template how far indented the comment you are replying to is, while your own comment gets indented back to the beginning. This can make things much easier to read in long discussions. Example1 (talk) 02:29, 1 January 2026 (UTC)
Notes
Each comment should be indented one level past the comment it is replying to. So when there are two replies to the same comment, they will have the same indenting. Always place your own comments at the end of a thread, to help others get the order in which the comments were made. The level of indentation indicates the 'flow' of conversation, whereas a comment's vertical location on the page indicates the order in which it was made.
Reply button
For the past several years, Wikipedia has included a 'reply' button next to comments (I believe, but am not certain, that this applies to everyone, not just those who have opted-in). Using that button will automatically use most of the rules illustrated above (newer comments will appear lower, and replies will be indented one level past the comment it was made in response to). However, it does not handle outdenting. To properly outdent, you should hit the edit button on the page or section (if available), and then manually type the outdent code and your response. The reply button will automatically append a four-tilde signature (the default) if there is no signature present. See the link in the last sentence for information about different kinds of signatures.