HeaderWarning list

From matthyWiki
Revision as of 12:55, 9 December 2024 by Matthyno (talk | contribs) (detail headerwarning list)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HeaderWarnings are useful ways of indicating various helpful bits of information to the user, like if a page is outdated or constantly changing.

Template:Outdated

Shows to the user that the information in the article or section may be outdated. The template also shows the latest version for reference.

Preview


  Outdated The information in this article or section may be outdated, meaning it may not be reliable to the latest version (v1.12.3).


Template:Dynamic

Shows to the user that the topic of the article or section is "dynamic," meaning it changes frequently.

Preview


  Dynamic This article is constantly being updated. Editing can often conflict with other edits when occuring rapidly.



Template:Spoiler

Shows to the user that the topic of the article or section may contain spoilers for Isotopeia, one of matthy.dev's games.

Preview


  Spoilers The following section contains spoilers for Isotopeia. You have been warned!



Template:Stub

Shows that the article or section is welcome to be expanded upon, and is quite brief or unhelpful in its current state.

Preview


  Stub This article is a stub. You can help matthyWiki by adding to the article.



Template:HeaderWarning

HeaderWarning is the base template used to show a big warning sign for use cases shown before. 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.