Difference between revisions of "Template:Mbox"

From Krafties
Jump to navigation Jump to search
m
m (Undo revision 14677 by MyraMidnight (talk))
Line 1: Line 1:
<onlyinclude>{{Message box
+
<onlyinclude>{| class="messagebox {{#switch:{{{type|}}}
|small = {{{small|}}}
+
| serious  = ambox-serious
|image = {{#if:{{{image|}}}|[[Image:{{{image}}}|45px]]|none}}
+
| content  = ambox-content
|smallimage = {{#if:{{{image|}}}|[[Image:{{{image}}}|30px]]|none}}
+
| style    = ambox-style
|text  = {{{text|{{{1|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.}}}}}}
+
| merge    = ambox-merge
}}</onlyinclude>
+
| notice  = ambox-notice
 +
| protect  = ambox-protection
 +
| #default =
 +
}}"
 +
|-
 +
| class="mbox-image" | <includeonly>{{{image|}}}</includeonly><noinclude>Image</noinclude>
 +
| class="mbox-text" | <includeonly>{{{text}}}</includeonly><noinclude>Some text</noinclude>
 +
|}</onlyinclude>
  
{|{{Template Explanation}}
 
:<code>| small = </code>
 
:<code>| image =</code>
 
:<code>| smallimage = </code>
 
:<code>| text = </code>
 
  
|}
+
{{Documentation}}

Revision as of 09:33, 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>