Difference between revisions of "Template:Fix-span"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision: family tree template)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color:#fff9f9; color:DarkSlateGray;border:1px solid #ffdcdc">{{{content|}}}</span>|}}{{#if:{{{special|}}}
+
<span class="{{{span-class|cleanup-needed-content}}}" style="background-color: #fff9f9; color: DarkSlateGray;">{{{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}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
+
  |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
|{{{pre-text}}}&#32;
+
  |{{{pre-text}}}&#32;
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}">{{{text|cleanup needed}}}</span>]]{{#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>
}}{{category 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 16:14, 16 December 2015

[]