模板:Language icon/doc

Chhiùng Wikipedia lòi

本模板及相關調用模板使用來標示外部連結為外語。一般將模版放在外部連結前後,Wikipedia:格式手册/链接#外语网站

對於參考資料,應該使用各引用參考模板的 language 參數({{cite web}}{{cite news}}{{cite journal}}等)而非本模板。

若參數輸入不正確將會顯示錯誤訊息,關於語言代碼與語言的對應,請參見ISO 639-1代码表语言列表

若您是在角色列表見到錯誤訊息,可以依修改範例修正錯誤,或參見WP:MOSACG#CHARA的方法。錯誤範例

用法[kói ngièn-sṳ́-mâ]

{{language icon|<语言代码>|<语言名称>}}

本模版以放在連結前後為佳。例如:

范例 输入模板:Tld 会得到: Invalid language code.

TemplateData[kói ngièn-sṳ́-mâ]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Language icon

基於ISO語言代碼顯示語言名稱。一般用於遵循格式手冊的外語參照。

模板參數

參數描述類型狀態
language code1

The ISO 639 language code, e.g. 'fr' for French

字串必填

參見[kói ngièn-sṳ́-mâ]