Difference between revisions of "Template:Category disambiguation"

From Moegirlpedia
Jump to: navigation, search
(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!
Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

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|东方姓(中文)|东方姓(日文)}}
Disambig.svg
This page is a disambiguate category.
It may refer to: Category:东方姓(中文)Category:东方姓(日文)
Please note that this category should not include any page, all page here should be recategorize to Category:东方姓(中文)Category:东方姓(日文). Welcome to assist in the work. While do not delete the category because of no content, which is to prevent the creation of categories with same name.

Other parameters

  • key: The index value in a disambiguation category, PAGENAME as default.
  • category: Specify maintenance category (modification is not recommended).

Maintenance infomation

Notes

See Template:Category redirect.