Template:Content warning: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
| {{#if: {{{1|}}} | {{{1|}}} | The following text}} | | {{#if: {{{1|}}} | {{{1|}}} | The following text}} | ||
}} contains sensitive content, including {{#switch: {{{2|}}} | }} contains sensitive content, including {{#switch: {{{2|}}} | ||
| #default = mentions of or allusions to | | #default = possible mentions of or allusions to | ||
| detailed = detailed descriptions of | | detailed = detailed descriptions of | ||
| described = descriptions of | | described = descriptions of | ||
| explicit = explicit mentions of | | explicit = explicit mentions of | ||
| implicit = allusions to | | implicit = allusions to | ||
}} {{#if: {{{3|}}} |{{Cw/Primitive|{{{3|}}} = 1}}| sexual, graphic | }} {{#if: {{{3|}}} |{{Cw/Primitive|{{{3|}}} = 1}}| sexual, graphic or violent material in [[Help: Style Guide|all aspects]]}}{{#if: {{{4|}}} |, {{#if: {{{5|}}} | | and}} {{Cw/Primitive|{{{4|}}} = 1}}| }}{{#if: {{{5|}}} |, {{#if: {{{6|}}} | | and}} {{Cw/Primitive|{{{5|}}} = 1}}| }}{{#if: {{{6|}}} |, and {{Cw/Primitive|{{{6|}}} = 1}}| }}''}} </includeonly> | ||
<noinclude> | <noinclude> | ||
This template is used to mark articles or sections with a content warning. | This template is used to mark articles or sections with a content warning. |
Revision as of 15:55, 12 October 2023
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:
- Content warning: The following text contains sensitive content, including possible mentions of or allusions to sexual, graphic or violent material 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 or violent material in all aspects
{{Cw|section}}
- Content warning: This section contains sensitive content, including possible mentions of or allusions to sexual, graphic or violent material 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 or violent material 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, described, explicit, implicit.
Example:
{{Cw|article|detailed}}
- Content warning: This article contains sensitive content, including detailed descriptions of sexual, graphic or 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}}
- Content warning: This article contains sensitive content, including explicit mentions of physical or emotional abuse
{{Cw|section|implicit|animal|sexual}}
- Content warning: This section contains sensitive content, including allusions to cruelty toward animals, and explicit sexual acts
{{Cw|section|implicit|animal|sexual|drugs|violence}}
- Content warning: This section contains sensitive content, including allusions to cruelty toward animals, explicit sexual acts, drugs or alcohol, and realistic or graphic violence