Difference between revisions of "Template:Mbox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 35: Line 35:
  
 
{| class="mbox cleanup" border="0" cellpadding="0" cellspacing="0"
 
{| class="mbox cleanup" border="0" cellpadding="0" cellspacing="0"
| <nowiki> </nowiki> || This article may need some kind of cleanup, doesn't it?
+
| &nbsp; || This article may need some kind of cleanup, doesn't it?
 
|}
 
|}
  
Line 42: Line 42:
  
 
{| 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!
+
| &nbsp; || Warning, this article is having a content warning message!
 
|}
 
|}
  
Line 49: Line 49:
  
 
{| class="mbox move" border="0" cellpadding="0" cellspacing="0"
 
{| class="mbox move" border="0" cellpadding="0" cellspacing="0"
| <nowiki> </nowiki> || It is suggested to move / rename this article.
+
| &nbsp; || It is suggested to move / rename this article.
 
|}
 
|}
  
Line 56: Line 56:
  
 
{| class="mbox notice" border="0" cellpadding="0" cellspacing="0"
 
{| 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.
+
| &nbsp; || Something's wrong, but I don't know what. Maybe you can sort it out.
 
|}
 
|}
  
Line 63: Line 63:
  
 
{| class="mbox warning" border="0" cellpadding="0" cellspacing="0"
 
{| class="mbox warning" border="0" cellpadding="0" cellspacing="0"
| <nowiki> </nowiki> || You are viewing a system warning message.
+
| &nbsp; || You are viewing a system warning message.
 
|}
 
|}
  
Line 70: Line 70:
  
 
{| class="mbox protect" border="0" cellpadding="0" cellspacing="0"
 
{| class="mbox protect" border="0" cellpadding="0" cellspacing="0"
| <nowiki> </nowiki> || This message indicates something about protection.
+
| &nbsp; || This message indicates something about protection.
 
|}
 
|}
  

Revision as of 20:44, 23 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
    • warning
    • protect
    • 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.


{{mbox|class=warning|You are viewing a system warning message.}}
  You are viewing a system warning message.


{{mbox|class=protect|This message indicates something about protection.}}
  This message indicates something about protection.