Difference between revisions of "Template:MessageBox"

From SGUTranscripts
Jump to navigation Jump to search
(Simple message diaplay)
 
(Continuing documentation. Added second parameter.)
Line 3: Line 3:
 
|-  
 
|-  
 
| width="3" bgcolor=#ffff22| 
 
| width="3" bgcolor=#ffff22| 
| width="40" align="center"|[[File:Emblem-pen.png|25x25px|link=]]
+
| width="40" align="center"|[[File:{{2|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 14: Line 14:
 
=== Usage ===
 
=== Usage ===
  
 +
coded as:
 
<pre>
 
<pre>
 
{{MessageBox|I have something very important to say.}}
 
{{MessageBox|I have something very important to say.}}
Line 19: Line 20:
 
appears as:
 
appears as:
 
{{MessageBox |I have something very important to say.}}
 
{{MessageBox |I have something very important to say.}}
 +
 +
 +
coded as:
 +
<pre>
 +
{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.}}
 +
</pre>
 +
appears as:
 +
{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.}}
 +
 +
 +
coded as:
 +
<pre>
 +
{{MessageBox|If you have an opinion about how to XYZ, join [[{{TALKPAGENAME}}|the discussion]] on this page.}}
 +
</pre>
 +
appears as:
 +
{{MessageBox|If you have an opinion about how to XYZ, join [[{{TALKPAGENAME}}|the discussion]] on this page.}}
  
 
[[Category: Message templates]]
 
[[Category: Message templates]]
 
[[Category: Templates]]
 
[[Category: Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:05, 13 September 2016

  [[File:Template:2|25x25px|link=]] 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.

Usage

coded as:

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

appears as:

  [[File:Template:2|25x25px|link=]] I have something very important to say.



coded as:

{{MessageBox|Episodes up to #315 have been checked for references to colleges and universities.}}

appears as:

  [[File:Template:2|25x25px|link=]] 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:

  [[File:Template:2|25x25px|link=]] If you have an opinion about how to XYZ, join the discussion on this page.