Difference between revisions of "Template:Left/doc"
Jump to navigation
Jump to search
imported>Plastikspork (Merged) |
imported>Frietjes |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
| − | + | With no input arguments, this template saves typing the following text (in a table): | |
<code><nowiki>style="text-align:left"|</nowiki></code> | <code><nowiki>style="text-align:left"|</nowiki></code> | ||
| − | To use, type: <code><nowiki>{{left}}</nowiki></code> at the start of the table cell | + | To use, type: <code><nowiki>{{left}}</nowiki></code> at the start of the table cell |
| − | === | + | With an input argument, this template saves typing |
| − | {| class="wikitable" width= | + | |
| − | !colspan=" | + | <code><nowiki><div style="float:left;">...</div></nowiki></code> |
| + | |||
| + | To use, type: <code><nowiki>{{left|content}}</nowiki></code> to left-align content | ||
| + | |||
| + | == Examples == | ||
| + | ===Example 1=== | ||
| + | {{col-begin}} | ||
| + | {{col-break}} | ||
| + | <pre style="overflow:auto"> | ||
| + | {| class="wikitable" style="width:30em; text-align:center" | ||
| + | !colspan="4"| Header text | ||
| + | |- | ||
| + | | {{Left}}Left1 || Center1 || Center2 || {{Left}}Left2 | ||
| + | |} | ||
| + | </pre> | ||
| + | {{col-break|gap=2em}} | ||
| + | {| class="wikitable" style="width:30em; text-align:center" | ||
| + | !colspan="4"| Header text | ||
| + | |- | ||
| + | | {{Left}}Left1 || Center1 || Center2 || {{Left}}Left2 | ||
| + | |} | ||
| + | {{col-end}} | ||
| + | ===Example 2=== | ||
| + | {{col-begin}} | ||
| + | {{col-break}} | ||
| + | <pre style="overflow:auto"> | ||
| + | {| class="wikitable" style="width:30em; text-align:center" | ||
| + | !colspan="4"| Header text | ||
| + | |- | ||
| + | | {{Left|Left1}} || Center1 || Center2 || {{Left|Left2}} | ||
| + | |} | ||
| + | </pre> | ||
| + | {{col-break|gap=2em}} | ||
| + | {| class="wikitable" style="width:30em; text-align:center" | ||
| + | !colspan="4"| Header text | ||
|- | |- | ||
| − | | {{Left}} | + | | {{Left|Left1}} || Center1 || Center2 || {{Left|Left2}} |
|} | |} | ||
| + | {{col-end}} | ||
== See also == | == See also == | ||
Revision as of 15:03, 17 March 2015
| This is a documentation subpage for Template:Left. It contains usage information, categories and other content that is not part of the original template page. |
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}}
|}
|
| ||||||||
See also