• Home
  • Random
  • Log in
  • Settings
  • About ARC Technical Repository
  • Disclaimers
ARC Technical Repository

s

  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]

This template uses block elements, e.g. <div> or <p>.
It should not be nested inside an inline element, e.g. <span>, or a template that produces such an element.

This template applies the class .wst-block-left, which can be targeted with a work's index styles.css using page styles.

See H:DIVSPAN for details.

Lua error: bad argument #1 to "get" (not a valid title).

Contents

  • 1 Usage
    • 1.1 Parameter
      • 1.1.1 Width
      • 1.1.2 Align
  • 2 See also

Usage

edit

This template places a block of text in the left of the page, without affecting the text alignment within that block.

Comparison of {{Block left}} and {{left}}

This template retains the current text alignment (usually left), but moves the entire block of text into the left. To change to left text alignment, use {{left}} instead.

Block left

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.


left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor.

Aenean massa.

Parameter

edit

All parameters are optional.

  • |class= set block additional classes
  • |width= set the width of the block
  • |offset= set the distance ("indent") from the left margin
  • |gutter= set the gap between the normal content and the block
  • |align= set the internal alignment of the block
  • |style= add other kinds of style
  • |body= or |1= content of the block

Width

edit

Where there is a requirement to fix the width of the block, an optional |width= parameter can be used. When the content is text, prefer text-relative units like em to absolute units like px.[1]

Example

{{block left|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

Align

edit

To align the content of the left-aligned block within the block, an optional |align= parameter may be used:

Example

{{block left|align=center|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.


  1. ↑ See H:PXWIDTH for further details.

See also

edit
  • {{block right}}
  • {{left}} and {{right}}
  • {{float left}} and {{float right}}
The above documentation is transcluded from Template:Block left/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://wiki.arcrocketry.club/index.php?title=Template:Block_left/s&oldid=632"
Last edited on 8 September 2026, at 00:07

Languages

    This page is not available in other languages.

    ARC Technical Repository
    • Powered by MediaWiki
    • This page was last edited on 8 September 2026, at 00:07.
    • Content is available under Copyrights unless otherwise noted.
    • Privacy policy
    • About ARC Technical Repository
    • Disclaimers
    • Desktop view