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)]]'''}}}}''<noinclude>
:''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==
==Description==
This template is to be used as a hatnote for categories that have their own pages (e.g. [[:Category:Challenges]] and [[Challenge]]).
This template is to be used as a hatnote for categories that have their own pages (e.g. [[:Category:Challenges]] and [[Challenge]]).
</noinclude>
</noinclude>

Revision as of 21:20, 10 June 2018

The main article for this category is [[{{{1}}}]].

Description

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