Template:Category see also

From Zoophilia Wiki
Revision as of 23:51, 17 August 2008 by meta>Ludwigs2 (adding quotes, then - 'see also categories' is just plain bad english! :-()
Jump to navigationJump to search
Template:Interwikitmp-grp
(Note: The template displays an error message if given no inputs, so is hidden above)

Template:Usage div Version-at-a-glance:

3) source: Wikiversity -- Expand usage to cover SISTER and LABEL parameters (lost in /doc file? Or just never updated?) // FrankB 06:48, 17 August 2008 (UTC)
2) source: Wikispecies/wikipedia -- Reconcile categories (Iterim) and code across sister projects // FrankB 05:53, 17 August 2008 (UTC)
1) source: Commons -- Move forced italics from before LABEL to default only when undefined, and matching logic for stopping italics... gives user better formatting control, by specifying LABEL. No effect when not defined, so minimal impact. // FrankB 04:51, 17 August 2008 (UTC)

Usage

Usual syntax
{{ Cat see also | List of category names (one or more) }}

Parameters:

  1. Most are pipe character separated category page names; up to 40 pages
  2. LABEL=Some other phrase... → replaces defaults: "See also Category:" or "See also categories:" (prefix messages).
    1. That phrase is normally italicized. When defining LABEL any wikimarkup or HTML text will be accepted.
    2. You may assume a space before the first category link.
    3. 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.
  3. 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
    1. SISTER=de:V: for linking categories on the Template:Wpd Template:Wpd, or
    2. SISTER=fr:B: for linking categories on the Template:Wpd Template:Wpd.
Simple examples
  1. {{Cat see also|A}} → Template:Cat see also

  2. {{Cat see also|A|B}} → Template:Cat see also

  3. {{Cat see also|A|B|C}} → Template:Cat see also
example w/default message
{{Cat 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
{{Cat 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, 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. Template:I2So 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 Template:Wpd page.

Template:Cat see also
given by...
{{cat see also|SISTER=W:|Luge|Bobsleigh|Skeleton}}







zh:Template:参看