Template:Dir: Difference between revisions
Content deleted Content added
imported>Rocket000 ←Created page with '{{#switch:{{{1}}}|ar|arc|dv|fa|fa-af|glk|ha|he|ks|ku|mzn|prd|ps|sd|ur|yi=rtl|ltr}}<noinclude> ---- Outputs "<tt>rtl</tt>" for right-to-left languages else "<tt>l...' |
Jalexander (talk | contribs) m 15 revisions from meta:Template:Dir: pre importing templates for privacy policy switch tomorrow |
||
(14 intermediate revisions by 10 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:{{lc:{{{1|{{int:lang}}}}}}}|ar|arc|arz|azb|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={{{2|rtl}}}|{{{3|ltr}}}}}<noinclude>{{documentation}}</noinclude> |
||
---- |
|||
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:Function templates|{{PAGENAME}}]] |
|||
</noinclude> |
Revision as of 23:12, 5 June 2014
ltr
This template has a duplicate on Meta-Wiki. Please visit its documentation on Meta-Wiki for usage details and any additional information. Please keep the content and translations synchronized as much as possible. Thank you! |