Difference between revisions of "Template:Documentation/preload"
Jump to navigation
Jump to search
test>Davidgothberg (Changed the interwiki comment to match the one we have used at Wikipedia:Template documentation for some time now.) |
test>AlefZet |
||
| Line 3: | Line 3: | ||
== Usage == | == 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. | ||
| + | |||
| + | example (from {{lang|ar|[[:ar:جورج دبليو بوش]]}}): | ||
| + | |||
| + | {{rtl-para|ar| '''جورج ووكر بوش''' أو '''جورج و. بوش''' | ||
| + | ( بالإنجليزية: George Walker Bush) هو الرئيس الحالي والثالث والأربعون [[الولايات المتحدة الامريكية|للولايات المتّحدة الأمريكيّة]]. كان حاكما لولاية [[تكساس]] قبل توليه رئاسة الدولة. ولد في [[6 يوليو|6 تموز]]، [[1946]] وتسلّم الحكم في [[20 يناير|20 كانون الثاني]] [[2001]] بعد إنتخابات متقاربة النتائج مع [[آل غور]]. في عام [[2004]] أعيد انتخابة للمرة الثانية لمدّة أربع سنوات، تنتهي فترة حكمه في 20 كانون الثاني [[2009]].سللام سلام }} | ||
| + | |||
| + | (resize browser window to check linebreaking behaviour) | ||
| + | |||
| + | if you subst: the template, English bits within the text (such as "George Walker Bush" in the present example) can be marked with <nowiki>{{lang|en|...}}</nowiki>: | ||
| + | <div style="direction: rtl; unicode-bidi: embed;" lang="ar" xml:lang="ar"> '''جورج ووكر بوش''' أو '''جورج و. بوش''' ( بالإنجليزية: {{lang|en|George Walker Bush}}) هو الرئيس الحالي والثالث والأربعون [[الولايات المتحدة الامريكية|للولايات المتّحدة الأمريكيّة]]. كان حاكما لولاية [[تكساس]] قبل توليه رئاسة الدولة. ولد في [[6 يوليو|6 تموز]]، [[1946]] وتسلّم الحكم في [[20 يناير|20 كانون الثاني]] [[2001]] بعد إنتخابات متقاربة النتائج مع [[آل غور]]. في عام [[2004]] أعيد انتخابة للمرة الثانية لمدّة أربع سنوات، تنتهي فترة حكمه في 20 كانون الثاني [[2009]]. </div> | ||
== See also == | == See also == | ||
| − | + | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | |
| + | [[Category:Multilingual support templates|{{PAGENAME}}]] | ||
| + | [[Category:Wikipedia formatting templates|{{PAGENAME}}]] | ||
| − | </ | + | </includeonly> |
Revision as of 21:12, 13 May 2008
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.
example (from ar:جورج دبليو بوش):
(resize browser window to check linebreaking behaviour)
if you subst: the template, English bits within the text (such as "George Walker Bush" in the present example) can be marked with {{lang|en|...}}:
جورج ووكر بوش أو جورج و. بوش ( بالإنجليزية: George Walker Bush) هو الرئيس الحالي والثالث والأربعون للولايات المتّحدة الأمريكيّة. كان حاكما لولاية تكساس قبل توليه رئاسة الدولة. ولد في 6 تموز، 1946 وتسلّم الحكم في 20 كانون الثاني 2001 بعد إنتخابات متقاربة النتائج مع آل غور. في عام 2004 أعيد انتخابة للمرة الثانية لمدّة أربع سنوات، تنتهي فترة حكمه في 20 كانون الثاني 2009.