Vorlage:Dir: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(add some more)
K (tag with {{heavily used template}}, currently about 5 million transclusions, #1 on the most used templates list)
Zeile 1: Zeile 1:
{{#switch:{{{1}}}|ar|arc|arz|bcc|bqi|dv|fa|fa-af|glk|ha|he|kk-arab|kk-cn|ks|ku|ku-arab|mzn|prd|ps|sd|ur|ydd|yi=rtl|ltr}}<noinclude>
<noinclude>{{heavily used template}}</noinclude>{{#switch:{{{1}}}|ar|arc|arz|bcc|bqi|dv|fa|fa-af|glk|ha|he|kk-arab|kk-cn|ks|ku|ku-arab|mzn|prd|ps|sd|ur|ydd|yi=rtl|ltr}}<noinclude>




Zeile 5: Zeile 5:
Outputs "<tt>rtl</tt>" for right-to-left languages else "<tt>ltr</tt>".
Outputs "<tt>rtl</tt>" for right-to-left languages else "<tt>ltr</tt>".


'''{{int:usage}}:''' <nowiki>{{</nowiki>dir|''language_code''}}
'''{{int:usage}}:''' {{Tlf|dir|''language_code''}}


Currently it recognizes the following rtl languages:
Currently it recognizes the following rtl languages:

Version vom 20. August 2009, 14:14 Uhr

Vorlage:Heavily used templateltr



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

⧼usage⧽: {{dir|language_code}}

Currently it recognizes the following rtl languages:

ar · arc · arz · bcc · bqi · dv · fa · fa-af · glk · ha · he · kk-arab · kk-cn · ks · ku · ku-arab · mzn · prd · ps · sd · ur · ydd · yi