Template:Left/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
Description
It is to left align elements on a page. The only parameter is the content to be aligned.
Usage
With no input arguments, it saves typing the following text (in a table):
style="text-align:left"|
To use, type {{left}}
at the start of the table cell.
With an input argument, this template saves typing:
<div style="float:left;">...</div>
To use, type {{left|content}}
to left-align content.
Examples
Example 1
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{Left}} Left1 || Center1 || Center2 || {{Left}} Left2 |} |
|
Example 2
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{Left|Left1}} || Center1 || Center2 || {{Left|Left2}} |} |
|
See also
- {{align}}
- {{center}} and {{right}}, which use div tags instead of modifying cell properties.
- {{float left}}
- {{Image frame}}