Difference between revisions of "Template:Left"

From blackwiki
Jump to navigation Jump to search
imported>YLSS
imported>Salton Finneger
(→‎Table: Set table width so that alignment was visible)
Line 13: Line 13:
  
 
===Table===
 
===Table===
{| class="wikitable"
+
{| class="wikitable" width=300px
 
!colspan="3"| Header text
 
!colspan="3"| Header text
 
|-
 
|-
|{{Left}}Left || {{Center|Center}} || {{Right|Right}}
+
| {{Left}}Left || {{Center|Center}} || {{Right|Right}}
 
|}
 
|}
  

Revision as of 19:57, 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"| in text.

Table

Header text
Left
Center
Right

See also

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