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 35: | Line 35: | ||
|{{yesno-yes|{{{add_category|}}}}} |
|{{yesno-yes|{{{add_category|}}}}} |
||
|yes= |
|yes= |
||
[[Category:META: Content Warning]]}}</includeonly><noinclude> |
[[Category:META: Content Warning]]}}</includeonly><noinclude><templatedata> |
||
{ |
|||
"params": { |
|||
"violence": { |
|||
"label": "Violence", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"gore": { |
|||
"label": "Gore", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"sexual": { |
|||
"label": "Sex or sexual topics", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"mental_illness": { |
|||
"label": "Mental illness", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"self_harm": { |
|||
"label": "Self-harm", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"psychological_abuse": { |
|||
"label": "Psychological abuse", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"physical_abuse": { |
|||
"label": "Physical abuse", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"drug_abuse": { |
|||
"label": "Drug abuse", |
|||
"type": "boolean", |
|||
"default": "false", |
|||
"suggested": true |
|||
}, |
|||
"other1": { |
|||
"label": "Other (1)", |
|||
"type": "string" |
|||
}, |
|||
"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": { |
|||
"label": "Add category", |
|||
"example": "Whether to add the category", |
|||
"type": "boolean", |
|||
"default": "true" |
|||
} |
|||
}, |
|||
"description": "Hatnote for a content warning (also called a content notice, content disclosure, or trigger warning)", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
==Example== |
==Example== |
||
<syntaxhighlight lang="wikitext"> |
<syntaxhighlight lang="wikitext"> |
||
Revision as of 23:26, May 10, 2025
Content Warning
This article contains content that can be disturbing, distressing, or sensitive:
- {{{other1}}}
- {{{other2}}}
- {{{other3}}}
- {{{other4}}}
- {{{other5}}}
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 (1) | other1 | no description | String | optional |
| Other (2) | other2 | no description | String | optional |
| Other (3) | other3 | no description | String | optional |
| Other (4) | other4 | no description | String | optional |
| Other (5) | other5 | no description | String | 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
- example1
- example2
- example3
- example4
- example5