Template:Dir/doc

From AerialWiki
< Template:Dir
Revision as of 17:44, 3 September 2012 by Kwickert (talk | contribs) (Created page with "{{TemplateBox |1=1 |1d=The language code |1def= |1stat=required |2=2 |2d=rtl action |2def=rtl |2stat=optional |3=3 |3d=ltr action |3def=ltr |3stat=optional |name=Dir |desc=Out...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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