Template:MessageBox: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (but outside the box lol)
m (dropping line breaks)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="background-color: #ffffcc; margin: 0 2.5%; padding: 0 0px; border: 2px solid #ffff22;">
<div style="background-color: #ffffcc; margin: 0 2.5%; padding: 0 0px; border: 1px solid #ff0000;">
{| border="0"
{| border="0"
|-  
|-  
| width="3" bgcolor=#ffff22|&nbsp;
| width="3" bgcolor=#ff0000|&nbsp;
| width="40" align="center"|[[File:{{{image|Emblem-pen.png}}}|25x25px|link=]]
| width="40" align="center"|[[File:{{{image|Emblem-pen.png}}}|25x25px|link=]]
| {{{1|One of the editors wanted to leave you a message, but they forgot to enter it.}}}
| {{{1|One of the editors wanted to leave you a message, but they forgot to enter it.}}}
|}
|}
</div><br>
</div><noinclude>
<noinclude>
=== Description ===
=== Description ===
A simple way to leave a message behind for other editors. Of course, general viewers will see it, so don't use it inappropriately.
A simple way to leave a message behind for other editors. Of course, general viewers will see it, so don't use it inappropriately.
Line 23: Line 22:
</pre>
</pre>
appears as:
appears as:
{{MessageBox |I have something very important to say.}}
{{MessageBox|I have something very important to say.}}
 


coded as:
coded as:
Line 38: Line 36:
|image=Emblem-pen-orange.png
|image=Emblem-pen-orange.png
}}
}}


coded as:
coded as:

Latest revision as of 04:03, 31 May 2023

  Emblem-pen.png One of the editors wanted to leave you a message, but they forgot to enter it.

Description[edit]

A simple way to leave a message behind for other editors. Of course, general viewers will see it, so don't use it inappropriately.

parameters

  • first parameter, unnamed - required, a message to be displayed.
  • image - optional, an alternate image to be displayed


Usage[edit]

coded as:

{{MessageBox|I have something very important to say.}}

appears as:

  Emblem-pen.png I have something very important to say.

coded as:

{{MessageBox
|Episodes up to #315 have been checked for references to colleges and universities.
|image=Emblem-pen-orange.png
}}

appears as:

  Emblem-pen-orange.png Episodes up to #315 have been checked for references to colleges and universities.

coded as:

{{MessageBox|If you have an opinion about how to XYZ, join [[{{TALKPAGENAME}}|the discussion]] on this page.}}

appears as:

  Emblem-pen.png If you have an opinion about how to XYZ, join the discussion on this page.