Template:TW: Difference between revisions
Jump to navigation
Jump to search
MassGaming25 (talk | contribs) Created page with "<div style="display:flex; align-items:center; gap:0.6em; border:1px solid #f1c40f; background-color:#fff8d5; padding:0.75em 1em; margin:1em 0; border-radius:6px; box-shadow:0 0 4px rgba(0,0,0,0.05); font-size:95%;"> <div style="flex-shrink:0;"> 30px|class=noviewer|link=|alt=Stub icon </div> <div> <b>TRIGGER WARNIG:</b> <br>Please be aware that the following themes are mentioned in this article: </div> </div> <noinclude> This template..." Tag: wikieditor |
MassGaming25 (talk | contribs) No edit summary Tag: wikieditor |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="display:flex; align-items:center; gap:0.6em; border:1px solid # | <noinclude> | ||
This template shows a red toast-style trigger warning box. | |||
'''Usage:''' | |||
<pre>{{TriggerWarning|themes=Violence, Drug Use}}</pre> | |||
</noinclude> | |||
<includeonly> | |||
<div style="display:flex; align-items:center; gap:0.6em; border:1px solid #e74c3c; background-color:#fdecea; padding:0.75em 1em; margin:1em 0; border-radius:6px; box-shadow:0 0 4px rgba(0,0,0,0.05); font-size:95%;"> | |||
<div style="flex-shrink:0;"> | <div style="flex-shrink:0;"> | ||
[[File: | [[File:Danger.png|100px|class=noviewer|link=|alt=Warning icon]] | ||
</div> | </div> | ||
<div> | <div> | ||
<b>TRIGGER | <b>TRIGGER WARNING:</b><br> | ||
A trigger warning is in effect for the following themes: | |||
{{{themes}}}<br> | |||
<b><i>Reader discretion is advised!</i></b> | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | |||
</ | |||
Latest revision as of 16:12, 18 October 2025
This template shows a red toast-style trigger warning box.
Usage:
{{TriggerWarning|themes=Violence, Drug Use}}