Board Thread:Support Requests - Getting Technical/@comment-131168-20180730213829/@comment-9605025-20180802052028

I see. If I may offer some feedback on your template, I noticed you use the following.

This will do nothing if "doc" is set to blank or white space and will do something id "doc" is non-white space or not provided. Are you sure this is the behavior you want? It might be easier to have it do nothing if "doc" isn't specified; so you don't have to always put "doc=". To do that, just use:

A second thing I noticed is that, if it is unverified, it is always put in the "verification needed" category. If it is overdue, it is additionally put in the "verification overdue" category; so it will be in both categories. Is that what you want to happen?

To address your actual request, you could create another template (let's call it "Template1") that, as you requested, checks for the category and provides the message. It would be easiest, in my opinion, if you relied on proper placement of the template rather than having the template adjust the position of its contents. Your template could look like this:

You would then use a second template (let's call it "Template2") to actually provide the content. Checking for a single particular category (let's call it "TargetCategory"):

A single message but change it depending on a priority list:

Multiple messages, one for each category:

- Edit:

If it isn't enabled already, you will need to contact staff and ask them to enable DPL for your wiki.