Teamplaid:Right
Coltas
Tuairisgeul - Description
[deasaich]It is to right align elements on a page. The only parameter is the content to be aligned. See also Teamplaid:Align for more options and flexibility.
Ùsaid - Usage
[deasaich]With no input arguments, it saves typing the following text (in a table):
style="text-align:right"|
To use, type {{Right}}
at the start of the table cell. It will leave Roinn-seòrsa:Pages using Right with no input arguments.
With an input argument, it saves typing:
<div style="float:right;">...</div>
To use, type {{Right|content}}
to align contents.
Eisimpleirean - Examples
[deasaich]Example 1
[deasaich]
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{Right}} Content1A <br/> Content1B || Content2 |}
|
|
Example 2
[deasaich]
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{Right|Content1A}} <br/> Content1B || Content2 |}
|
|
Faic cuideachd - Also see
- {{Align}}
- {{Center}}, {{Right}} and {{Left}}
- {{Float center}}, {{Float right}} and {{Float left}}
- {{Image frame}}
The above documentation is transcluded from Teamplaid:Right/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |