Solution ... Well it works for me
in CategoryPage.php
At the end of the Function doCategoryMagic replace
wfProfileOut( $fname ); return $r;
With
wfProfileOut( $fname ); /* Added to try and format 'Template: xxx' to 'xxx' */ $r = preg_replace ("/>Template:([\w\d -]+)</i",">$1<", $r); return $r;
This will replace all displayed text "Template:XXXX" to "XXXX" and still leave the link to the template intact.
Thankyou Jamie for setting me on the right track
Regards
Paul