Bjorn Kassoe Andersen wrote:
I want specific words and graphics to be displayed in a templated box
if a
page belongs to a specific category (if the page does not belong to
this
category, a default text/graphic should be displayed).
I think you could do it in a new skin for your wiki. You want a box somewhere on the page (a new div maybe?).
$cats = $wgTitle->getParentCategories(); If ( array_key_exists($specialCat, $cats) { //Words and text } else { //Just a logo }
That's assuming you don't mean what more experienced wiki people mean by 'templated'.
-Courtney