• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Left

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 9,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

Contents

  • 1 Description
  • 2 Usage
  • 3 Examples
    • 3.1 Example 1
    • 3.2 Example 2
  • 4 TemplateData
  • 5 See also

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

Note: If you trying to align a table column (left, center, or right) use Template:Table alignment.

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.

With an input argument, it saves typing:

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

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

Examples

Example 1

{| class="wikitable" style="width:30em; text-align:center"
!colspan="4"| Header text
|-
| {{Left}} Content1A <br/> Content1B || Content2
|}
Header text
Content1A
Content1B
Content2

Example 2

{| class="wikitable" style="width:30em; text-align:center"
!colspan="4"| Header text
|-
| {{Left|Content1A}} <br/> Content1B || Content2
|}
Header text
Content1A

Content1B
Content2

TemplateData

Left aligns elements on a page

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

Content to be left aligned

Contentoptional

See also

  • {{align}}
  • {{center}}, {{right}} and {{justify}}
  • {{Center block}}
  • {{Image frame}}
  • {{Table alignment}} - to align whole columns in tables.
The above documentation is transcluded from Template:Left/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Left&oldid=1305592699"
Last edited on 13 August 2025, at 00:32

Languages

    • العربية
    • অসমীয়া
    • Asturianu
    • Azərbaycanca
    • تۆرکجه
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Башҡортса
    • Беларуская
    • भोजपुरी
    • Bosanski
    • Буряад
    • Català
    • Čeština
    • Dansk
    • الدارجة
    • Eesti
    • Español
    • Euskara
    • Farefare
    • فارسی
    • Føroyskt
    • Français
    • Gaeilge
    • Galego
    • Хальмг
    • Հայերեն
    • Hrvatski
    • Ilokano
    • Íslenska
    • עברית
    • Jawa
    • Kurdî
    • Ladin
    • Latina
    • Latviešu
    • Lietuvių
    • Македонски
    • മലയാളം
    • मराठी
    • مازِرونی
    • Монгол
    • မြန်မာဘာသာ
    • Nederlands
    • नेपाली
    • 日本語
    • Norsk bokmål
    • ଓଡ଼ିଆ
    • ਪੰਜਾਬੀ
    • پنجابی
    • پښتو
    • Português
    • Qaraqalpaqsha
    • Română
    • Русский
    • Scots
    • සිංහල
    • Simple English
    • Slovenščina
    • کوردی
    • Suomi
    • Svenska
    • Tagalog
    • தமிழ்
    • တႆး
    • తెలుగు
    • ไทย
    • Тоҷикӣ
    • Türkçe
    • Українська
    • اردو
    • Vèneto
    • Tiếng Việt
    • 粵語
    • 中文
    • Kumoring
    • ꠍꠤꠟꠐꠤ
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 13 August 2025, at 00:32 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop