Template:Main: Difference between revisions

update. +namespace detection for categories, per talk.
(protected edit request - apparently the '' breaks something)
(update. +namespace detection for categories, per talk.)
Line 1:
{{rellink|extraclasses=relarticle mainarticle|{{#ifeq: {{SUBJECTSPACE}} |Category|The main article for this [[Wikipedia:Categorization|category]] is|Main article{{#if:{{{2|}}}|s}}:}} [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
|{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
|{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
Anonymous user