Template:Left/doc: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Frietjes
No edit summary
en>Edokter
Line 23: Line 23:
!colspan="4"| Header text
!colspan="4"| Header text
|-
|-
| {{Left}}Left1 || Center1 || Center2 || {{Left}}Left2
| {{Left}} Left1 || Center1 || Center2 || {{Left}} Left2
|}
|}
</pre>
</pre>
Line 30: Line 30:
!colspan="4"| Header text
!colspan="4"| Header text
|-
|-
| {{Left}}Left1 || Center1 || Center2 || {{Left}}Left2
| {{Left}} Left1 || Center1 || Center2 || {{Left}} Left2
|}
|}
{{col-end}}
{{col-end}}

Revision as of 15:07, 17 March 2015

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

Example 2

See also

  • {{center}} and {{right}}, which use div tags instead of modifying cell properties.