Difference between revisions of "Template:Mbox"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) m |
||
Line 26: | Line 26: | ||
<nowiki>{{mbox|class=value|message}}</nowiki> | <nowiki>{{mbox|class=value|message}}</nowiki> | ||
− | == | + | ==Examples== |
+ | <nowiki>{{mbox|class=cleanup|This article may need some kind of cleanup, doesn't it?}}</nowiki> | ||
+ | |||
+ | {| class="mbox cleanup" border="0" cellpadding="0" cellspacing="0" | ||
+ | | <nowiki> </nowiki> || This article may need some kind of cleanup, doesn't it? | ||
+ | |} | ||
+ | |||
+ | |||
<nowiki>{{mbox|class=content|warning, this article is having a content warning message!}}</nowiki> | <nowiki>{{mbox|class=content|warning, this article is having a content warning message!}}</nowiki> | ||
{| class="mbox content" border="0" cellpadding="0" cellspacing="0" | {| class="mbox content" border="0" cellpadding="0" cellspacing="0" | ||
| <nowiki> </nowiki> || warning, this article is having a content warning message! | | <nowiki> </nowiki> || warning, this article is having a content warning message! | ||
+ | |} | ||
+ | |||
+ | |||
+ | <nowiki>{{mbox|class=move|It is suggested to move / rename this article.}}</nowiki> | ||
+ | |||
+ | {| class="mbox move" border="0" cellpadding="0" cellspacing="0" | ||
+ | | <nowiki> </nowiki> || It is suggested to move / rename this article. | ||
+ | |} | ||
+ | |||
+ | |||
+ | <nowiki>{{mbox|class=notice|Something's wrong, but I don't know what. Maybe you can sort it out.}}</nowiki> | ||
+ | |||
+ | {| class="mbox notice" border="0" cellpadding="0" cellspacing="0" | ||
+ | | <nowiki> </nowiki> || Something's wrong, but I don't know what. Maybe you can sort it out. | ||
|} | |} | ||
[[Category:System Templates]] | [[Category:System Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:22, 7 December 2012
This template may be used to display a message above an article, which text can be customized.
Parameters
- The message text (case sensitive, defaults to empty message)
- class: The type of the message, may be any of these values (case insensitive):
- cleanup
- content
- move
- notice
- any other value would result in the default message type (no special styles)
Syntax
{{mbox|class=value|message}}
Examples
{{mbox|class=cleanup|This article may need some kind of cleanup, doesn't it?}}
This article may need some kind of cleanup, doesn't it? |
{{mbox|class=content|warning, this article is having a content warning message!}}
warning, this article is having a content warning message! |
{{mbox|class=move|It is suggested to move / rename this article.}}
It is suggested to move / rename this article. |
{{mbox|class=notice|Something's wrong, but I don't know what. Maybe you can sort it out.}}
Something's wrong, but I don't know what. Maybe you can sort it out. |