Difference between revisions of "Template:Mbox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{| class="mbox warning"
+
<includeonly>{| class="mbox warning" border="0" cellpadding="0" cellspacing="0"
 
| [[Image:Warning large.png|left|40px|Warning!]] || {{{1|Warning!}}}
 
| [[Image:Warning large.png|left|40px|Warning!]] || {{{1|Warning!}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
Line 13: Line 13:
 
  <nowiki>{{warning|warning, this article is having a warning message!}}</nowiki>
 
  <nowiki>{{warning|warning, this article is having a warning message!}}</nowiki>
  
{| class="mbox warning"
+
{| class="mbox warning" border="0" cellpadding="0" cellspacing="0"
| [[Image:Warning large.png|left|40px|Warning!]] || warning, this article is having a warning message!
+
| [[Image:Warning large.png|40px|Warning!]] || warning, this article is having a warning message!
 
|}
 
|}
  
 
[[Category:Twinsuniverse - Templates]]
 
[[Category:Twinsuniverse - Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:58, 1 December 2012

This template may be used to display a warning above an article, which text can be customized.

Parameters

  1. The warning message (case sensitive, defaults to "Warning!")

Syntax

{{warning|message}}

Example

{{warning|warning, this article is having a warning message!}}
Warning! warning, this article is having a warning message!