Editing Template:Ambox

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<table class="messagebox plainlinks layouttemplate {{{lang|}}} {{{class|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}" dir="{{dir|{{{lang|}}}}}"}} style="margin:2px {{#if:{{{margin|}}}|{{{margin|}}}|{{#if:{{{width|}}}|auto|10%}}}};width:{{#if:{{{width|}}}|{{{width|}}}|auto}};{{#switch:{{{type|}}}
<table style="margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; background: #fbfbfb;">
  |warning |speedy      = border:2px solid #b22222;background:#ffdbdb;
<tr>
  |serious |delete |stop = border:2px solid #b22222;
    <td class="mbox-image">{{#if: {{{icon|}}}|[[File:{{{icon}}}|54px]]|}}</td>
  |issue |content        = border:2px solid #f28500;background:#ffe;<!--warn-->
    <td class="mbox-text">{{{text}}}{{#if: {{{text-small|}}}|<br><small>{{{text-small}}}</small>|}}</td>
  |query |style          = border:2px solid #f4c430;background:#ffe;<!--cleanup-->
</tr>
  |shit                  = border:2px solid #960;
</table>
  |license              = border:2px solid #88a;
<noinclude>
  |legal                = border:2px solid #666;background:#fff;
== Usage ==
  |honor                = border:2px solid #ca3;background:#fcf4db;
<pre>
  |growth                = border:2px solid #8d4;background:#f5fff5;<!--alt-->
{{ambox
  |move                  = border:2px solid #93c;
|icon=
  |protection |message  = border:2px solid #aaa;<!--none-->
|text=
  |notice |#default      = border:2px solid #48d;background:#fbfcff;<!--info-->
|text-small=
  }}color:#222;border-{{Dir|{{{lang|}}}|right|left}}-width:8px;border-collapse:collapse;{{{style|}}}"><tr>
}}
{{#ifeq:{{{image|}}}|none
</pre>
| <td class="mbox-empty-cell"></td><!--No image. Cell with some width or padding necessary for text cell to have 100% width.-->
| <td class="mbox-image" style="padding-{{Dir|{{{lang|}}}|right|left}}:.9em">{{#if:{{{image|}}}
  | {{{image|}}}
  | [[File:{{#switch:{{{type|}}}
    |warning          = Commons-emblem-late
    |speedy          = Commons-emblem-urgent
    |serious |delete  = Gnome-emblem-important
    |stop            = Commons-emblem-hand
    |move            = Go-next-purple
    |issue |content  = Commons-emblem-issue
    |query            = Commons-emblem-query
    |style            = Gnome-edit-clear
    |shit            = OpenMoji-color 1F4A9
    |license          = Commons-emblem-copyright
    |legal            = Commons-emblem-legal
    |honor            = Gnome-help-about
    |growth          = Dialog-apply
    |protection      = Gnome-security-medium
    |message          = Tango-style info icon
    |notice |#default = Commons-emblem-notice
    }}.svg|45x45px|class=noviewer|{{#ifeq:{{NAMESPACE}}|Template||link=}}]]
  }}</td>
}}<td class="mbox-text" {{#if:{{{textstyle|}}} | style="{{{textstyle|}}}" }}>{{{text|}}}</td>{{#if:{{{imageright|}}}
| <td class="mbox-imageright">{{{imageright|}}}</td>
}}</tr></table><!--
Most templates made based on this template do not comply with [[Help:Authoring a license-template]]
-->{{#ifeq:{{{type|}}}|license|[[Category:Licensing templates based on Mbox]]}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · Special:MyLanguage/ · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight lang="php"></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar name=1></tvar> · {{DEFAULTSORT:}} · <s></s>