Template:Cat main: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
(Undo revision 1417 by Jummy0 (talk))
Line 1: Line 1:
:''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>
''{{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==
==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:21, 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).