Template:Cat see also
From Wikipedia, the free encyclopedia
Note:Hidden content when viewing directly--template generates an error message when given no parameters.
|
[edit] Use example
Bobsledding, luge, and skeleton are olympic sports properly subcategorized under 'sledding', so shouldn't appear (strictly speaking categorically so to speak) as sub-categories of 'winter sports', but which a lay reader using categories might expect to find them.
So to show their presence and guide proper selections for editors choosing categories amongst the three layers of categories, one can include the sub-sub-categories as a see also annotation on the Category:Winter sports page such as:
This method efficiently provides a look one level lower for decisions on categorization, is neat, and provides the same link as if the sub-sub-cats were direct daughter sub-cats or parents or cross-links to sisters at that level of the categorization scheme.
[edit] Purpose
{{Cat see also}} is used for small sets of see also (list of other categories) for information in the end of text on category pages or talk pages, etc.
- The parameters may be preceded by any 'correct' optional sister projects 'SISTER=' parameter which is first applied to all the default prefixes by template logic.
- By default, that creates an automatic prefix that is solely the string 'Category'
- and when the 'SISTER=' parameter is given, an automatic ':'will be added between that and the defined value of 'SISTER='.
- Thus the concatation with a 'SISTER=Wikt' results in creating an applied prefix 'Wikt:Category:' which is prefixed to all terms in the list.
- Hence the template has a very powerful 'Interwiki scope' thereby allowing one to list Categories on other sister projects.
- The template will take up to forty category names.
Similar templates at English sister projects [edit] | |||
---|---|---|---|
mta | Meta-wiki | Cat see also | |
wpd | Wikipedia | Cat see also | |
cms | Commons | Cat see also | |
wbk | Wikibooks | Cat see also | |
wsp | Wikispecies | Cat see also | |
wvy | Wikiversity | Cat see also |
[edit] Usage
- {{Cat see also|Category Name_1|optionalCategory Name_2|optionalCategory Name_nn|...|optionalCategory Name_ 15}}
-
- Up to 15 parameters are permitted: only the first is mandatory.
- The list is dynamically generated so that a "
&
" is always placed between the final two entries. - If more than 15 entries are supplied, a message will be displayed pointing out the run-over problem.
- NB
- no newlines are permitted else the article links will be broken.
[edit] See also
catlst -- a larger adaptation with some optional display differences, and the same interwiki capability. Unlike cat see also, it does not force a newline and indentation, which can be duplicated in it's wider bag of tricks. This version is smaller and should be used Details
-- e.g. - {{Details|A|B|C}} -->
-
For more details on B, see A.
Further
-- e.g. - {{Further|A|B|C}} -->
- Further information: A
Main, to use when you have more than one main article.
- e.g. - {{main|A|B|C}} -->
MainBold, to use when you have more than one main article, primarily for use in category text, not Wikipedia English language Wikipedia Naming conventions compliant inside articles.
-- e.g. - {{mainBold|A|B|C}} -->
Further)
-- e.g. - {{See|A|B|C}} -->
See also — Article version of this template (Has technical problem with specifying ':Category' spelt out, and this is far more convenient, as you need never spell it out at all!| }} }}