Template:Cat main: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
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>

Revision as of 20:36, 10 June 2018

Description

This template is to be used as a hatnote for categories that have their own pages (e.g. Category:Challenges and Challenge).