Template:Cat main: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(A template to link to the main page of a category.)
 
No edit summary
Line 1: Line 1:
''{{rellink|extraclasses=relarticle mainarticle|The main {{#ifeq:{{{article|}}}|no|page|article}}{{#if:{{{2|}}}|s}} for this [[Special:Categories|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)]]'''}}}}''

Revision as of 20:32, 10 June 2018