Template:YNM

From Wario Speedrunning Wiki
Revision as of 02:53, 24 April 2025 by Trig Jegman (talk | contribs) (Created page with "<noinclude> {| class="wikitable" |- |</noinclude>style="background-color: #{{#switch:{{{1}}}|yes|yea|y|check=D2FFD2|no|nay|n|cross|neg=FFD2D2|may|maybe|might|m|sometimes|s=f7b566|na|notapplicable|not applicable|null|exempt|e|#default=ABABAB}}; text-align: center;" | <span style="color: #{{#switch:{{{1}}}|yes|yea|y|check=008000|no|nay|n|cross|neg=FF0000|may|maybe|might|m|sometimes|s=914F00|na|notapplicable|not applicable|null|exempt|e|#default=FEFEFE}};">'''{{#switch:{{{1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template generates colored icons for tables. It has four possible outcomes: "yes", "no", "sometimes", and "na" (not applicable).

Example parameter entry Example parameter result
{{YNM|yes}}
{{YNM|no}}
{{YNM|maybe}} /
{{YNM|n/a}} or {{YNM}}