Template:Fix-span: Difference between revisions
From Vigyanwiki
Template>Uncle G (Added "content" parameter and the span.) |
m (2 revisions imported from alpha:Template:Fix-span) |
||
(33 intermediate revisions by 20 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="padding-left:0.1em; padding-right:0.1em; color:#595959; border:1px solid #DDD;">{{{content|}}}</span>}}{{#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:{{{special|}}} | ||
|{{{special|}}} | |{{{special|}}} | ||
|<sup class=" | |<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | ||
|{{{pre-text}}}  | |{{{pre-text}}}  | ||
}}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}} | }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:decodeEncode|encode|s={{{title|{{{link|Wikipedia:Cleanup}}}}}} {{#if:{{{date|}}}|({{{date}}})}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}} | ||
| {{{post-text}}} | | {{{post-text}}} | ||
}}</i>]</sup> | }}</i>]</sup> | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:17, 29 July 2023
Template documentation
[create]