Template:Indent: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m Protected "Template:Indent": High-risk template or module (more info) ([Edit=Allow only autoconfirmed users] (indefinite))
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="margin-{{dir|{{PAGELANGUAGE}}|right|left}}:{{{width|1.6em}}}; margin-top: 0.2em; margin-bottom: 0.5em;{{{style|}}}">
<div style="margin:.2em 0 .5em;margin-{{Dir|{{PAGELANGUAGE}}|right|left}}:{{{width|1.6em}}};{{{style|}}}">{{{1}}}</div><noinclude>{{Documentation}}</noinclude>
{{{1}}}
</div><noinclude>
{{documentation}}
[[Category:Templates]]
</noinclude>

Latest revision as of 00:17, 19 February 2022

{{{1}}}
Template documentation


Indents text. Should be used instead of colon, because colons generate a fake description list.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

Text to be indented

Example
This text will be indented.
Contentrequired
Stylestyle

CSS properties in style attribute

Example
color:red; font-style:italic
Stringoptional
Widthwidth

Size of empty space before content.

Default
1.6em
Example
2em
Stringoptional