第1行:
第1行:
+
{{NoteTA
+
|G1 = IT
+
|G2 = MediaWiki
+
}}
+
{{Documentation subpage}}
+
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+
{{High-use|11125}}
+
{{Template shortcut|Not|不是}}
+
{{Lua|Module:TemplateParameters}}
+
此模板渲染一条[[WP:HAT|顶部注释]],用于提示读者有标题与此条目极为相似的其他条目。此模板只应用于标题区分非常明显,且不需要向读者进行更多解释的情况下。对于需要作解释的情况,请使用{{tl|For}}或{{tl|About}}。
+
__NOTOC__
+
==用法==
+
{{tlx|Distinguish|Α}} → {{Distinguish|Α}}
+
{{tlx|Distinguish|Α|Β|Γ}} → {{Distinguish|Α|Β|Γ}}
+
{{tlx|Distinguish|text {{=}} [[希臘]]字母'''[[Α]]'''}} → {{Distinguish|text = [[希臘]]字母'''[[Α]]'''}}
+
+
== 何时使用 ==
+
此顶注通常在读者打错条目标题,且错误明显、无须解释的情况下才能使用。比如,考虑有读者希望查找香港艺人李克勤,却不小心降落在了现任中国国务院总理李克强:
+
<blockquote>[[李克强]] → {{Distinguish|李克勤}}</blockquote>
+
+
我们可以假设读者在看到“李克勤”的时候能马上知道他要什么,且此案通常无需进行过多解释。
+
+
需要注意的是,{{tlx|distinguish}}不应用于在不解释清楚时区别就不明显的情况下,假设有读者在寻找命名为Reversi的游戏:
+
<blockquote>[[File:Red x.svg|15px|link=]] [[Reversi]] → {{Distinguish|Reversis}} </blockquote>
+
+
在上述例子中,仅仅提示Reversis和Reversi不同,难以帮助读者区分,因为两者都是游戏。
+
<blockquote>[[File:Green check.svg|15px|link=]] [[Reversi]] → {{About|派对游戏|纸牌游戏|Reversis}}</blockquote>
+
+
使用{{tlx|about}}代替{{tlc|distinguish}}可以更清楚的解释二者的区别,而不需要读者点击链接查看,并尝试区分。
+
+
{{tlc|Distinguish}}有且仅应当用于条目标题的差别只需要显示名称,读者就可以知道清楚的情况。同时,应当避免[[WP:TRHAT|过度和不必要的使用]]。
+
+
此顶注也可以用于和多个条目区分。
+
<blockquote>{{distinguish|Foo|Bar}}</blockquote>
+
+
== 模板数据 ==
+
{{TemplateData header}}
+
<templatedata>
+
{
+
"params": {
+
"1": {
+
"label": "链接条目",
+
"description": "输入你想链接到条目的名称",
+
"type": "wiki-page-name",
+
"suggested": true
+
},
+
"2": {
+
"label": "链接额外条目(可选)",
+
"description": "可选链接额外条目",
+
"type": "wiki-page-name"
+
},
+
"3": {
+
"label": "链接额外条目(可选)",
+
"description": "链接额外条目(可选)",
+
"type": "wiki-page-name"
+
},
+
"4": {
+
"label": "链接额外条目(可选)",
+
"description": "链接额外条目(可选)",
+
"type": "wiki-page-name"
+
},
+
"text": {
+
"label": "自定义文本",
+
"description": "使用维基文本自定义提示消息;比如\"[[foo]]和[[bar]]\"会产生\"此处不是[[foo]]和[[bar]]。\"",
+
"type": "string"
+
},
+
"selfref": {
+
"label": "自我引用",
+
"description": "如果设置,会将此模板标记为自我引用,且内容被复用时不会显示",
+
"type": "boolean"
+
}
+
+
},
+
"description": "此题注在条目名称会造成误会的时候才用。",
+
"paramOrder": [
+
"1",
+
"2",
+
"3",
+
"4",
+
"text",
+
"selfref"
+
],
+
"format": "inline"
+
}
+
</templatedata>
+
+
== 重定向 ==
+
* {{tl|Confused}}
+
* {{tl|Confuse}}
+
* {{tl|Misspelling}}
+
* {{tl|不是}}
+
+
{{Hatnote templates}}
+
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<!-- Categories go below and interwikis go to Wikidata, thank you! -->
+
[[Category:消歧义与重定向模板|{{PAGENAME}}]]
+
[[Category:顶注模板]]
+
}}</includeonly>