模板:Category see also
| File:Lua-Logo.svg | 此模板使用Lua语言: |
| 警告 | 此模板被引用于约3,400个页面。 为了避免造成大规模的影响,所有对此模板的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
Usage[编辑]
Usual syntax[编辑]
Parameters[编辑]
- Most are pipe character-separated category page names; up to 40 pages can be included.
- LABEL=Some other phrase... → replaces the default message prefix: "Template:Italics correction".
|project=: Any valid interwiki or interproject prefix from de:, fr:, es: access to other language Wikipedias to cross-sister wikis using sister projects abbreviations such as B:, Q:, S:, V: etc. Where applicable, both interlingual and cross-project links can be rendered as follows:|project=esfor linking categories on es.wikipedia.org, the Spanish-language Wikipedia, or|project=de:Vfor linking categories on de.wikiversity.org, the German-language Wikiversity, or|project=fr:Bfor linking categories on fr.wikibooks.org, the French-language Wikibooks.
- The template creates a block-level element in the HTML, effectively forming its own paragraph; it may not be used inline in text.
Simple examples[编辑]
{{Category see also|A}}→{{Category see also|A|B}}→{{Category see also|A|B|C}}→
Example with default message[编辑]
Example with LABEL parameter option[编辑]
Practical example[编辑]
Bobsledding and luge are Olympic sports properly subcategorized under "sledding", so should not appear (strictly speaking categorically) as sub-categories of "winter sports". However, a lay reader using categories might expect to find them there. So to show their presence and guide proper selections for editors choosing categories, one can include the sub-sub-categories as a see also annotation on the Category:Winter sports page.
模板数据[编辑]
<templatedata> { "params": { "1": { "required": true }, "2": {}, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}, "8": {}, "9": {}, "10": {}, "11": {}, "12": {}, "13": {}, "14": {}, "15": {}, "16": {}, "17": {}, "18": {}, "19": {}, "20": {}, "21": {}, "22": {}, "23": {}, "24": {}, "25": {}, "26": {}, "27": {}, "28": {}, "29": {}, "30": {}, "31": {}, "32": {}, "33": {}, "34": {}, "35": {}, "36": {}, "37": {}, "38": {}, "39": {}, "40": {}, "41": {}, "LABEL": {}, "project": { "example": "es, de:V, fr:B", "type": "string", "default": "en" } } } </templatedata>
Redirects[编辑]
- {{Related category}}
- {{Cat see also}}
- {{See also category}}
See also[编辑]
- {{Category see also if exists}}
- {{See also}}
- {{Navseasoncats}} – for navigation between categories with years, decades, ordinals, or seasons in their name