Template:Left/doc
Jump to navigation
Jump to search
Usage
{{left}} encloses the input text or element code in <div>-tags and aligns the output block to the left.
Parameters
There is only 1 parameter, which is unnamed and required.
Syntax
The template's syntax is
{{left|custom text/element}}
Required parameters
1
- Custom text/element
The text (or other element) you wish to left-align. The parameter is unnamed, so no parameter name needs to be specified.
- Usage
{{left|custom text/element}}
Examples
Correct use
| Case | What you type | What you see |
|---|---|---|
| Text | {{left|This text is left-aligned}} |
This text is left-aligned
|
| Image | {{left|[[File:Idea.png|20px|link=]]}} |
See also
- General alignment
- {{align}}
- Specific alignment