Template:Left/doc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} __NOTOC__ ==Usage== {{tl|left}} encloses the input text or element code in <div>-tags and aligns the output block to the left. ==Parameters==...")
 
Line 31: Line 31:


==See also==
==See also==
;<big>General alignment</big>
* {{tl|align}}
;<big>Specific alignment</big>
* {{tl|center}}
* {{tl|center}}
* {{tl|right}}
* {{tl|right}}

Revision as of 15:36, 18 December 2014

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