Template:ContentWarning: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 22: | Line 22: | ||
-->{{yesno|{{yesno-no|{{{drug_abuse}}}}}|yes= |
-->{{yesno|{{yesno-no|{{{drug_abuse}}}}}|yes= |
||
*Drug abuse}}<!-- |
*Drug abuse}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{other}}}| |
||
{{{other}}}}} |
|||
-->{{#if: {{{other2}}}| |
|||
*{{{other2}}}}}<!-- |
|||
-->{{#if: {{{other3}}}| |
|||
*{{{other3}}}}}<!-- |
|||
-->{{#if: {{{other4}}}| |
|||
*{{{other4}}}}}<!-- |
|||
-->{{#if: {{{other5}}}| |
|||
*{{{other5}}}}} |
|||
}}{{yesno |
}}{{yesno |
||
|{{yesno-yes|{{{add_category|}}}}} |
|{{yesno-yes|{{{add_category|}}}}} |
||
| Line 85: | Line 77: | ||
"default": "false", |
"default": "false", |
||
"suggested": true |
"suggested": true |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}, |
|||
"other2": { |
|||
"label": "Other (2)", |
|||
"type": "string" |
|||
}, |
|||
"other3": { |
|||
"label": "Other (3)", |
|||
"type": "string" |
|||
}, |
|||
"other4": { |
|||
"label": "Other (4)", |
|||
"type": "string" |
|||
}, |
|||
"other5": { |
|||
"label": "Other (5)", |
|||
"type": "string" |
|||
}, |
}, |
||
"add_category": { |
"add_category": { |
||
| Line 111: | Line 83: | ||
"type": "boolean", |
"type": "boolean", |
||
"default": "true" |
"default": "true" |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
"description": "A bulleted list of other necessary content warnings", |
|||
| ⚫ | |||
} |
} |
||
}, |
}, |
||
"description": "Hatnote for a content warning (also called a content notice, content disclosure, or trigger warning)", |
"description": "Hatnote for a content warning (also called a content notice, content disclosure, or trigger warning)", |
||
"format": "block" |
"format": "block", |
||
"paramOrder": [ |
|||
"violence", |
|||
"gore", |
|||
"sexual", |
|||
"mental_illness", |
|||
"self_harm", |
|||
"psychological_abuse", |
|||
"physical_abuse", |
|||
"drug_abuse", |
|||
"other", |
|||
"add_category" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
||
Revision as of 23:30, May 10, 2025
Hatnote for a content warning (also called a content notice, content disclosure, or trigger warning)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Violence | violence | no description
| Boolean | suggested |
| Gore | gore | no description
| Boolean | suggested |
| Sex or sexual topics | sexual | no description
| Boolean | suggested |
| Mental illness | mental_illness | no description
| Boolean | suggested |
| Self-harm | self_harm | no description
| Boolean | suggested |
| Psychological abuse | psychological_abuse | no description
| Boolean | suggested |
| Physical abuse | physical_abuse | no description
| Boolean | suggested |
| Drug abuse | drug_abuse | no description
| Boolean | suggested |
| Other | other | A bulleted list of other necessary content warnings | Content | optional |
| Add category | add_category | no description
| Boolean | optional |
Example
{{ContentWarning
|violence=yes
|gore=yes
|sexual=yes
|mental_illness=yes
|self_harm=yes
|psychological_abuse=yes
|physical_abuse=yes
|drug_abuse=yes
|other1=example1
|other2=example2
|other3=example3
|other4=example4
|other5=example5
}}
Content Warning
This article contains content that can be disturbing, distressing, or sensitive:
- Violence
- Gore
- Sex or sexual topics
- Mental illness
- Self-harm
- Psychological abuse
- Physical abuse
- Drug abuse{{{other}}}