Template:Fix: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Creating sub-template for inline cleanup messages |
m 62 revisions imported from wikipedia:Template:Fix |
||
(63 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{{subst|¬}}} |
|||
<sup>[''{{{1|cleanup needed}}}{{#if:{{{2|}}}| [[{{{2}}}]]}}'']</sup><includeonly>{{{3|[[Category:Wikipedia cleanup|{{PAGENAME}}]]}}}</includeonly> |
|||
|¬={{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|}}} |
|||
|<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} |
|||
|{{{pre-text}}}  |
|||
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:string|replace|source={{delink|1={{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}| ({{{date}}})}}}}|pattern=" |replace=" |plain=true}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}} |
|||
| {{{post-text}}} |
|||
}}</i>]</sup>|{{{special|}}} |
|||
}}<noinclude> |
|||
{{Documentation}} |
|||
<!-- Add cats and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |