Template:--/doc

From Tears of Themis Wiki
< Template:--
Revision as of 10:23, 15 December 2023 by Harmonea (talk | contribs) (Created page with "{{doc/start}} ==Description== Simple template to display a negative number as a bold, red value in instances in which negative and positive numbers should be as visually distinct as possible. ==Usage== <pre>{{--|}}</pre> ==Example== <pre>* Quality +30 * Quality {{--|30}}</pre> * Quality +30 * Quality {{--|30}} ==Style Guide== For accessibility reasons, please be mindful before creating a positive equivalent template (bold green); it would be best to keep colors disti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation

Description[edit source]

Simple template to display a negative number as a bold, red value in instances in which negative and positive numbers should be as visually distinct as possible.

Usage[edit source]

{{--|}}

Example[edit source]

* Quality +30
* Quality {{--|30}}
  • Quality +30
  • Quality −30

Style Guide[edit source]

For accessibility reasons, please be mindful before creating a positive equivalent template (bold green); it would be best to keep colors distinct for the color-impaired, and to keep font weight distinct for other visual or processing impairments.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.