Difference between revisions of "Template:Left2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Epicgenius
imported>Useddenim
m (text-align → float)
Line 5: Line 5:
 
This template saves typing the following text (in a table):
 
This template saves typing the following text (in a table):
  
<code><nowiki><div style="text-align:left;">This is the text.</div></nowiki></code>
+
<code><nowiki><div style="float:left;">This is the text.</div></nowiki></code>
  
 
To use, type: <code><nowiki>{{left2|This is the text.}}</nowiki></code>
 
To use, type: <code><nowiki>{{left2|This is the text.}}</nowiki></code>

Revision as of 00:46, 29 October 2014

Usage

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

<div style="float:left;">This is the text.</div>

To use, type: {{left2|This is the text.}}

Table

Header text
Left2
Center
Right

See also

  • {{left}} - same as this, but modifies cell properties instead of using divs
  • {{center}}
  • {{right}}