Jump to content

Template:Ifyeslike/doc

From Meta, a Wikimedia project coordination wiki

This template implements a simple evaluation of a "yes-like" value. E.g. "yes", "Y", "1", "true", etc.

Usage

[edit]
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