Difference between revisions of "Template:Documentation/preload"

From blackwiki
Jump to navigation Jump to search
test>AlefZet
m (68 revisions imported)
 
(54 intermediate revisions by 23 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
<noinclude><!--
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
 +
  This code must be kept in sync with that at [[Wikipedia:Template documentation#How to create a documentation subpage]].
 +
 +
--></noinclude>{{Documentation subpage}}
 +
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
== 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 ==
 
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<include<includeonly></includeonly>only>{{sandbox other||
[[Category:Multilingual support templates|{{PAGENAME}}]]
+
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Wikipedia formatting templates|{{PAGENAME}}]]
 
  
</includeonly>
+
}}</include<includeonly></includeonly>only>

Latest revision as of 10:24, 7 September 2020

Usage

<includeonly></includeonly>