Difference between revisions of "Template:Align/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
m (<br/>s to ensure output appears below the "...produces this:" lines)
blackwiki>Sardanaphalus
(category)
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
 
This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:
 
This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:
  
Line 22: Line 22:
  
 
<includeonly>
 
<includeonly>
[[Category:Wikipedia formatting and function templates]]
+
[[Category:Positioning templates]]
 
</includeonly>
 
</includeonly>

Revision as of 21:32, 26 August 2014

This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:

{{align|position|content}}

Examples

{{align|left|'''Hello world!'''}} produces this:
Hello world!
{{align|right|'''Hello world!'''}} produces this:
Hello world!
{{align|center|'''Hello world!'''}} produces this:
Hello world!