Template:Ifyeslike
This template implements a simple evaluation of a "yes-like" value. E.g. "yes", "Y", "1", "true", etc.
Usage
wikitext | output |
---|---|
{{ifyeslike|yes|yes-like|not-yes-like}} | yes-like |
{{ifyeslike|no|yes-like|not-yes-like}} | not-yes-like |
{{ifyeslike|y|yes-like|not-yes-like}} | yes-like |
{{ifyeslike|1|yes-like|not-yes-like}} | yes-like |
{{ifyeslike|KASJBFDKAS|yes-like|not-yes-like}} | not-yes-like |
{{ifyeslike||yes-like|not-yes-like}} | not-yes-like |