Difference between revisions of "Template:Fix"
From Self-sufficiency
(Undid revision 390626762 by Rich Farmbrough (talk) Why? These are useful...) |
m (1 revision imported) |
||
(13 intermediate revisions by 5 users 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 | |subpage=no | ||
}}{{#if:{{{text|}}} | }}{{#if:{{{text|}}} | ||
− | |<sup class=" | + | |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} |
− | + | ||
− | + | ||
|{{{pre-text}}}  | |{{{pre-text}}}  | ||
− | }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}} | + | }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{delink|1={{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}| ({{{date}}})}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}} |
| {{{post-text}}} | | {{{post-text}}} | ||
}}</i>]</sup>|{{{special|}}} | }}</i>]</sup>|{{{special|}}} |
Latest revision as of 20:55, 17 February 2018
[edit]
Documentation