Template:Indent

From Bearscape Wiki
Jump to: navigation, search

Adds indentation. The text is enclosed inside a <span> tag. For just a single level of indentation, use:

{{Indent|text=[TEXT]}}

For more than one level of indentation, use:

{{Indent|text=[TEXT]|levels=[X]}}

(where [TEXT] is your text and [X] is the number of levels of indentation)

Simply providing the text without a prefix works too, for example:

{{Indent|[TEXT]}}

Examples[edit]

{{Indent|text=No indenting!|levels=0}}

renders as:

No indenting!

{{Indent|text=Hello there!}}

renders as:

Hello there!

{{Indent|text=Goodbye!|levels=2}}

renders as:

Goodbye!