Template:ColoredTruthCell: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
(Created page with "{{#switch: {{{1}}} | T = style="background: green; color: white;" {{!}} {{#if:{{{2|}}}|{{{2}}}|True}} | F = style="background: maroon; color: white;" {{!}} {{#if:{{{2|}}}|{{...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 13:10, 24 June 2023


  • 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.