|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
− | {{{cat|[[Category:All pages needing cleanup]]}}}{{{all|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}{{#if:{{{date|}}} | + | <includeonly>{{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}} |
− | |[[{{{date}}} from
| + | |[[{{{cat-date}}} {{#if:{{{date|}}} |
− | |{{{cat-date}}}
| + | |from {{{date}}} |
− | ]]}}{{#if:{{{date|}}}
| + | }}]]{{#if:{{{date|}}} |
− | |{{#ifexist:{{{date}}} from {{{cat-date}}}| | + | |{{#ifexist:{{{cat-date}}} from {{{date}}}| |
| |[[Category:Articles with invalid date parameter in template]] | | |[[Category:Articles with invalid date parameter in template]] |
| }} | | }} |
Line 23: |
Line 23: |
| }} | | }} |
| }} | | }} |
− | }}{{#if:{{{cats|}}}
| + | }}</includeonly><noinclude>{{documentation}}</noinclude> |
− | |[[{{{cats}}} {{#if:{{{date|}}}
| |
− | |from {{{date}}}
| |
− | }}]]{{#if:{{{date|}}}
| |
− | |{{#ifexist:{{{cats}}} from {{{date}}}|
| |
− | |[[Category:Articles with invalid date parameter in template]]
| |
− | }}
| |
− | }}
| |
− | }}{{#if:{{{all2|}}}|{{{all2}}}}}{{#if:{{{cats2|}}}
| |
− | |[[{{{cats2}}} {{#if:{{{date|}}}
| |
− | |from {{{date}}}
| |
− | }}]]{{#if:{{{date|}}}
| |
− | |{{#ifexist:{{{cats2}}} from {{{date}}}|
| |
− | |[[Category:Articles with invalid date parameter in template]]
| |
− | }}
| |
− | }}
| |
− | }}{{#if:{{{all3|}}}|{{{all3}}}}}{{#if:{{{cats3|}}}
| |
− | |[[{{{cats3}}} {{#if:{{{date|}}}
| |
− | |from {{{date}}}
| |
− | }}]]{{#if:{{{date|}}}
| |
− | |{{#ifexist:{{{cats3}}} from {{{date}}}|
| |
− | |[[Category:Articles with invalid date parameter in template]]
| |
− | }}
| |
− | }}
| |
− | }}<noinclude>
| |
− | {{Documentation|
| |
− | content=
| |
− | I think it would be more elegant to change in {{Tl|Fix}} <pre>{{Category handler
| |
− | |main={{Fix/category
| |
− | |cat-date={{{cat-date|}}}
| |
− | |cat={{{cat|}}}
| |
− | |cat-date2={{{cat-date2|}}}
| |
− | |cat2={{{cat2|}}}
| |
− | |cat-date3={{{cat-date3|}}}
| |
− | |cat3={{{cat3|}}}
| |
− | |date={{{date|}}}
| |
− | }}</pre> to | |
− | <pre>{{Category handler
| |
− | |main={{Fix/category
| |
− | |cat-date={{{cat-date|{{{cats|}}}}}}
| |
− | |cat={{{cat|{{{all|}}}}}}
| |
− | |cat-date2={{{cat-date2|{{{cats2|}}}}}}
| |
− | |cat2={{{cat2|{{{all2|}}}}}}
| |
− | |cat-date3={{{cat-date3|{{{cats3|}}}}}}
| |
− | |cat3={{{cat3|{{{all3|}}}}}}
| |
− | |date={{{date|}}}
| |
− | }}</pre>
| |
− | }} | |
− | </noinclude> | |