Template:Dir
Revision as of 19:21, 4 September 2012 by Kwickert (talk | contribs) (Protected "Template:Dir" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Template:Heavily used templateltr
Outputs "rtl" for right-to-left languages else "ltr".
Currently it recognizes the following rtl languages:
- 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
Usage
{{Dir|1=|2=|3=}}
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | The language code | empty | required |
parameter #2 (2) | rtl action | rtl | optional |
parameter #3 (3) | ltr action | ltr | optional |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
The above documentation is transcluded from Template:Dir/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |