Difference between revisions of "Template:Unique values"

From HodHood
Jump to: navigation, search
(var_dump( $tmp );)
(restore)
 
Line 10: Line 10:
 
     $show = "{{#show: $v | ?category |link=none }}";
 
     $show = "{{#show: $v | ?category |link=none }}";
 
     $category = transclude( false, [], $show );
 
     $category = transclude( false, [], $show );
    if ( $category ) {
 
      $tmp = explode( ":", $category, 2 );
 
      var_dump( $tmp );
 
      $category = $tmp[0] . $tmp[1] . '|' . $tmp[1];
 
    }
 
 
     $count[$v]['category'] = $category;
 
     $count[$v]['category'] = $category;
 
   }
 
   }

Latest revision as of 07:45, 1 March 2018