Difference between revisions of "Template:Outdent/doc"

From Summertime Saga Wiki
Jump to: navigation, search
m (Parameter)
m
Line 1: Line 1:
Threading of replies on talk pages is done using indentation and lists. The template {{tl|outdent}} is used for outdenting a reply on a talk page when indentation gets too deep.
+
The template {{tl|outdent}} is used for outdenting a reply on a talk page when indentation gets too deep.
  
 
== Usage ==
 
== Usage ==

Revision as of 18:51, 13 July 2020

The template Template:Tl is used for outdenting a reply on a talk page when indentation gets too deep.

Usage

Template:Tlc.

Integer examples:

Indentation examples:

Parameter

|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. An integer value is interpreted as number or indents (:). Supported range is from −40 to 40.

Examples

With indentation wikitext

Markup Renders as
:::: Previous post, indented with four colons.
{{outdent|::::}} New post.
Previous post, indented with four colons.
New post.

Positive integer

Markup Renders as
:::::: Previous post, indented 6 levels.
{{outdent|6}} New post.
Previous post, indented 6 levels.
New post.

With separate indent

To not outdent all the way to the left margin, indent the Template:Tlc template itself using colons:

Markup Renders as
:::::: Previous post, indented 6 levels.
:: {{outdent|4}} New post.
Previous post, indented 6 levels.
New post.

Indent

Markup Renders as
:::::: Original conversation.
:::::: {{outdent|-3}}
::::::::: Afterthought.
::::::: {{outdent|2}}
::::::: Continuation of original conversation.
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 in Special:MyPage/common.css:

span.outdent-template { display:none; }