Template:Trigger: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (trying to drop the line break)
m (cleaner)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="background-color: white; margin: 0 2.5%; padding: 0 0px; border: 1px solid #ff0000;">
<div style="background-color: #ffffff; margin: 0 2.5%; padding: 0 0px; border: 1px solid #ff0000;">
{| border="0"  
{| border="0"
|-  
|-  
| width="3" bgcolor=#ff0000|&nbsp;
| width="3" bgcolor=#ff0000|&nbsp;
| width="40" align="center"|[[File:Trigger warning icon.jpg|25x25px|link=]]
| width="40" align="center"|[[File:{{{image|Trigger warning icon.jpg}}}|25x25px|link=]]
| '''{{{1|Trigger warning (general)}}}'''
| {{#if:{{{1|}}}|'''Trigger warning: {{{1}}}|'''Trigger warning (general)'''}}
|}</div><noinclude>
|}
== Description ==
</div><noinclude>
=== Description ===
This is a simple message box to introduce a trigger warning. Of course, general viewers will see it, so don't use it inappropriately.
This is a simple message box to introduce a trigger warning. Of course, general viewers will see it, so don't use it inappropriately.


If no text is added after the pipe, <code>|</code>, generic message will be displayed:
If no specific warning type is added after the pipe, <code>|</code>, this generic message will be displayed:
<pre>{{trigger}}</pre>
<pre>{{trigger}}</pre>
appears as:
appears as:
{{trigger}}
{{trigger}}


== Usage ==
=== Usage ===
<pre>
<pre>
{{trigger|Trigger warning: suicide, death}}
{{trigger|suicide, death}}
</pre>
</pre>
appears as:
appears as:
{{trigger|Trigger warning: suicide, death}}
{{trigger|suicide, death}}
[[Category: Message templates]]
[[Category: Message templates]]
[[Category: Templates]]
[[Category: Templates]]
</noinclude>
</noinclude>

Latest revision as of 05:58, 2 August 2024

  Trigger warning icon.jpg Trigger warning (general)

Description

This is a simple message box to introduce a trigger warning. Of course, general viewers will see it, so don't use it inappropriately.

If no specific warning type is added after the pipe, |, this generic message will be displayed:

{{trigger}}

appears as:

  Trigger warning icon.jpg Trigger warning (general)

Usage

{{trigger|suicide, death}}

appears as:

  Trigger warning icon.jpg Trigger warning: suicide, death