[Mediawiki-l] Best way to IF(category) THEN (display something)

Bjorn Kassoe Andersen kassoe at direction.dk
Thu Aug 14 07:58:20 UTC 2008


Hello,
 
Newbie here. I'm developing a project and have my main focus on content and
user interface. I am trying to decide what would be the best way to direct
my tech guy to get the following working:
 
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've looked into the description of the DPL extension (which we probably
will be going to use anyway) and wonder if that is the easiest/best way to
take. Or is there some other simple built-in way to make the Mediawiki
software do this (we run 1.12) which I just haven't come across yet?
 
kassoe
 
---
(please excuse if this turns out to be a duplicate - I could not see my
first attempt being posted on the list)


More information about the MediaWiki-l mailing list