Template:Left/doc: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Milker
No edit summary
en>Milker
No edit summary
Line 55: Line 55:
== See also ==
== See also ==
* {{tl|align}}
* {{tl|align}}
* {{tl|center}} and {{tl|right}}, which use div tags instead of modifying cell properties.
* {{tl|center}}, {{tl|right}} and {{tl|left}}
* {{tl|float left}}
* {{tl|float center}}, {{tl|float right}} and {{tl|float left}}
* {{tl|Image frame}}
* {{tl|Image frame}}



Revision as of 14:51, 7 January 2020

Description

It is to left align elements on a page. The only parameter is the content to be aligned. See also Template:Align for more options and flexibility.

Usage

With no input arguments, it saves typing the following text (in a table):

style="text-align:left"|

To use, type {{left}} at the start of the table cell. It will leave Category:Pages using left with no arguments.

With an input argument, it saves typing:

<div style="float:left;">...</div>

To use, type {{left|content}} to align contents.

Examples

Example 1

Example 2

See also