Template:Fix-span: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Czarkoff
Making closer to template:fix (unless documentation requires otherwise)
meta>Czarkoff
Place subst check after span, so that span does not get concatenated with preceding text
Line 1: Line 1:
{{#switch:{{{subst|¬}}}
{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color: #fff9f9; color: DarkSlateGray; border: 1px solid #ffdcdc;">{{{content|}}}</span>}}{{#switch:{{{subst|¬}}}
  |¬={{category handler
  |¬={{category handler
   |template=[[Category:Templates needing substitution checking]]
   |template=[[Category:Templates needing substitution checking]]
Line 5: Line 5:
  }}
  }}
  |SUBST=[[Category:Pages with incorrectly substituted templates]]
  |SUBST=[[Category:Pages with incorrectly substituted templates]]
}}{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color: #fff9f9; color: DarkSlateGray; border: 1px solid #ffdcdc;">{{{content|}}}</span>}}{{Category handler
}}{{Category handler
  |main={{Fix/category
  |main={{Fix/category
   |cat-date={{{cat-date|}}}  
   |cat-date={{{cat-date|}}}  

Revision as of 07:48, 7 July 2014

[]