Difference between revisions of "Template:Mbox"

From Krafties
Jump to navigation Jump to search
m
m (Protected "Template:Mbox" (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{| class="messagebox {{#switch:{{{type|}}}
+
<onlyinclude>{| class="messagebox {{{class|}}}"
| serious  = ambox-serious
 
| content  = ambox-content
 
| style    = ambox-style
 
| merge    = ambox-merge
 
| notice  = ambox-notice
 
| #default = ambox-notice
 
}}"
 
 
|-
 
|-
 
| class="mbox-image" | <includeonly>{{{image|}}}</includeonly><noinclude>Image</noinclude>
 
| class="mbox-image" | <includeonly>{{{image|}}}</includeonly><noinclude>Image</noinclude>
Line 13: Line 6:
  
  
{|{{Template Explanation}}
+
{{Documentation}}
{| class="ambox-notice"
 
|blah
 
|content
 
|}
 
<pre>{{Mbox
 
| demospace = {{{demospace|}}} / main / talk / file / category / other
 
| type  = speedy / delete / content / style / notice / move / protection
 
| image = none / [[File:Some image.svg|40px]]
 
| imageright = [[File:Some image.svg|40px]]
 
| style = CSS values
 
| textstyle  = CSS values
 
| text  = The message body text.
 
| small = {{{small|}}} / left / yes
 
| smallimage = none / [[File:Some image.svg|30px]]
 
| smallimageright = none / [[File:Some image.svg|30px]]
 
| smalltext  = A shorter message body text.
 
| plainlinks = no
 
}}
 
</pre>
 
 
 
 
 
<!---- END ---->
 
|}
 

Latest revision as of 08:42, 2 May 2017

Image Some text


Documentation icon Template documentation ( view · talk · edit)

You can use

  • image=
  • text=
  • type= serious, content, style, merge, notice, protect

Type

| serious  = ambox-serious
| content  = ambox-content
| style    = ambox-style
| merge    = ambox-merge
| notice   = ambox-notice
| protect  = ambox-protection
The above documentation is transcluded from Template:Mbox/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>