Difference between revisions of "Template:Hanging indent"

From blackwiki
Jump to navigation Jump to search
imported>JakeWi
(p)
imported>Sardanaphalus
(category)
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}}}</div><noinclude>
{{documentation|content=
+
{{Documentation
 +
| content =
 
This template creates a paragraph with a hanging indent.
 
This template creates a paragraph with a hanging indent.
  
 
''Wikipedia markup example:''
 
''Wikipedia 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:
+
produces:
  
{{Hanging indent| text=This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence.}}
+
{{Hanging indent |text=This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence.}}
  
 
== See also ==
 
== See also ==
 
* {{tl|indent}}
 
* {{tl|indent}}
  
 +
[[Category:Spacing (inline) templates]]
 
[[Category:Typing-aid templates]]
 
[[Category:Typing-aid templates]]
[[Category:Wikipedia formatting and function templates]]
+
}}<!--(end Documentation)-->
}}</noinclude>
+
</noinclude>

Revision as of 14:11, 16 November 2014

{{{text}}}
Template documentation

This template creates a paragraph with a hanging indent.

Wikipedia markup example:

{{Hanging indent |text=This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence.}}

produces:

This is the paragraph to be formatted with a hanging indent. Typically paragraphs contain more than one sentence.

See also