Template:ColoredTruthCell

From 2d4chan
Revision as of 11:47, 5 May 2017 by 38.126.110.9 (talk) (Created page with "{{#switch: {{{1}}} | T = style="background: green; color: white;" {{!}} {{#if:{{{2|}}}|{{{2}}}|True}} | F = style="background: maroon; color: white;" {{!}} {{#if:{{{2|}}}|{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


  • First argument sets the color and tries to guess a sensible default text based on how you set it, second lets you set the text.
  • Colors are all darker shades (e.g. maroon, not red) for readability.
  • This is used to conveniently produce color coded table cells.
  • If more colors are needed, Navy, Teal, Purple, and Black are recommended for inclusion.
Color Scheme
Green True, Friendly, Go, etc.
Maroon False, Enemy, Stop, etc.
Olive Both True and False, Frienemy, Caution, etc.
Gray Neither True Nor False, Neutral, etc.