Template:Category see also: Difference between revisions
meta>Fabartus m +cat |
meta>Fabartus m +Category:Utility templates used in categories|{{PAGENAME}}]] |
||
| Line 1: | Line 1: | ||
<div class="boilerplate catseealso">''See also {{#if:{{{1|}}}|{{#if:{{{2|}}}|Categories: {{I|5}}[[:Category:{{{1}}}|{{{1}}}]] |Categories: [[:Category: {{{1}}}|{{{1}}}]]}} |Editing error: '''No | <div class="boilerplate catseealso">''See also {{#if:{{{1|}}}|{{#if:{{{2|}}}|Categories: {{I|5}}[[:Category:{{{1}}}|{{{1}}}]] |Categories: [[:Category: {{{1}}}|{{{1}}}]]}} |Editing error: '''No arguments given''''' in template ''{{tl|cat see also}} | ||
}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} [[:Category: {{{2}}}|{{{ 2 }}}]] | }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} [[:Category: {{{2}}}|{{{ 2 }}}]] | ||
}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:Category: {{{3}}}|{{{ 3 }}}]] | }}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |, and }} [[:Category: {{{3}}}|{{{ 3 }}}]] | ||
| Line 44: | Line 44: | ||
{{lts|Further}} {{I}}-- e.g. - {{[[{{ns:Template}}:Further|Further]]{{#if:A|<tt>|</tt>A}}{{#if:B|<tt>|</tt>B}}{{#if:C|<tt>|</tt>C}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}}} --> {{further|A|B|C}} | {{lts|Further}} {{I}}-- e.g. - {{[[{{ns:Template}}:Further|Further]]{{#if:A|<tt>|</tt>A}}{{#if:B|<tt>|</tt>B}}{{#if:C|<tt>|</tt>C}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}}} --> {{further|A|B|C}} | ||
{{lts|Main}}, to use when you have more than one main article. {{I}}- e.g. - {{[[{{ns:Template}}:main|main]]{{#if:A|<tt>|</tt>A}}{{#if:B|<tt>|</tt>B}}{{#if:C|<tt>|</tt>C}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}}} --> {{main|A|B|C}} | {{lts|Main}}, to use when you have more than one main article. {{I}}- e.g. - {{[[{{ns:Template}}:main|main]]{{#if:A|<tt>|</tt>A}}{{#if:B|<tt>|</tt>B}}{{#if:C|<tt>|</tt>C}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}}} --> {{main|A|B|C}} | ||
{{lts|MainBold}}, to use when you have more than one main article, primarily for use in category text, not Wikipedia | {{lts|MainBold}}, to use when you have more than one main article, primarily for use in category text, not Wikipedia {{NAMCON}} compliant inside articles. {{I}}-- e.g. - {{Tlx|mainBold|A|B|C}} --> {{mainBold|A|B|C}} | ||
<s>{{tl|See}}</s> (deprecated - use {{tl|Further}}){{I}}-- e.g. - {{[[{{ns:Template}}:See|See]]{{#if:A|<tt>|</tt>A}}{{#if:B|<tt>|</tt>B}}{{#if:C|<tt>|</tt>C}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}}} --> | <s>{{tl|See}}</s> (deprecated - use {{tl|Further}}){{I}}-- e.g. - {{[[{{ns:Template}}:See|See]]{{#if:A|<tt>|</tt>A}}{{#if:B|<tt>|</tt>B}}{{#if:C|<tt>|</tt>C}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}}} --> | ||
:''Further information: [[A]]{{#if: C|, }}{{#if: {{{2C|}}}|and}}{{#if: B| [[B]]}}{{#if: C|, }}{{#if: {{{3{{{4|}}}|}}}|and}}{{#if: C| [[C]]}}{{#if: {{{4|}}}|, }}{{#if: {{{4{{{5|}}}|}}}|and}}{{#if: {{{4|}}}| [[{{{4|}}}]]}}{{#if: {{{5|}}}|, }}{{#if: {{{5{{{6|}}}|}}}|and}}{{#if: {{{5|}}}| [[{{{5|}}}]]}}{{#if: {{{6|}}}|, }}{{#if: {{{6{{{7|}}}|}}}|and}}{{#if: {{{6|}}}| [[{{{6|}}}]]}}{{#if: {{{7|}}}|, }}{{#if: {{{7{{{8|}}}|}}}|and}}{{#if: {{{7|}}}| [[{{{7|}}}]]}}{{#if: {{{8|}}}|, }}{{#if: {{{8{{{9|}}}|}}}|and}}{{#if: {{{8|}}}| [[{{{8|}}}]]}}{{#if: {{{9|}}}|, and [[{{{9|}}}]]}}'' | :''Further information: [[A]]{{#if: C|, }}{{#if: {{{2C|}}}|and}}{{#if: B| [[B]]}}{{#if: C|, }}{{#if: {{{3{{{4|}}}|}}}|and}}{{#if: C| [[C]]}}{{#if: {{{4|}}}|, }}{{#if: {{{4{{{5|}}}|}}}|and}}{{#if: {{{4|}}}| [[{{{4|}}}]]}}{{#if: {{{5|}}}|, }}{{#if: {{{5{{{6|}}}|}}}|and}}{{#if: {{{5|}}}| [[{{{5|}}}]]}}{{#if: {{{6|}}}|, }}{{#if: {{{6{{{7|}}}|}}}|and}}{{#if: {{{6|}}}| [[{{{6|}}}]]}}{{#if: {{{7|}}}|, }}{{#if: {{{7{{{8|}}}|}}}|and}}{{#if: {{{7|}}}| [[{{{7|}}}]]}}{{#if: {{{8|}}}|, }}{{#if: {{{8{{{9|}}}|}}}|and}}{{#if: {{{8|}}}| [[{{{8|}}}]]}}{{#if: {{{9|}}}|, and [[{{{9|}}}]]}}'' | ||
{{lts|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! | {{lts|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! | ||
[[Category:Utility templates used in categories|{{PAGENAME}}]] | |||
[[Category:Miscellaneous templates]] | [[Category:Miscellaneous templates|{{PAGENAME}}]] | ||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
[[Category:Navigational templates|{{PAGENAME}}]] | [[Category:Navigational templates|{{PAGENAME}}]] | ||
[[Category:Section templates|{{PAGENAME}}]] | [[Category:Section templates|{{PAGENAME}} ]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
[[Category:Templates used in categories|{{PAGENAME}}]] | [[Category:Templates used in categories|{{PAGENAME}}]] | ||
[[zh:Template:参看]] | [[zh:Template:参看]] | ||
</noinclude> | </noinclude> | ||
Category:Utility templates used in categories | |||
Revision as of 07:02, 29 January 2007
Template:Interwikitmp-grpTemplate:TOCright
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. 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 Category:Winter sports page such as:
Template:Cat see also 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.
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 perameters may be preceded by any 'correct' optional Template:W2 'space=' perameter 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 'space=' perameter is given, an automatic ':'will be added between that and the defined value of 'space='.
- Thus the concatation with a 'Space=XYZ' results in creating an applied prefix 'XYZ: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 fifteen category names.
Usage
Template:Indent{{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.
Template:Indent(edit talk links history) Template:I(edit talk links history)
See also
Template:Details(edit talk links history) Template:I-- e.g. - {{Details|A|B|C}} -->
Template:Further(edit talk links history) Template:I-- e.g. - {{Further|A|B|C}} -->
Template:Main(edit talk links history), to use when you have more than one main article. Template:I- e.g. - {{main|A|B|C}} -->
Template:MainBold(edit talk links history), to use when you have more than one main article, primarily for use in category text, not Wikipedia Template:NAMCON compliant inside articles. Template:I-- e.g. - {{mainBold|A|B|C}} --> Template:MainBold
{{See}} (deprecated - use {{Further}})Template:I-- e.g. - {{See|A|B|C}} -->
Template:See also(edit talk links history) — 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! zh:Template:参看
Category:Utility templates used in categories