Template:Cat main: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
''{{rellink|extraclasses=relarticle mainarticle|The main {{#ifeq:{{{article|}}}|no|page|article}}{{#if:{{{2|}}}|s}} for this category {{#if:{{{2|}}}|are|is}} '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} '''[[{{{2}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |&nbsp;and }} '''[[{{{3}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |&nbsp;and }} '''[[{{{4}}}]]'''{{#if:{{{5|}}}|&nbsp;and '''[[{{{5}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br/>&mdash; '''Error: [[Template:cat main|Too many links specified (maximum is 5)]]'''}}}}''
''{{rellink|extraclasses=relarticle mainarticle|The main {{#ifeq:{{{article|}}}|no|page|article}}{{#if:{{{2|}}}|s}} for this category {{#if:{{{2|}}}|are|is}} '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} '''[[{{{2}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |&nbsp;and }} '''[[{{{3}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |&nbsp;and }} '''[[{{{4}}}]]'''{{#if:{{{5|}}}|&nbsp;and '''[[{{{5}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br/>&mdash; '''Error: [[Template:cat main|Too many links specified (maximum is 5)]]'''}}}}''<noinclude>
==Description==
This template is to be used as a hatnote for categories that have their own pages (e.g. [[:Category:Challenges]] and [[Challenge]]).
</noinclude>
45

edits