Template:Dir/doc

From OpenMedia
Jump to: navigation, 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