Difference between revisions of "Template:Left"
From MansunWiki
(Created page with "<includeonly>{{{{{|safesubst:}}}#if:{{{1|}}} |<div style="float:left;">{{{1|}}}</div> |style="text-align:left"{{{{{|safesubst:}}}!}} }}</includeonly><noinclude> {{documentatio...") |
(No difference)
|
Latest revision as of 23:56, 15 July 2015
This documentation is transcluded from Template:Left/doc. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
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
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}} |} |
|