Template:Left/doc

From Guild of Archivists
< Template:Left
Revision as of 06:11, 29 January 2016 by Alahmnat (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Template:Col-begin Template:Col-break

{| class="wikitable" style="width:30em; text-align:center"
!colspan="4"| Header text
|-
| {{Left}} Left1 || Center1 || Center2 || {{Left}} Left2
|}

Template:Col-break

Header text
Left1 Center1 Center2 Left2

Template:Col-end

Example 2

Template:Col-begin Template:Col-break

{| class="wikitable" style="width:30em; text-align:center"
!colspan="4"| Header text
|-
| {{Left|Left1}} || Center1 || Center2 || {{Left|Left2}}
|}

Template:Col-break

Header text
Left1
Center1 Center2
Left2

Template:Col-end

See also

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