Modèle:Dir

Version datée du 29 novembre 2008 à 23:51 par test0>Alno (Protected "Template:Dir": High-usage template - very few needs to be updated ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])

{{#switch:{{{1}}}|ar|arc|dv|fa|fa-af|glk|ha|he|ks|ku|mzn|prd|ps|sd|ur|yi=rtl|ltr}}



Outputs "rtl" for right-to-left languages else "ltr".

⧼usage⧽: {{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