Template:HeaderWarning

From matthyWiki
Jump to navigation Jump to search

  {{{1}}} {{{2}}}




Template documentation

This template, HeaderWarning, is used to show a big warning sign for use cases such as Template:Stub or Template:Spoiler. For ordered arguments:

  1. The header of the warning, e.g. "Spoiler"
  2. The description of the warning, e.g. "This section or article contains spoilers."

For optional (but also positional) arguments:

  • border: The color of the border of the warning, usually in hexadecimal (by default, #5a5a5a) or CSS's notations.
  • bg: The color of the background of the warning, usually in hexadecimal (by default, #cacaca) or CSS's notations.
  • header: The color of the warning's header, usually in hexadecimal (by default, #4a4a4a) or CSS's notations.
  • fg: The color of the description text/foreground, usually in hexadecimal or CSS's notations.