Difference between revisions of "Template:Left2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
m (text-align → float)
imported>Sardanaphalus
(category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
+
<!-- Categories at the bottom of this page, please; interwikis to Wikidata. -->
  
 
== Usage ==
 
== Usage ==
Line 19: Line 19:
  
 
== See also ==
 
== See also ==
 
+
*{{tl|left}}, which modifies cell properties instead of using divs.
*{{tl|left}} - same as this, but modifies cell properties instead of using divs
 
 
*{{tl|center}}
 
*{{tl|center}}
 
*{{tl|right}}
 
*{{tl|right}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<!-- Categories go here and interwikis go in Wikidata. -->
+
| <!-- Categories below this line, please; interwikis to Wikidata. -->
[[Category:typing-aid templates|Left2]]
+
[[Category:Positioning templates]]
[[Category:Wikipedia formatting and function templates|Left2]]
+
[[Category:Typing-aid templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:47, 16 November 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}}, which modifies cell properties instead of using divs.
  • {{center}}
  • {{right}}