Template:Category see also/doc: Difference between revisions
m (Removing Category:Exclude in print per Wikipedia:Categories for discussion/Log/2022 July 19#Category:Exclude in print) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 09:24, 30 August 2022
This template uses Lua: |
This is a documentation subpage for Template:Category see also. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 35,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
Usual syntax
{{Category see also|List of one or more category names}}
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: "See also".The phrase is normally italicized. When defining LABEL any wikimarkup or HTML text will be accepted. The template will add a colon at the end of the phrase.
|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=es
for linking categories on es.wikipedia.org, the Spanish-language Wikipedia, or|project=de:V
for linking categories on de.wikiversity.org, the German-language Wikiversity, or|project=fr:B
for 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
{{Category see also|aaa|bbb|ccc|ddd|eee}}
→ Example with LABEL parameter option
{{Category see also|LABEL=See this list to evaluate whether one of them would be a better choice|aaa|bbb|ccc|ddd|eee}}
→ 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.
{{Category see also|Luge|Bobsleigh}}
→ TemplateData
style="background: #CCFFCC; font-size:87%; padding:0.2em 0.3em; text-align:center; " | TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|
See also
- {{Category see also if exists}}
- {{Navseasoncats}} – for navigation between categories with years, decades, ordinals, or seasons in their name
- {{Category link}}