Difference between revisions of "Template:Category disambiguation"
(Created page with "<noinclude>{{Translation needed|lang=zh}}</noinclude> <includeonly>{{#vardefine:cr|{{#fornumargs:|key|val|{{#ifeq:{{#var:key}}|1||、}}[[:Category:{{#var:val}}]]}}}}{{info | c...") |
m (// Edit via Wikiplus) |
||
Line 8: | Line 8: | ||
'''This page is a disambiguation Catagory<br />{{#if:{{{1|}}}|It may be is:<span id="SoftRedirect">{{#var:cr}}|You can see[[{{{more|{{PAGENAME}}}}}]]To disambiguation}}'''</span> | '''This page is a disambiguation Catagory<br />{{#if:{{{1|}}}|It may be is:<span id="SoftRedirect">{{#var:cr}}|You can see[[{{{more|{{PAGENAME}}}}}]]To disambiguation}}'''</span> | ||
:Notice: tis catagory couldn't have any page,Any page shoulb be to:{{#if:{{{1|}}}|{{#var:cr}}|各具体歧义项}}。欢迎您协助按具体歧义项进行重新分类。但请不要因为分类中没有内容而删除本分类,以防止同名分类不断被创建。 | :Notice: tis catagory couldn't have any page,Any page shoulb be to:{{#if:{{{1|}}}|{{#var:cr}}|各具体歧义项}}。欢迎您协助按具体歧义项进行重新分类。但请不要因为分类中没有内容而删除本分类,以防止同名分类不断被创建。 | ||
− | {{#ifeq:{{NAMESPACE}}|Category|[[Category:disambiguation catagory|{{{key|{{PAGENAME}}}}}]]{{{category|{{#ifeq:{{PAGESINCAT:{{PAGENAME}}|pages}}|0||[[Category: | + | {{#ifeq:{{NAMESPACE}}|Category|[[Category:disambiguation catagory|{{{key|{{PAGENAME}}}}}]]{{{category|{{#ifeq:{{PAGESINCAT:{{PAGENAME}}|pages}}|0||[[Category:Unclear disambiguation Catagory]]}}}}}}} |
}}</includeonly><noinclude>[[Category:catagory template]]{{doc}}</noinclude> | }}</includeonly><noinclude>[[Category:catagory template]]{{doc}}</noinclude> |
Revision as of 01:26, 24 March 2021
▼ The Chinese text below needs help with translation!
This template is for the disambiguation of categories. Similar to {{Category redirect}}, under certain circumstances (e.g., categories of surnames) there may be one-to-many ambiguities, which needs administrators to check carefully and put them into relative categories. So created this template and categories for maintenance. For easier use, you can abbreviated as {{cd}}.
Strictly speaking, unused categories should be deleted, but to prevent the creation of incorrect categories, and guide categorizing works correctly, using this template mark clearly is easier to maintain.
Disambiguation categories can have subcategories.
Usage
{{Category disambiguation|1st category|2nd category|3rd category}}
Example
{{Category disambiguation|东方姓(中文)|东方姓(日文)}}
This page is a disambiguate category.
It may refer to: Category:东方姓(中文), Category:东方姓(日文)
|
Other parameters
- key: The index value in a disambiguation category, PAGENAME as default.
- category: Specify maintenance category (modification is not recommended).
Maintenance infomation
- This template will add Category:Disambiguation categories automatically.
- Pages need maintenance see Category:Unclear disambiguation categories.