Template:Rtl-para/doc
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
Usage
en-wiki pages are lang="en", dir="ltr" globally. use this template to insert a paragraph that flows right-to-left. Since any such paragraph will likely be in a language other than English, supply the ISO 639 code of its language as the first parameter.
Type {{rtl-para|fa|text}}. Instead of the fa for the Persian language you may type other codes for other intended languages written with a right-to-left script.
example (from Wikipedia in Persian):
example (from Wikipedia in Hebrew):
(resize browser window or select texts to check linebreaking behaviour)
if you subst: the template, English bits within the text (such as "Wikipedia" in the present example) can be marked with {{lang|en|...}}.
See also
- {{rtl-lang}}, for strings of rtl text inside strings of ltr text
Insert a paragraph that flows right-to-left.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Insert a content, or an ISO 639 language code | String | required |
| 2 | 2 | Insert a content belonging to the language specified, if the first parameter is used | String | optional |