Difference between revisions of "Template:Left/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Plastikspork
(Merged)
Line 7: Line 7:
 
<code><nowiki>style="text-align:left"|</nowiki></code>
 
<code><nowiki>style="text-align:left"|</nowiki></code>
  
To use, type: <code><nowiki>{{left}}</nowiki></code> at the start of the table cell.
+
To use, type: <code><nowiki>{{left}}</nowiki></code> at the start of the table cell, or use <code><nowiki>{{left|content}}</nowiki></code> to left-align content within the cell (using a div tag).
  
 
===Table===
 
===Table===
Line 17: Line 17:
  
 
== See also ==
 
== See also ==
*{{tl|left2}}, which uses div tags instead of modifying cell properties.
+
*{{tl|center}} and {{tl|right}}, which use div tags instead of modifying cell properties.
*{{tl|center}}
 
*{{tl|right}}
 
  
 
<includeonly>{{basepage subpage
 
<includeonly>{{basepage subpage

Revision as of 13:35, 17 March 2015

Usage

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

style="text-align:left"|

To use, type: {{left}} at the start of the table cell, or use {{left|content}} to left-align content within the cell (using a div tag).

Table

Header text
Left
Center
Right

See also

  • {{center}} and {{right}}, which use div tags instead of modifying cell properties.