Template:TW: Difference between revisions
Jump to navigation
Jump to search
MassGaming25 (talk | contribs) No edit summary Tag: wikieditor |
MassGaming25 (talk | contribs) No edit summary Tag: wikieditor |
||
| 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:Warning.png|30px|class=noviewer|link=|alt= | [[File:Warning.png|30px|class=noviewer|link=|alt=Warning icon]] | ||
</div> | </div> | ||
<div> | <div> | ||
<b>TRIGGER | <b>TRIGGER WARNING:</b><br> | ||
Please be aware that the following themes are mentioned in this article: | |||
<ul style="margin:0.25em 0 0 1.2em; padding:0;"> | |||
{{#explode:{{{themes|}}}|,|* }} | |||
</ul> | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | |||
</noinclude> | </noinclude> | ||
Revision as of 14:56, 18 October 2025
This template shows a red toast-style trigger warning box.
Usage:
{{TriggerWarning|themes=Violence, Drug Use}}