Difference between revisions of "Template:Fix/category/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>আফতাবুজ্জামান
(test)
imported>Redrose64
(rm {{pp-template}} - the {{documentation}} handles the cases when a pp icon is needed; fix imbalanced braces)
 
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude>{{{cat|[[Category:All pages needing cleanup]]}}}{{{all|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}{{#if:{{{date|}}}
+
{{{cat|[[Category:All pages needing cleanup]]}}}{{{all|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}{{#if:{{{date|}}}
 
   |[[{{{date}}} from  
 
   |[[{{{date}}} from  
 
   |{{{cat-date}}}
 
   |{{{cat-date}}}
   }}]]{{#if:{{{date|}}}
+
   ]]}}{{#if:{{{date|}}}
 
   |{{#ifexist:{{{date}}} from {{{cat-date}}}|
 
   |{{#ifexist:{{{date}}} from {{{cat-date}}}|
 
     |[[Category:Articles with invalid date parameter in template]]
 
     |[[Category:Articles with invalid date parameter in template]]

Latest revision as of 20:45, 20 September 2014

Template documentation
I think it would be more elegant to change in {{Fix}}
{{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|}}}
 }}
to
{{Category handler
  |main={{Fix/category
  |cat-date={{{cat-date|{{{cats|}}}}}} 
  |cat={{{cat|{{{all|}}}}}} 
  |cat-date2={{{cat-date2|{{{cats2|}}}}}} 
  |cat2={{{cat2|{{{all2|}}}}}} 
  |cat-date3={{{cat-date3|{{{cats3|}}}}}} 
  |cat3={{{cat3|{{{all3|}}}}}} 
  |date={{{date|}}}
 }}