Template:In category: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
allow overriding the "and" to an "or", for templates that categorise into one of two categories rather than both at once |
||
Line 1: | Line 1: | ||
{{hatnote|This template will categorize into <!-- | {{hatnote|This template will categorize into <!-- | ||
-->{{cl|{{{1}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | {{int:and}} }}<!-- | -->{{cl|{{{1}}}}}{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | {{{and|{{int:and}}}}} }}<!-- | ||
-->{{cl|{{{2}}}}}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, | {{int:and}} }}<!-- | -->{{cl|{{{2}}}}}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|, | {{{and|{{int:and}}}}} }}<!-- | ||
-->{{cl|{{{3}}}}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, | {{int:and}} }}<!-- | -->{{cl|{{{3}}}}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|, | {{{and|{{int:and}}}}} }}<!-- | ||
-->{{cl|{{{4}}}}}}}{{#if:{{{5|}}}| {{int:and}} {{cl|{{{5}}}}}}}.}}<noinclude> | -->{{cl|{{{4}}}}}}}{{#if:{{{5|}}}| {{{and|{{int:and}}}}} {{cl|{{{5}}}}}}}.}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |