Usage edit

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

ویکی‌پدیا (به انگلیسی: Wikipedia) یک دانشنامهٔ اینترنتی چندزبانه با محتویات آزاد است که با همکاری افراد داوطلب نوشته می‌شود و مقالات آن می‌تواند توسط هر کسی که به اینترنت دسترسی دارد، ویرایش گردد. نام ویکی‌پدیا واژه‌ای ترکیبی است که از واژه‌های ویکی (وب‌گاه مشارکتی) و انسیکلوپدیا (دانشنامه یا دایرةالمعارف) گرفته شده‌است. میزبان‌های اینترنتی اصلی این وب‌گاه در شهر تامپای فلوریدا هستند. همچنین میزبان‌های دیگری هم در شهرهای آمستردام و سئول به این وب‌گاه یاری می‌رسانند.

example (from Wikipedia in Hebrew):

ויקיפדיה (באנגלית: Wikipedia) היא אנציקלופדיית תוכן חופשי המשתמשת בטכנולוגיית ויקי ופועלת באינטרנט. "חופשי" פירושו חופשי לעיון ללא כל מגבלה, חופשי לעריכה (תוך התחשבות בכללי ויקיפדיה), וחופשי להעתקה ולהפצה (בהתאם לתנאי רישיון Creative Commons מסוג CC-BY-SA, ובתמונות מסוימות - לפי כללי השימוש ההוגן). ויקיפדיה היא יצירה שפותחה ומפותחת באופן שיתופי במספר רב של לשונות. היא מנוהלת ומתופעלת בידי קרן ויקימדיה, מוסד ללא כוונת רווח שמרכזו בארצות הברית.

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

Template data edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Rtl-para in articles based on its TemplateData.

TemplateData for Rtl-para

Insert a paragraph that flows right-to-left.

Template parameters

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