跳至內容

模板: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
內容 可選

範例

注意事項

重新導向

模板編輯說明

參見