Template:Indent/doc

From Homecoming Wiki
< Template:Indent
Revision as of 17:37, 5 February 2011 by imported>Sekoia (historical) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== This template can be used for indentation where the colon cannot. Th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Indent (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template can be used for indentation where the colon cannot. The colon only works on single-line input. This means it breaks when used with many templates.

The recommended way to call it is with the text= parameter:

{{indent|text=Text to be indented}}

However, if your text is simple and does not contain an equal sign, you can also call it without a parameter name (though this is discouraged):

{{indent|Text to be indented}}

Examples

{{indent|text=This is an example.}}
This is an example.
{{indent|This is another example.}}
This is another example.
{{indent|text=This is an example on multiple lines, line one.

This is an example on multiple lines, line two.}}
This is an example on multiple lines, line one. This is an example on multiple lines, line two.