Template:CatRel: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>:''<!-- -->{{#if:{{{1|}}}|<!-- -->{{#if:{{{2|}}}|<!-- -->{{#if:{{{3|}}}|<!-- -->{{#if:{{{4|}}}|<!-- -->{{#if:{{{5|}}}|<!-- -->Warning: too many category names. See {{tl|CatRel}} for the documentation.<!-- -->|<!-- =4 -->See also categories [[:Category:{{{1}}}|{{{1}}}]], [[:Category:{{{2}}}|{{{2}}}]], [[:Category:{{{3}}}|{{{3}}}]] and [[:Category:{{{4}}}|{{{4}}}]]}}<!-- -->|<!-- =3 -->See also categories [[:Category:{{{1}}}|{{{1}}}]], :Category:{{{2}}}|{{{2..." |
m extract documentation |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
-->{{#if:{{{5|}}}|<!-- | -->{{#if:{{{5|}}}|<!-- | ||
-->Warning: too many category names. See {{tl|CatRel}} for the documentation.<!-- | -->Warning: too many category names. See {{tl|CatRel}} for the documentation.<!-- | ||
-->|<!-- =4 -->See also categories | -->|<!-- =4 -->See also categories {{c|{{{1}}}}}, {{c|{{{2}}}}}, {{c|{{{3}}}}} and {{c|{{{4}}}}}}}<!-- | ||
-->|<!-- =3 -->See also categories | -->|<!-- =3 -->See also categories {{c|{{{1}}}}}, {{c|{{{2}}}}} and {{c|{{{3}}}}}}}<!-- | ||
-->|<!-- =2 -->See also categories | -->|<!-- =2 -->See also categories {{c|{{{1}}}}} and {{c|{{{2}}}}}}}<!-- | ||
-->|<!-- =1 -->See also category | -->|<!-- =1 -->See also category {{c|{{{1}}}}}}}<!-- | ||
-->|<!-- =0 -->Warning: missing category name. See {{tl|CatRel}} for the documentation.}}''</includeonly><noinclude | -->|<!-- =0 -->Warning: missing category name. See {{tl|CatRel}} for the documentation.}}''</includeonly><noinclude>{{/Doc}} | ||
[[Category:Internal link templates]] | [[Category:Internal link templates]] | ||
[[Category:Hatnote templates]] | [[Category:Hatnote templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:08, 1 April 2023
{{CatRel}} is a small template to link to one or more related categories.
This template should be transcluded on a separate line. It is designed to be used either at the beginning of a section other than the lead section of the article, or on a category page in the description of the category. Up to four links are currently supported.
Examples
- {{CatRel|Spaceships|Oscillators|Still lifes|Sawtooths}}
- See also categories Spaceships, Oscillators, Still lifes and Sawtooths
- {{CatRel|Spaceships|Oscillators|Still lifes}}
- See also categories Spaceships, Oscillators and Still lifes
- {{CatRel|Spaceships|Oscillators}}
- See also categories Spaceships and Oscillators
- {{CatRel|Templates}}
- See also category Templates
- {{CatRel|Category:Templates}}
- See also category Templates
- {{CatRel}}
- Warning: missing category name. See {{CatRel}} for the documentation.
- {{CatRel|A|B|C|D|E}}
- Warning: too many category names. See {{CatRel}} for the documentation.
Other templates
- {{related}} -- a template for linking to related pages in the main namespace
- {{CategoryLink}} -- another category-linking template, used in "See also" sections of articles and for formatted inline links