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

Template:Content warning

Template page
Template documentation

This template is used to mark articles or sections with a content warning. For correct uses of the Cw template, consult the Style Guide.

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

Markup
{{Cw}}
Renders as

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

Use

Introduction

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

  • article
  • section
  • text
Examples
Markup
 {{Cw|article}} 
Renders as
Markup
{{Cw|section}}
Renders as
Markup
{{Cw|This content warning}}
Renders as

Level of detail

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: Detailed descriptions of sensitive content.
  • described: Brief descriptions of sensitive content.
  • mentioned: Mentions of or allusions to sensitive content.
Examples
Markup
{{Cw|article|detailed}}
Renders as
Markup
{{Cw|section|mentioned}}
Renders as

Specific content warnings

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

Up to 4 types of sensitive content can be specified. For more general uses, leave the type of sensitive content unspecified.

Possible values are:

  • sv: Sexual violence, including sexual abuse and sexual assault.
  • violence: Realistic or graphic violence.
  • abuse: Physical or emotional abuse.
  • animal: Cruelty toward animals.
  • selfharm: Self-harm and suicide.
  • drugs: Drugs or alcohol.
  • sexual: Explicit sexual content.

For more information on when to use content warnings, see the Style Guide.

Examples
Markup
{{Cw|article|detailed|abuse}}
Renders as
Markup
{{Cw|section|described|animal|sexual}}
Renders as
Markup
{{Cw|section|mentioned|animal|sexual|drugs|violence}}
Renders as

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Context1

no description

Suggested values
article section text
Unknownsuggested
Wording2

no description

Suggested values
mentioned described detailed
Unknownsuggested
Type of sensitive content.3

Add up to four types of sensitive content.

Suggested values
sv violence abuse animal selfharm drugs sexual
Unknownsuggested
Type of sensitive content.4

Add up to four types of sensitive content.

Suggested values
sv violence abuse animal selfharm drugs sexual
Unknownsuggested
Type of sensitive content.5

Add up to four types of sensitive content.

Suggested values
sv violence abuse animal selfharm drugs sexual
Unknownsuggested
Type of sensitive content.6

Add up to four types of sensitive content.

Suggested values
sv violence abuse animal selfharm drugs sexual
Unknownsuggested