跳转到内容

Template:Dir

ltr

概要

Outputs "rtl" for right-to-left languages, else "ltr". Currently it recognizes the following rtl languages:

aeb · aeb-arab · ar · arc · arq · ary · arz · azb · bcc · bgn · bqi · ckb · dv · fa · fa-af · glk · ha-arab · he · khw · kk-arab · kk-cn · ks · ks-arab · ku-arab · lki · lrc · luz · ms-arab · mzn · nqo · ota · pnb · prd · ps · sd · sdh · skr · skr-arab · ug · ug-arab · ur · uz-arab · ydd · yi

參數及使用方法

模板参数 此模板首选参数行内格式。
参数 描述 类型 状态
language 1 The language code


单行文本 必填
rtl 2 Text to return for right-to-left languages (such as Arabic or Hebrew, and others listed in the main description of the template).
默认值
rtl
内容 可选
ltr 3 Text to return for left-to-right languages (such as English and all others not listed in the main description of the template).
默认值
ltr
内容 可选
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。