Difference between revisions of "Template:Left"

From blackwiki
Jump to navigation Jump to search
imported>Salton Finneger
(→‎Table: Set table width so that alignment was visible)
imported>Salton Finneger
(Added optional parameter, so that left-aligned content could be used inside template, akin to usage for template:center and template:right.)
Line 1: Line 1:
<includeonly>style="text-align:left"|</includeonly><noinclude>
+
<includeonly>style="text-align:left"|{{{1|}}}</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==

Revision as of 19:59, 13 January 2014


Usage

This template saves typing the following text (in a table):

style="text-align:left"|

To use, type: {{left}}

Some {{left|left-aligned words}} in text produces:
Some style="text-align:left"|left-aligned words in text.

Table

Header text
Left
Center
Right

See also

  • {{left2}} - same as this, uses div tags instead of modifying cell properties
  • {{center}}
  • {{right}}