Template:Right/doc: Difference between revisions

no edit summary
m (rm redundant interwiki)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1:
{{doc-sub}}
{{documentation subpage}}
 
==Usage==
 
This template aligns text to the right. For example,
<nowiki>{{right|'''Example text'''}}</nowiki>
yields
{{right|'''Example text'''}}
 
 
Text can be offset from the right margin by use of a second <tt>offset</tt> parameter, implicitly or by name:
Line 15 ⟶ 12:
both yield
{{right|'''Example text'''|3em}}
 
 
==<nowiki>{{right}}</nowiki> ''versus'' {{tl|float right}}==
Line 38 ⟶ 34:
''{{Lorem ipsum}}''
|}
 
 
===See also===
* [[Template:Left]]
 
<!-- template categories and interwiki links -->
<includeonly>
[[Category:Special effects templates|{{PAGENAME}}Template]]
[[Category:Formatting templates]]
 
[[es:Plantilla:Derecha]]
[[id:Templat:Right]]
[[pt:Predefinição:Alinhado à direita]]
</includeonly>