Jump to content

Template:Rtl-para/doc

Checked
From pool


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):

Template:Lang

example (from Wikipedia in Hebrew):

Template:Lang

(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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert a content, or an ISO 639 language code

Stringrequired
22

Insert a content belonging to the language specified, if the first parameter is used

Stringoptional
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.