.

Template:Qif

Wikicars, a place to share your automotive knowledge
Revision as of 20:34, 22 April 2007 by 24.17.150.91 (talk | contribs) (Tag fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This template enables display of content based on the outcome of a conditional test. It is used as follows, with both the then and the else parameters being optional although one must be used:

{{qif
  |test={{{parameter_to_test|}}}
  |then=What to display if test is not empty
  |else=What to display if test is empty
}}