A more elegant solution would be to pass the $capped variable to REPLY_TEMPLATE, and use some <if> statements to change the class used for the name and tripcode, and then change the CSS files so that they can each set the style of a capped name according to their own stylistic considerations. Or just surround the name with <em>, which would be more semantically correct.