Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Content warning

Template page
Revision as of 15:46, 12 October 2023 by Willowisp (talk | contribs) (Created page with "<includeonly>: {{icon|Prerequisite_Icon.png|24px}}{{color|#c9b500|'''Content warning''': {{#switch: {{{1|}}} | article = This article | section = This section | text = The following text | {{#if: {{{1|}}} | {{{1|}}} | The following text}} }} contains sensitive content, including {{#switch: {{{2|}}} | #default = mentions of or allusions to | detailed = detailed descriptions of | described = descriptions of | explicit = explicit mentions of | implicit = allusions to }} {{#...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This template is used to mark articles or sections with a content warning.

The default template, without any parameters, is used as such:

{{Cw}}

And appears as:

Prerequisite_Icon.pngContent warning: The following text contains sensitive content, including mentions of or allusions to sexual, graphic and violent material in all aspects


The template can be further customised using additional parameters, described below.

Use

Paramater 1

The first parameter specifies whether it's a text, article or section that has the sensitive content. Possible values are: article, section, text. Examples: {{Cw|article}}

Prerequisite_Icon.pngContent warning: This article contains sensitive content, including mentions of or allusions to sexual, graphic and violent material in all aspects


{{Cw|section}}

Prerequisite_Icon.pngContent warning: This section contains sensitive content, including mentions of or allusions to sexual, graphic and violent material in all aspects


A custom value can also be entered if desired:

{{Cw|This content warning}}

Prerequisite_Icon.pngContent warning: This content warning contains sensitive content, including mentions of or allusions to sexual, graphic and violent material in all aspects


Paramater 2

The second parameter specifies the level of detail of the sensitive material. The first parameter must be included for the second parameter to function.

Possible values are: detailed, described, explicit, implicit.

Example:

{{Cw|article|detailed}}

Prerequisite_Icon.pngContent warning: This article contains sensitive content, including detailed descriptions of sexual, graphic and violent material in all aspects


Specific content warnings

Additional parameters can specify the nature of the sensitive content. The first two parameters must first be specified!

Up to 4 types of sensitive content can be specified.

Possible values are:

  • sv (sexual violence)
  • violence (realistic and graphic violence)
  • abuse (physical or emotional abuse or torture)
  • animal (cruelty to animals)
  • selfharm (self-harm and suicide)
  • drugs (realistic references to drugs and alcohol)
  • sexual (sexual content).

Examples:

{{Cw|article|explicit|abuse}}

Prerequisite_Icon.pngContent warning: This article contains sensitive content, including explicit mentions of physical or emotional abuse


{{Cw|section|implicit|animal|sexual}}

Prerequisite_Icon.pngContent warning: This section contains sensitive content, including allusions to cruelty toward animals, and explicit sexual acts


{{Cw|section|implicit|animal|sexual|drugs|violence}}

Prerequisite_Icon.pngContent warning: This section contains sensitive content, including allusions to cruelty toward animals, explicit sexual acts, drugs or alcohol, and realistic or graphic violence