Difference between revisions of "Template:Mbox"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly><table class="mbox {{
+
<includeonly>
 +
<table class="mbox {{
 
#switch: {{lc:{{{class|}}}}}
 
#switch: {{lc:{{{class|}}}}}
 
| cleanup
 
| cleanup

Revision as of 01:27, 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.