Difference between revisions of "Template:Mbox"

From Twinsuniverse
Jump to: navigation, search
m (3 revisions)
m
Line 1: Line 1:
<div style="border: 1px solid #ff8005; background-color: #ffe0c1; padding: 10px;">[[Image:Warning large.png|left|40px]]{{{1}}}</div>
+
<includeonly><div class="mbox warning">[[Image:Warning large.png|left|40px|Warning!]]{{{1|Warning!}}}</div>
 +
</includeonly><noinclude>
 +
This template may be used to display a warning above an article, which text can be customized.
 +
 
 +
==Parameters==
 +
# The warning message (case sensitive, defaults to "Warning!")
 +
 
 +
==Syntax==
 +
<nowiki>{{warning|message}}</nowiki>
 +
 
 +
==Example==
 +
<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>
 +
 
 +
[[Category:Twinsuniverse - Templates]]
 +
</noinclude>

Revision as of 20:44, 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!