Template:Outdent/doc

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Indenting on talk pages is done using a colon character (:). This template produces a connector bar to indicate an outdent. The length of the bar is specified by the number of colons used in the template.

Use[edit source]

{{Outdent|length}}

length
(optional, default: 10) specifies the length of the connector bar. The value may be specified as a string of colons (up to 20) or as an integer (up to 40)

Examples[edit source]


Using colons for length

:::::: This is the previous post, indented 6 levels.
{{Outdent|::::::}} Start of a new post

displays as

This is the previous post, indented 6 levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Start of a new post


Using numeric length

:::::: This is the previous post, indented 6 levels.
{{Outdent|6}} Start of a new post

displays as

This is the previous post, indented 6 levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Start of a new post


Using default length

:::::: This is the previous post, indented 6 levels.
{{Outdent}} Start of a new post ''(The bar is using the default value of 10.)''

displays as

This is the previous post, indented 6 levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Start of a new post (The bar is using the default value of 10.)


Indenting the outdent

:::::: This is the previous post, indented 6 levels.
:: {{Outdent|4}} Start of a new post

displays as

This is the previous post, indented 6 levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Start of a new post

Hiding the outdent[edit source]

Users who prefer not to see the bar can add the following style to their personal CSS (Special:MyPage/global.css or Special:MyPage/common.css):

.sw-outdent {
	display: none;
}