Documentation

вироиш

This template takes one argument, a semantic color name, and returns a valid color for use in HTML and CSS.

Overview of supported semantic color names
Name Background Foreground Hex Code
win, won Black text White text                 Black canvas White canvas #CCFFCC
lose, lost, loss Black text White text                 Black canvas White canvas #FFCCCC
tie, draw, remis Black text White text                 Black canvas White canvas #FFFFCC
void Black text White text                 Black canvas White canvas #CCCCCC
running, in play, now, ongoing Black text White text                 Black canvas White canvas
postponed, not yet, pending Black text White text                 Black canvas White canvas #CCCCCC
no-result, no result Black text White text                 Black canvas White canvas gray
n/a, na, not available Black text White text                 Black canvas White canvas gray
unk, unknown Black text White text                 Black canvas White canvas gray
uncertain Black text White text                 Black canvas White canvas gray
up Black text White text                 Black canvas White canvas green
unchanged, stays Black text White text                 Black canvas White canvas orange
down Black text White text                 Black canvas White canvas red
final, finals Black text White text                 Black canvas White canvas lime
playoff, playoffs Black text White text                 Black canvas White canvas lime

See test cases or template code for full list of keywords.