Template talk:Pet

I want a way to set variables in the template page. Basically, when calling the template I wish to be able to have my parameter value tested in the template itself.

This is a parameter named "multi" whose default is ""

What I want is more like IF =y THEN =to all players in the tile

So that by calling the parameter="y", I can cause a specific output from the template. With any other input (or no input, I'm not picky) the default (blank) is output.

Any Ideas?

I found this sentence in the help. To determine whether a parameter is defined, use #if: with a blank default.

But I am unsure of how to use it. Claytonius3 12:25, 24 October 2007 (MDT)