Difference between revisions of "Template:Dir/doc"

From AerialWiki
Jump to navigation Jump to search
(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...")
 
m (Protected "Template:Dir/doc" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 

Latest revision as of 19:48, 4 September 2012

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