Difference between revisions of "Template:Category see also"
From LIMSWiki
Jump to navigationJump to searchm (1 revision) |
Shawndouglas (talk | contribs) m (Protected "Template:Category see also" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(No difference)
|
Latest revision as of 00:11, 31 May 2013
See also Error using Template:Cat see also: at least one category name is required.
[edit] [ ] Template documentation
Usage
- Usual syntax
{{Category see also|List of category names (one or more)}}
Parameters:
- Most are pipe character separated category page names; up to 40 pages
- LABEL=Some other phrase... → replaces defaults: "See also Category:" or "See also categories:" (prefix messages).
- That phrase is normally italicized. When defining LABEL any wikimarkup or HTML text will be accepted.
- You may assume a space before the first category link.
- The template is written in an HTML <span>...</span> block, so can be used in-line as part of a sentence. Conversely, an editor must ensure a blank line or HTML "<br/>" follows it, or the text may be run the next line into it.
- SISTER=Any valid interwiki or interproject prefix from de:, fr:, es: access to other wikipedia's to cross sister wiki's using sister projects abbreviations such as B:, Q:, S:, v: etc. and where applicable, both interlingual and cross project links can be made like
SISTER=de:V:
for linking categories on the German language Wikiversity, orSISTER=fr:B:
for linking categories on the French language Wikibooks.
- Simple examples
- {{Category see also|A}} → See also Category: A.
- {{Category see also|A|B}} → See also categories: A and B.
- {{Category see also|A|B|C}} → See also categories: A, B, and C.
- example w/default message
- {{Category see also|aaa|bbb|ccc|ddd|eee|fff}}
- would give (display as)
See also Categories: aaa, bbb, ccc, ddd, and eee
- example w/LABEL parameter option
- {{Category see also|LABEL=See this list to evaluate whether one would be a better choice of |aaa | bbb | ccc | ddd | eee | fff }}
- would give (display as)
See this list to evaluate whether one would be a better choice of categories: aaa, bbb, ccc, ddd, eee, and fff
- Pragmatic Example
Bobsledding and luge 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.
- given by...
- {{Category see also|Luge|Bobsleigh}}
See also
- {{Related category}}
The above documentation is transcluded from Template:Category see also/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |