Template:Right/doc: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>YLSS
→‎See also: left vs. left2
en>Sardanaphalus
category
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
== Usage ==
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE END OF THIS PAGE. -->


This is a simple template to right align content in tables and other places. The only parameter is the content to be aligned.
This is a simple template to right align content in tables and other places. The only parameter is the content to be aligned.
Line 9: Line 5:
== Example ==
== Example ==


{{markup
{{Markup
| <nowiki>{{right|Hello world!}}</nowiki>
| <nowiki>{{right|Hello world!}}</nowiki>
| {{right|Hello world!}}
| {{right|Hello world!}}
Line 17: Line 13:
* {{tl|center}}
* {{tl|center}}
* {{tl|left2}}
* {{tl|left2}}
* {{tl|left}} (modifies cell properties, no div's)
* {{tl|left}}


<includeonly>
<includeonly>
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Positioning templates]]
 
[[Category:Typing-aid templates]]
[[Category:Typing-aid templates|Right]]
[[Category:Wikipedia formatting and function templates|Right]]
</includeonly>
</includeonly>

Revision as of 22:32, 16 November 2014

This is a simple template to right align content in tables and other places. The only parameter is the content to be aligned.

Example

Markup Renders as
{{right|Hello world!}}
Hello world!

See also