Template:Fix-span: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Uncle G
(Added style for the spanned content.)
m (29 revisions imported)
 
(28 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{cat handler
{{#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|¬}}}
|main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}
|¬={{category handler
  |[[{{{cat-date}}} {{#if:{{{date|}}}
  |template=[[Category:Templates needing substitution checking]]
  |from {{{date}}}
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
  }}]]{{#if:{{{date|}}}
  |{{#ifexist:{{{cat-date}}} from {{{date}}}|
    |[[Category:Articles with invalid date parameter in template]]
  }}
  }}
  }}
  }}
|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
}}<span class="citation-needed-content" style="background:Cornsilk; color:SlateGray;">{{{content|}}}</span>{{#if:{{{special|}}}
}}{{#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}}}
}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
   |{{{pre-text}}}&#32;
   |{{{pre-text}}}&#32;
  }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}}
  }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{replace|{{{title|{{{link|Wikipedia:Cleanup}}}}}}|"|&quot;}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}
   |&#32;{{{post-text}}}
   |&#32;{{{post-text}}}
  }}</i>&#93;</sup>
  }}</i>&#93;</sup>
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 15:24, 1 September 2020

[]