Difference between revisions of "Template:If"
From YTMND
m |
Roothorick (Talk | contribs) (That form doesn't actually work.) |
||
(One intermediate revision by one user not shown) | |||
Line 4: | Line 4: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{if|{{{value|}}} | {{if|{{{value|}}} | ||
|then=(Text to show if the value exists) | |then=(Text to show if the value exists) | ||
Line 17: | Line 10: | ||
</nowiki></pre> | </nowiki></pre> | ||
− | [[Category:Templates| | + | [[Category:Templates|if]]</noinclude> |
Latest revision as of 10:38, January 29, 2009
Usage
Checks if there is a value
{{if|{{{value|}}} |then=(Text to show if the value exists) |else=(Text to show if not) }}