Template:Left
Usage Edit
With no input arguments, this template 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 Edit
Example 1 Edit
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{Left}} Left1 || Center1 || Center2 || {{Left}} Left2 |} |
|
Example 2 Edit
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{Left|Left1}} || Center1 || Center2 || {{Left|Left2}} |} |
|
See also Edit
- {{center}} and {{right}}, which use div tags instead of modifying cell properties.
- {{float left}}
The above documentation is transcluded from Template:Left/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |