Template:Fix: Difference between revisions
Jump to navigation
Jump to search
Alexchandel (talk | contribs) (copypaste Wikipedia's Template:Fix text) |
Alexchandel (talk | contribs) (remove Wikipedia's control flow statements) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{{#switch:{{{subst|¬}}} |
|||
⚫ | |||
|¬={{category handler |
|||
⚫ | |||
|template=[[Category:Templates needing substitution checking]] |
|||
|nocat={{{nocat|<noinclude>true</noinclude>}}} |
|||
}} |
|||
|SUBST=[[Category:Pages with incorrectly substituted templates]] |
|||
}}{{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|}}} |
|||
}} |
|||
|template={{#if:{{{name|}}}|{{#ifeq:{{{name}}}|{{ROOTPAGENAME}}||{{#if:{{{date|}}}||[[Category:Templates including undated clean-up tags]]}}}}}} |
|||
|subpage=no |
|||
}}{{#if:{{{text|}}} |
|||
⚫ | |||
|{{{pre-text}}}  |
|||
⚫ | |||
| {{{post-text}}} |
|||
⚫ | |||
}} |