Template:Left/doc

From MozillaWiki
Jump to navigation Jump to search
Edit-copy green.svg
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

{{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=]]}}
Idea.png

See also

General alignment
Specific alignment