Template:Content warning: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
The default template, without any parameters, is used as such: | The default template, without any parameters, is used as such: | ||
<nowiki>{{Cw}}</nowiki> | {{Code|<nowiki>{{Cw}}</nowiki>}} | ||
{{Cw}} | {{Cw}} | ||
Line 30: | Line 28: | ||
* text | * text | ||
Examples: | Examples: | ||
<nowiki> {{Cw|article}} </nowiki> | {{Code|<nowiki> {{Cw|article}} </nowiki>}} | ||
{{Cw|article}} | {{Cw|article}} | ||
<nowiki> {{Cw|section}} </nowiki> | {{Code|<nowiki>{{Cw|section}}</nowiki>}} | ||
{{Cw|section}} | {{Cw|section}} | ||
Line 40: | Line 38: | ||
A custom value can also be entered if desired: | A custom value can also be entered if desired: | ||
<nowiki> {{Cw|This content warning}} </nowiki> | {{Code|<nowiki>{{Cw|This content warning}}</nowiki>}} | ||
{{Cw|This content warning}} | {{Cw|This content warning}} | ||
Line 54: | Line 52: | ||
Example: | Example: | ||
<nowiki> {{Cw|article|detailed}} </nowiki> | {{Code|<nowiki>{{Cw|article|detailed}}</nowiki>}} | ||
{{Cw|article|detailed}} | {{Cw|article|detailed}} | ||
Line 74: | Line 72: | ||
Examples: | Examples: | ||
<nowiki>{{Cw|article|explicit|abuse}}</nowiki> | {{Code|<nowiki>{{Cw|article|explicit|abuse}}</nowiki>}} | ||
{{Cw|article|explicit|abuse}} | {{Cw|article|explicit|abuse}} | ||
<nowiki>{{Cw|section|mentioned|animal|sexual}}</nowiki> | {{Code|<nowiki>{{Cw|section|mentioned|animal|sexual}}</nowiki>}} | ||
{{Cw|section|mentioned|animal|sexual}} | {{Cw|section|mentioned|animal|sexual}} | ||
<nowiki>{{Cw|section|mentioned|animal|sexual|drugs|violence}.</nowiki> | {{Code|<nowiki>{{Cw|section|mentioned|animal|sexual|drugs|violence}.</nowiki>}} | ||
{{Cw|section|mentioned|animal|sexual|drugs|violence}} | {{Cw|section|mentioned|animal|sexual|drugs|violence}} | ||
</noinclude> | </noinclude> |
Revision as of 21:05, 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}}
- Content warning: The following text contains sensitive content, including possible mentions of or allusions to sexual, graphic, or 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, or violent content in all aspects.
{{Cw|section}}
- Content warning: This section contains sensitive content, including possible mentions of or allusions to sexual, graphic, or 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, or 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
- described
- mentioned
Example:
{{Cw|article|detailed}}
- Content warning: This article contains sensitive content, including detailed descriptions of sexual, graphic, or violent content 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. For more general uses, leave the type of sensitive content unspecified.
Possible values are:
- sv (sexual violence)
- violence (realistic and graphic violence)
- abuse (physical or emotional abuse)
- animal (cruelty to animals)
- selfharm (self-harm and suicide)
- drugs (references to drugs or alcohol)
- sexual (sexual content).
Examples:
{{Cw|article|explicit|abuse}}
- Content warning: This article contains sensitive content, including possible mentions of or allusions to physical or emotional abuse.
{{Cw|section|mentioned|animal|sexual}}
- Content warning: This section contains sensitive content, including mentions of or allusions to 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.