Template:Content warning: Difference between revisions
No edit summary |
No edit summary |
||
Line 91: | Line 91: | ||
{{Cw|section|mentioned|animal|sexual|drugs|violence}} | {{Cw|section|mentioned|animal|sexual|drugs|violence}} | ||
</noinclude> | |||
==Template data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"suggestedvalues": [ | |||
"article", | |||
"section", | |||
"text" | |||
], | |||
"suggested": true | |||
}, | |||
"2": { | |||
"suggestedvalues": [ | |||
"mentioned", | |||
"described", | |||
"detailed" | |||
], | |||
"suggested": true | |||
}, | |||
"3": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true | |||
}, | |||
"4": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true | |||
}, | |||
"5": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true | |||
}, | |||
"6": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"6" | |||
] | |||
} | |||
</templatedata></noinclude> |
Revision as of 19:52, 15 October 2023
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:
{{Cw}}
- Content warning: The following text contains sensitive content, including possible mentions of or allusions to sexual, graphic, and violent content in all aspects.
The template can be further customised 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
{{Cw|article}}
- Content warning: This article contains sensitive content, including possible mentions of or allusions to sexual, graphic, and violent content in all aspects.
{{Cw|section}}
- Content warning: This section contains sensitive content, including possible mentions of or allusions to sexual, graphic, and violent content in all aspects.
A custom value can also be entered if desired:
{{Cw|This content warning}}
- Content warning: This content warning contains sensitive content, including possible mentions of or allusions to sexual, graphic, and violent content in all aspects.
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
{{Cw|article|detailed}}
- Content warning: This article contains sensitive content, including detailed descriptions of sexual, graphic, and violent content in all aspects.
{{Cw|section|mentioned}}
- Content warning: This section contains sensitive content, including mentions of or allusions to sexual, graphic, and violent content in all aspects.
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
{{Cw|article|detailed|abuse}}
- Content warning: This article contains sensitive content, including detailed descriptions of physical or emotional abuse.
{{Cw|section|described|animal|sexual}}
- Content warning: This section contains sensitive content, including brief descriptions of cruelty toward animals, and explicit sexual acts.
{{Cw|section|mentioned|animal|sexual|drugs|violence}
- Content warning: This section contains sensitive content, including mentions of or allusions to cruelty toward animals, explicit sexual acts, drugs or alcohol, and realistic or graphic violence.
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description
| Unknown | suggested |
2 | 2 | no description
| Unknown | suggested |
3 | 3 | no description
| Unknown | suggested |
4 | 4 | no description
| Unknown | suggested |
5 | 5 | no description
| Unknown | suggested |
6 | 6 | no description
| Unknown | suggested |