Template:Right: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hoof Hearted (talk | contribs) (5px to .5em, expand grammar etc) |
||
Line 1: | Line 1: | ||
<div style="text-align:right; margin-right: | <div style="text-align:right; margin-right:.5em">{{{1}}}</div><noinclude>{{clear}} | ||
---- | ---- | ||
;Utilisation | ;Utilisation | ||
When 'reading from right to left' texts, such as Arabic, Classic Chinese, etc are used within a page with existing 'left to right' roman texts (English, German, French, Spanish, etc), this | When 'right-aligned, reading from right-to-left' texts, such as Arabic, Classic Chinese, etc are used within a page with existing 'left to right' roman texts (English, German, French, Spanish, etc), this {{tag|Housekeeping templates|housekeeping}} {{tag|Language templates|language template}} can be used to right-align a section of text on the displayed page. | ||
<pre>{{ | <pre>{{right|Your 'right-aligned, reading from right-to-left' . . . 'right-aligned, reading from right-to-left' text.}}</pre> | ||
will display: | will display: | ||
{{right|Your 'right to left' text}} | {{right|Your 'right-aligned, reading from right-to-left' . . . 'right-aligned, reading from right-to-left' text.}} | ||
Obviously, this example shown would work better with the appropriate language text! : | Obviously, this example shown would work better with the appropriate non-roman language text! :-P | ||
[[Category: | [[Category:Wiki Language| ]]</noinclude> | ||
</noinclude> |
Revision as of 17:11, 12 November 2017
{{{1}}}
- Utilisation
When 'right-aligned, reading from right-to-left' texts, such as Arabic, Classic Chinese, etc are used within a page with existing 'left to right' roman texts (English, German, French, Spanish, etc), this housekeeping language template can be used to right-align a section of text on the displayed page.
{{right|Your 'right-aligned, reading from right-to-left' . . . 'right-aligned, reading from right-to-left' text.}}
will display:
Your 'right-aligned, reading from right-to-left' . . . 'right-aligned, reading from right-to-left' text.
Obviously, this example shown would work better with the appropriate non-roman language text! :-P