Template:Rtol: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 1: Line 1:
<div style="direction: rtl;"><div style="float:left">{{spaces|1}}</div>{{{1}}}</div>
<div style="direction: rtl;"><div style="float:left">{{spaces|1}}</div>{{{1}}}</div><noinclude>
 
Changes text direction to Right-to-left for languages like Arabic. Minor workarounds may be needed. The class "rtol" can be used for tables and other elements where the template won't work.
 
;Usage
 
:<nowiki>{{</nowiki>rtol|وبعد وفاته بدوره اخذه عمه ابو طالب الذي تكفل برعايته بعدها. }}
 
produces (text appears on right of screen):
 
:{{rtol|وبعد وفاته بدوره اخذه عمه ابو طالب الذي تكفل برعايته بعدها. }}
 
 
</noinclude>

Latest revision as of 18:10, 10 October 2014

 
{{{1}}}

Changes text direction to Right-to-left for languages like Arabic. Minor workarounds may be needed. The class "rtol" can be used for tables and other elements where the template won't work.

Usage
{{rtol|وبعد وفاته بدوره اخذه عمه ابو طالب الذي تكفل برعايته بعدها. }}

produces (text appears on right of screen):

 
وبعد وفاته بدوره اخذه عمه ابو طالب الذي تكفل برعايته بعدها.