Template:Indent

From Homecoming Wiki
Revision as of 17:34, 5 February 2011 by imported>Sekoia (historical) (Created page with "<dl><dd>{{{text|{{{1|}}}}}}</dl><noinclude>{{documentation}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] [purge] Documentation

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.