m (add text for doc) |
m (remove wikipedia links and allows unnamed parameter) |
||
Line 1: | Line 1: | ||
<div style="text-indent: -{{{indent|1.6em}}}; margin-left: {{{indent|1.6em}}};">{{{text}}}</div><noinclude> | <div style="text-indent: -{{{indent|1.6em}}}; margin-left: {{{indent|1.6em}}};">{{{text|{{{1|}}}}}}</div><noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
This template creates a paragraph with a hanging indent. | This template creates a paragraph with a hanging indent. | ||
'' | This template requires one parameter which can be unnamed or named {{para|text}} | ||
''WIki markup example:'' | |||
<code><nowiki>{{Hanging indent| text=This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence.}}</nowiki></code> | <code><nowiki>{{Hanging indent| text=This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. ...}}</nowiki></code> | ||
Produces: | <code><nowiki>{{Hanging indent|This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. ...}}</nowiki></code> | ||
Both Produces: | |||
{{Hanging indent| text={{Lorem ipsum|1|This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. }}}} | {{Hanging indent| text={{Lorem ipsum|1|This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. }}}} | ||
[[Category:Typing-aid templates]] | [[Category:Typing-aid templates]] | ||
[[Category:Formatting and function templates]] | [[Category:Formatting and function templates]] | ||
}}</noinclude> | }}</noinclude> |
Revision as of 20:16, 23 August 2016
Template documentation
This template creates a paragraph with a hanging indent.
This template requires one parameter which can be unnamed or named |text=
WIki markup example:
{{Hanging indent| text=This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. ...}}
{{Hanging indent|This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. ...}}
Both Produces:
This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Subpages of this template. |