Template:Ifyeslike/doc
This is a documentation subpage for Template:Ifyeslike. It contains usage information, categories, and other content that is not part of the original template page. |
This template implements a simple evaluation of a "yes-like" value. E.g. "yes", "Y", "1", "true", etc.
Usage
editwikitext | 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 |