模板:Disambiguation:修订间差异
来自RIA | Wiki
更多操作
测试 |
分类太多了 标签:mobile edit mobile web edit advanced mobile edit |
||
| 第2行: | 第2行: | ||
| type = disambig | | type = disambig | ||
| text = | | text = | ||
<p> | <p>这是一个消歧义页,罗列了有相同或相近的标题,但内容不同的条目。</p> | ||
<p style="font-size: 0.95em;">如果您是通过某条目的[[Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|内部链接]] | <p style="font-size: 0.95em;">如果您是通过某条目的[[Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|内部链接]]而转到本页,希望您能协助修正该处的内部链接,将它指向正确的条目。</p> | ||
| nocat = {{{nocat|}}} <!--So "nocat=true" works--> | | nocat = {{{nocat|}}} <!--So "nocat=true" works--> | ||
}}{{main other | }}{{main other | ||
| demospace = {{{demospace|}}} | | demospace = {{{demospace|}}} | ||
| | | {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}} | ||
| <!-- Don't categorise when not in main (article) space. However, note that {{Dmbox}} categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages--> | | <!-- Don't categorise when not in main (article) space. However, note that {{Dmbox}} categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages--> | ||
}}<includeonly>{{#if:{{{nocat|}}}||{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|[[Category:不同步的消歧义讨论页面]]}}}}</includeonly><noinclude> | }}<includeonly>{{#if:{{{nocat|}}}||{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|[[Category:不同步的消歧义讨论页面]]}}}}</includeonly><noinclude> | ||
2025年10月1日 (三) 10:10的最新版本
这是 {{Disambiguation}} 模板。
这是一个通用模板, 可以放置在现有条目的顶部或底部, 以帮助读者查找具有相同或相似名称的其他文章。
使用
基本的使用方法是简单地在页面底部放置此模板:
{{Disambiguation}}
模板会自动将页面分类至 Category:消歧义页面 中。
参数
- 1-10
- 需应用到页面中的其他分类, 使用完整的分类链接, 比如 Category:地名消歧义 。
- nocat
- 如果不在主空间中的页面上不需要分类, 则可以将
nocat参数设置为true或yes, 如下所示:{{Disambiguation|nocat=true}}{{Disambiguation|nocat=yes}}
重定向
以下页面重定向到此模板:
模板数据
这是一个通用模板, 可以放置在现有条目的顶部或底部, 以帮助读者查找具有相同或相似名称的其他文章。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 1 | 1 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 2 | 2 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 3 | 3 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 4 | 4 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 5 | 5 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 6 | 6 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 7 | 7 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 8 | 8 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 9 | 9 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 10 | 10 | 需应用到页面中的其他分类, 使用标准wikitext链接语法。 | 字符串 | 可选 |
| 页面标题 | page-title | 用于测试, 指定页面标题。 | 字符串 | 可选 |
| nocat | nocat | 不对页面进行分类, 设置为 «true» 或 «yes» 忽略分类。 | 布尔 | 可选 |
| demospace | demospace | 用于测试, 指定命名空间。 | 字符串 | 可选 |
| hn | hn | 和分类排序有关 | 字符串 | 可选 |