Template:Indent/doc
< Template:Indent
Jump to navigation
Jump to search
Revision as of 17:37, 5 February 2011 by imported>Sekoia (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...")
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.