Difference between revisions of "Template:Mbox"

From Twinsuniverse
Jump to: navigation, search
m
m
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>
  
<div class="mbox warning">[[Image:Warning large.png|left|40px|Warning!]]warning, this article is having a warning message!</div>
+
{| class="mbox warning"
 +
| [[Image:Warning large.png|left|40px|Warning!]] || warning, this article is having a warning message!
 +
|}
  
 
[[Category:Twinsuniverse - Templates]]
 
[[Category:Twinsuniverse - Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:49, 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!