Difference between revisions of "Template:Indent/doc"
From Xen
Lars.kurth (talk | contribs) (Created page with "== Syntax == <pre> {{Indent | width = extra indentation on the left | content = content }} </pre>") |
Lars.kurth (talk | contribs) (→Syntax) |
||
Line 6: | Line 6: | ||
}} |
}} |
||
</pre> |
</pre> |
||
+ | |||
+ | == Example 1 == |
||
+ | <pre> |
||
+ | {{Indent |
||
+ | | content = Some content |
||
+ | }} |
||
+ | </pre> |
||
+ | {{Indent|content = Some content}} |
||
+ | |||
+ | == Example 2 == |
||
+ | <pre> |
||
+ | {{Indent |
||
+ | | width = 60px |
||
+ | | content = Some content |
||
+ | }} |
||
+ | </pre> |
||
+ | {{Indent|content = Some content|width=60px}} |
||
+ | |||
+ | |||
+ | == Use == |
||
+ | Useful in particular for lists and <nowiki><pre></nowiki>-blocks |
Latest revision as of 09:30, 16 June 2012
Contents
Syntax
{{Indent | width = extra indentation on the left | content = content }}
Example 1
{{Indent | content = Some content }}
Some content |
Example 2
{{Indent | width = 60px | content = Some content }}
Some content |
Use
Useful in particular for lists and <pre>-blocks