Template:Dir
Appearance
ltr
Outputs rtl
for right-to-left languages else ltr
.
Currently it recognizes the following rtl languages:
- ar
- arc
- arz
- azb
- bcc
- ckb
- bqi
- dv
- fa
- fa-af
- glk
- ha
- he
- kk-arab
- kk-cn
- ks
- ku-arab
- mzn
- nqo
- pnb
- prd
- ps
- sd
- ug
- ur
- ydd
- yi
Usage
[change source]{{dir|1=|2=|3=}}
Template parameters
[change source]Parameter | Description | Default | Status | |
---|---|---|---|---|
1 |
The language code | empty | required | |
2 |
rtl action | rtl | optional | |
3 |
ltr action | ltr | optional |