Template:TW: Difference between revisions

From PRIME Universe Wiki
Jump to navigation Jump to search
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 1: Line 1:
<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%;">
<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=Stub icon]]
     [[File:Warning.png|30px|class=noviewer|link=|alt=Warning icon]]
   </div>
   </div>
   <div>
   <div>
     <b>TRIGGER WARNIG:</b> <br>   Please be aware that the following themes are mentioned in this article:
     <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>
This template marks short or incomplete pages as stubs.
'''Usage:'''
<pre>{{Stub}}</pre>
Optionally, for topic-specific stubs:
<pre>{{Stub|Science}}</pre>
'''Categories:'''
<pre>
{{if:{{{1|}}}
| [[Category:{{{1}}} stubs]]
| [[Category:All stub articles]]
}}
</pre>
</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}}