Template:Fix-span: Difference between revisions

From Vigyanwiki
Template>Access Denied
(Adding border, and a sublte pink bg should be enough)
m (2 revisions imported from alpha:Template:Fix-span)
 
(28 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color:#fff9f9; color:DarkSlateGray;border:1px solid black">{{{content|}}}</span>|}}{{#if:{{{special|}}}
{{#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
}}{{#if:{{{special|}}}
  |{{{special|}}}
  |{{{special|}}}
  |<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}}
  |<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
  |<nowiki/> from {{{date}}}
  |{{{pre-text}}}&#32;
  }}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:decodeEncode|encode|s={{{title|{{{link|Wikipedia:Cleanup}}}}}} {{#if:{{{date|}}}|({{{date}}})}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}
  |{{{pre-text}}}&#32;
  |&#32;{{{post-text}}}
  }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|cleanup needed}}}]]{{#if:{{{post-text|}}}
  |&#32;{{{post-text}}}
  }}</i>&#93;</sup>
  }}</i>&#93;</sup>
}}{{cat handler
|main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}
  |[[{{{cat-date}}} {{#if:{{{date|}}}
  |from {{{date}}}
  }}]]{{#if:{{{date|}}}
  |{{#ifexist:{{{cat-date}}} from {{{date}}}|
    |[[Category:Articles with invalid date parameter in template]]
  }}
  }}
}}
|subpage=no
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 17:17, 29 July 2023

[]

Template documentation