Template:Dir

From MattWiki
Jump to: navigation, search
Dialog-warning-orange.svg Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.

</span>


aragonés | asturianu | Boarisch | беларуская (тарашкевіца)‎ | български | čeština | Deutsch | Deutsch (Sie-Form)‎ | Zazaki | English | español | eesti | فارسی | suomi | français | galego | magyar | Հայերեն | italiano | 日本語 | 한국어 | македонски | Bahasa Melayu | مازِرونی | Nederlands | norsk nynorsk | polski | português | română | русский | svenska | Tiếng Việt | 中文(简体)‎ | 中文(繁體)‎ | edit

ltr

Documentation icon Template documentation[view] [edit] [history] [purge]

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
  • pnb
  • prd
  • ps
  • sd
  • ug
  • ur
  • ydd
  • yi

Usage

{{dir|1=|2=|3=}}

Template parameters

Parameter Description Default Status
1 The language code empty required
2 rtl action rtl optional
3 ltr action ltr optional