Difference between revisions of "Template:Fix"

From Self-sufficiency
Jump to: navigation, search
(fixing the page-widening problem?)
(Implementing category for transclusions of this template with an invalid date parameter set: See talk page)
Line 1: Line 1:
<includeonly>{{#if:{{NAMESPACE}}||{{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}|[[{{{cat-date}}} {{#if:{{{date|}}}|{{#if:{{{from|}}}|from|since}} {{{date}}}}}]]}}}}{{#if:{{{text|}}}|<sup class="{{{class|noprint Inline-Template}}}"><span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;{{#if:{{{from|}}}|from|since}} {{{date}}}}}" style="white-space: nowrap;">&#91;<i>{{{pre-text|}}}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{{post-text|}}}</i>&#93;</span></sup>|{{{special|}}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{NAMESPACE}}||{{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}|[[{{{cat-date}}} {{#if:{{{date|}}}|{{#if:{{{from|}}}|from|since}} {{{date}}}}}]]{{#if:{{{date|}}}|{{#ifexist:{{{cat-date}}} {{#if:{{{from|}}}|from|since}} {{{date}}}||[[Category:Articles with invalid date parameter in template]]}}}}}}{{#if:{{{text|}}}|<sup class="{{{class|noprint Inline-Template}}}"><span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;{{#if:{{{from|}}}|from|since}} {{{date}}}}}" style="white-space: nowrap;">&#91;<i>{{{pre-text|}}}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{{post-text|}}}</i>&#93;</span></sup>|{{{special|}}}}}</includeonly><noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{template doc}}
 
{{template doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 17:38, 28 June 2008