Difference between revisions of "Template:Indent/doc"

From Xen
(Created page with "== Syntax == <pre> {{Indent | width = extra indentation on the left | content = content }} </pre>")
 
(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

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