Difference between revisions of "Template:Mbox"

From Twinsuniverse
Jump to: navigation, search
m (J McKalling moved page Template:Warning to Template:Mbox without leaving a redirect)
m
Line 55: Line 55:
  
 
[[Category:System Templates]]
 
[[Category:System Templates]]
 +
[[Category:Mbox Templates| ]]
 
</noinclude>
 
</noinclude>

Revision as of 00:19, 8 December 2012

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

Parameters

  1. 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.