Difference between revisions of "Template:MessageBox"

From SGUTranscripts
Jump to navigation Jump to search
Line 3: Line 3:
 
|-  
 
|-  
 
| width="3" bgcolor=#ffff22| 
 
| width="3" bgcolor=#ffff22| 
| width="40" align="center"|[[File:{{{2|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.}}}
 
|}
 
|}
Line 11: Line 11:
 
=== 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.
 +
 +
parameters
 +
* first parameter, unnamed - required, a message to be displayed.
 +
* image - optional, an alternate image to be displayed
 +
  
 
=== Usage ===
 
=== Usage ===
Line 24: Line 29:
 
coded as:
 
coded as:
 
<pre>
 
<pre>
{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.}}
+
{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.
 +
|image=Emblem-pen-orange.png}}
 
</pre>
 
</pre>
 
appears as:
 
appears as:
{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.}}
+
{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.
 +
|image=Emblem-pen-orange.png}}
  
  

Revision as of 14:10, 13 September 2016

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


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.

parameters

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


Usage

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.