Forum:Continued Help with Conditional statements

Problem One
What I'm trying to do is check to see if there is a value for fame_place, if there is a value then auto add the category, if not then I don't want the template to do anything. At the moment it doesn't add anything whether or not there is a value for fame_place

Template

Example with Variable Value

Example without


 * searches pages by the name of . You need to use   instead. — Sovq 09:14, August 24, 2011 (UTC)

Problem Two
I want to check to see if the variable does NOT have the value tooltip. if mode is anything other than tooltip I want to include automatic categories. If mode IS tooltip I don't want the categories to be automatically added. This is the same template as listed above.

--Jrlewis96 09:00, August 24, 2011 (UTC)


 * — Sovq 09:14, August 24, 2011 (UTC)