跳转到内容

Template:Dir/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

概要[编辑]

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
内容 可选

範例[编辑]

注意事项[编辑]

重定向[编辑]

模板编辑说明[编辑]

參見[编辑]