Board Thread:Support Requests - Getting Technical/@comment-3387692-20130103043303/@comment-4674838-20130103050456

Revitalizer wrote:


 * I would like the template to perform


 * when "Image:Placeholder" or "File:Placeholder" are the value of "".

It sounds to me like your question is "how do I detect the value of the parameter and insert content if  equals Image:Placeholder or File:Placeholder."

Here's one way you could do this with a #switch:

Alternatively, you could use #ifeq to check the value of :

Where "content" and "value if equal" are the parts you would fill in to get the template to perform what you said you wanted it to. (Additional syntax examples of #switch, #ifeq and other parser functions can be found here: mw:Help:Extension:ParserFunctions)