69,849
edits
m
no edit summary
No edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <onlyinclude>{{ambox|type=notice|image=[[File:Blinded_Condition_Icon.webp|35px|link=]]|text={{#switch: {{{1|}}} | ||
| article = This article | | article = This article | ||
| section = This section | | section = This section | ||
| text = The following text | | text = The following text | ||
| {{#if: {{{1|}}} | {{{1|}}} | The following text}} | | {{#if: {{{1|}}} | {{{1|}}} | The following text}} | ||
}} contains sensitive content, including {{#switch: {{{2|}}} | }} contains [[Help:Style Guide#Content warnings|sensitive content]], including {{#switch: {{{2|}}} | ||
| #default = possible mentions of or allusions to | | #default = possible mentions of or allusions to | ||
| detailed = detailed descriptions of | | detailed = detailed descriptions of | ||
| described = brief descriptions of | | described = brief descriptions of | ||
| mentioned = mentions of or allusions to | | mentioned = mentions of or allusions to | ||
}} {{#if: {{{3|}}} |{{Cw/Primitive|{{{3|}}} = 1}}| sexual, graphic, | }} {{#if: {{{3|}}} |{{Cw/Primitive|{{{3|}}} = 1}}| sexual, graphic, and violent content in 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}}| }}.}}</onlyinclude><includeonly></includeonly><noinclude>{{documentation|content=This template is used to mark articles or sections with a content warning. For correct uses of the '''Cw''' template, consult the [[Help:Style Guide#Content warnings|Style Guide]]. | ||
This template is used to mark articles or sections with a content warning. | |||
The default template, without any parameters, is used as such: | The default template, without any parameters, is used as such: | ||
{{ | {{Template demo | ||
| style = list | |||
| <nowiki>{{Cw}}</nowiki> | |||
}} | |||
The template can be further customized using additional parameters, described below. | |||
__NOTOC__ | |||
== Use == | == Use == | ||
Line 29: | Line 29: | ||
=====Examples===== | =====Examples===== | ||
{{Template demo | |||
{{ | | style = list | ||
| <nowiki> {{Cw|article}} </nowiki> | |||
| <nowiki>{{Cw|section}}</nowiki> | |||
| <nowiki>{{Cw|This content warning}}</nowiki> | |||
}} | |||
==== Level of detail ==== | ==== Level of detail ==== | ||
Line 48: | Line 40: | ||
Possible values are: | Possible values are: | ||
* detailed | * detailed: Detailed descriptions of sensitive content. | ||
* described | * described: Brief descriptions of sensitive content. | ||
* mentioned | * mentioned: Mentions of or allusions to sensitive content. | ||
=====Examples===== | =====Examples===== | ||
{{Template demo | |||
{{ | | style = list | ||
| <nowiki>{{Cw|article|detailed}}</nowiki> | |||
| <nowiki>{{Cw|section|mentioned}}</nowiki> | |||
}} | |||
==== Specific content warnings==== | ==== Specific content warnings==== | ||
Line 79: | Line 68: | ||
=====Examples===== | =====Examples===== | ||
{{Template demo | |||
| style = list | |||
| <nowiki>{{Cw|article|detailed|abuse}}</nowiki> | |||
| <nowiki>{{Cw|section|described|animal|sexual}}</nowiki> | |||
| <nowiki>{{Cw|section|mentioned|animal|sexual|drugs|violence}}</nowiki> | |||
}} | |||
==Template data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"suggestedvalues": [ | |||
"article", | |||
"section", | |||
"text" | |||
], | |||
"suggested": true, | |||
</noinclude> | "label": "Context" | ||
}, | |||
"2": { | |||
"suggestedvalues": [ | |||
"mentioned", | |||
"described", | |||
"detailed" | |||
], | |||
"suggested": true, | |||
"label": "Wording" | |||
}, | |||
"3": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true, | |||
"label": "Type of sensitive content.", | |||
"description": "Add up to four types of sensitive content." | |||
}, | |||
"4": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true, | |||
"label": "Type of sensitive content.", | |||
"description": "Add up to four types of sensitive content." | |||
}, | |||
"5": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true, | |||
"label": "Type of sensitive content.", | |||
"description": "Add up to four types of sensitive content." | |||
}, | |||
"6": { | |||
"suggestedvalues": [ | |||
"sv", | |||
"violence", | |||
"abuse", | |||
"animal", | |||
"selfharm", | |||
"drugs", | |||
"sexual" | |||
], | |||
"suggested": true, | |||
"label": "Type of sensitive content.", | |||
"description": "Add up to four types of sensitive content." | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"6" | |||
] | |||
} | |||
</templatedata> | |||
}} | |||
[[Category:Templates]] | |||
[[Category:Message box templates]]</noinclude> |