Template:Fix-span: Difference between revisions
From Vigyanwiki
Template>Uncle G (Added default.) |
Template>Uncle G (Swapped category generation and span. Made span class parameterizable. Made span disappear if no content parameter supplied.) |
||
Line 1: | Line 1: | ||
{{cat handler | {{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background:Cornsilk; color:SlateGray;">{{{content|}}}</span>|}}{{#if:{{{special|}}} | ||
|{{{special|}}} | |||
|<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}} | |||
|<nowiki/> from {{{date}}} | |||
}}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | |||
|{{{pre-text}}}  | |||
}}[[{{{link|Wikipedia:Cleanup}}}|{{{text|cleanup needed}}}]]{{#if:{{{post-text|}}} | |||
| {{{post-text}}} | |||
}}</i>]</sup> | |||
}}{{cat handler | |||
|main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}} | |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}} | ||
|[[{{{cat-date}}} {{#if:{{{date|}}} | |[[{{{cat-date}}} {{#if:{{{date|}}} | ||
Line 10: | Line 19: | ||
}} | }} | ||
|subpage=no | |subpage=no | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- 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 14:31, 4 November 2010
[cleanup needed]Template:Cat handler
Template documentation
[create]