.
Template:Qif: Difference between revisions
Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
No edit summary |
Red marquis (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
[[Category:Templates|Q]]</noinclude> | [[Category:Templates|Q]]</noinclude> | ||
[[Category:Templates]] |
Revision as of 01:48, 11 December 2006
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 }}