This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Dir: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Alno
m Protected "Template:Dir": High-usage template - very few needs to be updated ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]
imported>Eclecticology
remove link to undefined template
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}|ar|arc|dv|fa|fa-af|glk|ha|he|ks|ku|mzn|prd|ps|sd|ur|yi=rtl|ltr}}<noinclude>
{{#switch:{{{1}}}|ar|arc|arz|bcc|ckb|bqi|dv|fa|fa-af|glk|ha|he|kk-arab|kk-cn|ks|ku-arab|mzn|pnb|prd|ps|sd|ug|ur|ydd|yi=rtl|ltr}}<noinclude>
 
{{documentation}}
 
----
Outputs "<tt>rtl</tt>" for right-to-left languages else "<tt>ltr</tt>".
 
'''{{int:usage}}:''' <nowiki>{{</nowiki>dir|''language_code''}}
 
Currently it recognizes the following rtl languages:
:'''ar · arc · dv · fa · fa-af · glk · ha · he · ks · ku · mzn · prd · ps · sd · ur · yi'''


[[Category:Internationalization templates|{{PAGENAME}}]]
[[Category:Internationalization templates|{{PAGENAME}}]]
[[Category:Function templates|{{PAGENAME}}]]
[[Category:Function templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 06:53, 8 January 2013

ltr

Documentation


Template:Dir/documentation