• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Left

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 8,400 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

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}}
The above documentation is transcluded from Template:Left/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Left&oldid=33669"
Last edited on 24 September 2025, at 21:57
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • Creative Commons Attribution-ShareAlike
      • Powered by MediaWiki
      • Monitored by WikiApiary
      • ipv6 ready
      • Powered by Semantic MediaWiki
      • This page was last modified on 24 September 2025, at 21:57. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement