求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

Template:Expand language/doc

增加 1,733 位元組, 6 年前
撤销風中的刀劍讨论)的版本48414334
{{Documentation subpage}}

{{High-use|4,000+}}

本模板用于標示各语言「[[Wikipedia:翻译请求|请求翻译]]」,使用时请指定参考翻译维基的语言代码,并只在该语维基内容高于中文版内容时使用。

== 用法 ==

在页面开头加入{{tlc|1=Expand language|2=<外语维基代码>}},系统根据Wikidata资料自动补全外语版条目链接。如{{tlc|1=Expand language|2=en}}显示为:{{Expand language|en}}

若需手工指定外语版链接可加入{{tlc|1=Expand language|2=<外语维基代码>|3=page=<外语版页面名,无需跨语言前缀>}}。如{{tlc|1=Expand language|2=ja|3=page=Template:Expand_English}},显示为:{{Expand language|ja|page=Template:Expand_English}}

至多支持标记翻译三个语言的维基百科。如{{tlc|Expand language|en|ja|ru}}显示为:{{Expand language|en|ja|ru}}

部分常用语言可直接使用{{tl|Expand English}}、{{tl|Expand Japanese}}等[[:Category:依語言分類的擴充模板|细分模板]],此时匿名参数<code>1</code>表示外语版页面名。如上文第二例可使用{{tlc|Expand Japanese|Template:Expand_English}}:{{Expand Japanese|Template:Expand_English}}

或者使用替换引用模板:

: <code>{{tls|Expand language/auto}}</code>
== 重定向 ==

* {{tl|Transexpan}}
* {{tl|Request translation}}
* {{tl|Translation request}}
* {{tl|请求翻译}}
* {{tl|翻译请求}}
* {{tl|求翻译}}
* {{tl|需要翻譯}}

== 相關模板 ==

* {{tl|Copyedit translation}} 校对翻译模板
* {{tl|Translated page}} 翻译页应在讨论页贴上翻译告知模板

<includeonly>
<!-- 本行下加入模板的分類 -->

[[Category:依語言分類的擴充模板| ]]
[[Category:翻譯模板]]
</includeonly>