Difference between revisions of "Template:If"
From YTMND
m |
m |
||
| Line 17: | Line 17: | ||
</nowiki></pre> | </nowiki></pre> | ||
| − | [[Category:Templates| | + | [[Category:Templates|if]]</noinclude> |
Revision as of 02:25, July 20, 2006
Usage
Checks if there is a value
{{if|{{{value|}}}
|(Text to show if the value exists)
|(Text to show if not)
}}
OR
{{if|{{{value|}}}
|then=(Text to show if the value exists)
|else=(Text to show if not)
}}