Teimpléad:Dí-eangú/doc

Ón Vicipéid, an chiclipéid shaor.

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[athraigh foinse]

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

Parameters[athraigh foinse]

|1=aisiompú
Supports two md-ees: literal indentation or an integer. In literal indentation md-ee the value may contain <cd-ee>:</cd-ee> (indents), <cd-ee>*</cd-ee> (unnumbered list), and <cd-ee>#</cd-ee> (numbered list). It is recommended to copy the colons, asterisks, and hashes from the start of the previous message. In integer md-ee, the value is interpreted as number or indents (<cd-ee>:</cd-ee>). Default value is <cd-ee>10</cd-ee>. Supported range is from −40 to 40. A negative integer is the same as positive integer with |aisiompú=y.
|2=y
Set it to add a link to Wikipedia:Indentation#dí-eangúing. {{d-e|5|y}} prd-euces:
|r=y (aliases |aisiompú=y, |aisiompú=y, |in=y)
Reverses the dí-eangúation to become indentation and vice versa.

Examples[athraigh foinse]

With indentation wikitext[athraigh foinse]

::::Previous post, indented with four colons.
{{dí-eangú|::::}} New post.

displays as

Previous post, indented with four colons.
New post.

Positive integer[athraigh foinse]

::::::Previous post, indented 6 levels.
{{dí-eangú|6}} New post.

displays as

Previous post, indented 6 levels.
New post.

With separate indent[athraigh foinse]

To not dí-eangú all the way to the left margin, indent the {{dí-eangú}} template itself using colons:

::::::Previous post, indented 6 levels.
::{{dí-eangú|4}} New post.

displays as

Previous post, indented 6 levels.
New post.

Indent[athraigh foinse]

Using |reverse=y:

::::::Previous post, indented 6 levels.
::{{dí-eangú|4}} Start of a new post indented 2 levels using a bar of length 6−2=4.
::{{dí-eangú|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.
::::::{{d-e|-3}}
:::::::::Afterthought.
:::::::{{d-e|2}}
:::::::Continuation of original conversation.

displays as

Original conversation.
Afterthought.
Continuation of original conversation.

CSS and hide[athraigh foinse]

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; }