Template:Value color/doc: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 November 2023

  • curprev 01:2401:24, 4 November 2023Inari talk contribs 1,219 bytes +1,219 Created page with "{{Documentation subpage}} {{Lua|Module:Value color}} This template returns the color for a given value in a range. It interpolates the colour between given ''min'' and ''max'' values and colors (if not specified, these are assumed to be white for the ''min'' and black for the ''max''). It might be a good idea to use it with a template like {{tl|Greater color contrast ratio}} to make sure the text is legible. == Usage == <code>{{tlc|Value color|''value''|''min''|''max''..."