📖 This is a live mirror of the <a href="https://www.theamazonbasin.com/wiki/">Basin Wiki</a> (theamazonbasin.com), hosted to keep the content available if the original ever goes offline. All content belongs to the original Basin Wiki authors — please visit and support the <a href="https://www.theamazonbasin.com/">original site</a>.

Template:N-color

From Basin Wiki (D2 mirror)
Jump to navigation Jump to search

{{#switch: {{{1}}} | border | dark = #00AA55 | tint | lighter = #CCFFEE | background | light | #default = #99FFCC }}

Usage

{{N-color|xxx}}

Where xxx is one of the following values:

  • lighter
  • light
  • dark

An alternate set of values that could be used are:

  • tint (same as lighter)
  • background (same as light)
  • border (same as dark)

If xxx is not specified, the default value is light, although leaving it as the default is discouraged.

Aside from special circumstances, always attempt to use the more appropriate set of color values - either lighter-light-dark or tint-background-border. Avoid mixing them up.