Template:Right/doc

From FORwiki

(Difference between revisions)
Jump to: navigation, search
(Example)
(Example)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
 +
You can use ''Right'' template to right align text.
 +
 +
== Usage ==
 +
 +
<nowiki>{{right|text}}</nowiki>
 +
== Example ==
== Example ==
-
Some <nowiki>&#123;&#123;right|right-aligned words&#125;&#125;</nowiki> in text.
+
Some <nowiki>{{right|right-aligned words}}</nowiki> in text.
-
Produces:<br/>
+
 
-
&nbsp;&nbsp;Some <div align="right">right-aligned words</div>&nbsp;&nbsp;in text.
+
produces
 +
 
 +
Some {{right|right-aligned words}} in text.

Current revision as of 16:30, 13 January 2010

You can use Right template to right align text.

Usage

{{right|text}}

Example

Some {{right|right-aligned words}} in text.

produces

Some
right-aligned words
in text.
Personal tools