Template:Trigger: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Protected "Template:Trigger": just an important message that shouldn't be wide open for changes ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Line 1: Line 1:
<div style="background-color: white; margin: 0 2.5%; padding: 0 0px; border: 1px solid #ff0000;">
<includeonly><div style="background-color: white; 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:{{{image|Trigger warning icon.jpg}}}|25x25px|link=]]
| width="40" align="center"|[[File:Trigger warning icon.jpg|25x25px|link=]]
| '''{{{1|Trigger warning (general)}}}'''
| '''{{{1|Trigger warning (general)}}}'''
|}
|}
</div><noinclude>
</div></includeonly>
=== Description ===
=== Description ===
A simple way to introduce a trigger warning. Of course, general viewers will see it, so don't use it inappropriately.
A simple way to introduce a trigger warning. Of course, general viewers will see it, so don't use it inappropriately.


parameters
If no text is added after the pipe, <code>|</code>, generic message will be displayed:
* first parameter, unnamed - required, a message to be displayed.
<pre>
* image - optional, an alternate image to be displayed
{{trigger}}
 
</pre>
appears as:
{{trigger}}


=== Usage ===
=== Usage ===
coded as:
<pre>
<pre>
{{trigger|Trigger warning: suicide, death}}
{{trigger|Trigger warning: suicide, death}}

Revision as of 06:01, 24 May 2024

Description

A simple way 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, |, generic message will be displayed:

{{trigger}}

appears as:

  Trigger warning icon.jpg Trigger warning (general)

Description

A simple way 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, |, generic message will be displayed:

{{trigger}}

appears as: Template loop detected: Template:Trigger

Usage

{{trigger|Trigger warning: suicide, death}}

appears as: Template loop detected: Template:Trigger

Usage

{{trigger|Trigger warning: suicide, death}}

appears as:

  Trigger warning icon.jpg Trigger warning: suicide, death

Description

A simple way 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, |, generic message will be displayed:

{{trigger}}

appears as: Template loop detected: Template:Trigger

Usage

{{trigger|Trigger warning: suicide, death}}

appears as: Template loop detected: Template:Trigger