Difference between revisions of "Template:Mbox"

From floramisa designs
Jump to: navigation, search
m (1 revision imported)
 
m
Line 1: Line 1:
{{#invoke:Message box|mbox}}<noinclude>
+
<table class="messagebox plainlinks layouttemplate" style="border-collapse:collapse; border-width:2px; border-style:solid; width:{{{width|100%}}}; clear: both;
 +
{{#switch:{{{type|}}}
 +
| speedy
 +
| warning = border-color:#b22222; background:#ffdbdb;
 +
| serious
 +
| stop
 +
| delete = border-color:#b22222;
 +
| content
 +
| issue = border-color:#f28500; background:#ffe; <!-- warn -->
 +
| query
 +
| style = border-color:#f4c430; background:#ffe; <!-- cleanup -->
 +
| license = border-color:#88a;
 +
| legal = border-color:#666; background:#fff;
 +
| honor = border-color:#ca3; background:#fcf4db;
 +
| growth = border-color:#8d4; background:#f5fff5; <!-- alt-->
 +
| move = border-color:#93c;
 +
| protection =
 +
| message = border-width:1px; <!-- none-->
 +
| notice
 +
| #default = border-color:#48d; background:#fbfcff; <!-- info -->
 +
}}direction:{{Dir|{{{lang|}}}}}; border-left-width: 8px; {{{style|}}}">
 +
<tr>
 +
{{#ifeq:{{{image|}}}|none
 +
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
 +
| <td class="mbox-image" style="padding-{{#ifeq:{{Dir|{{{lang|}}}}}|rtl|right|left}}:.9em;">
 +
{{#if:{{{image|}}}
 +
| {{{image}}}
 +
| {{#switch:{{{type|}}}
 +
| speedy
 +
| warning = [[File:Commons-emblem-urgent.svg|class=noviewer|45px]]
 +
| serious
 +
| delete = [[File:Gnome-emblem-important.svg|class=noviewer|45px]]
 +
| content
 +
| issue = [[File:Commons-emblem-issue.svg|class=noviewer|45px]]
 +
| query = [[File:Commons-emblem-query.svg|class=noviewer|45px]]
 +
| style = [[File:Gnome-edit-clear.svg|class=noviewer|45px]]
 +
| license = [[File:Commons-emblem-copyright.svg|class=noviewer|45px]]
 +
| legal = [[File:Commons-emblem-legal.svg|class=noviewer|45px]]
 +
| honor = [[File:Gnome-help-about.svg|class=noviewer|45px]]
 +
| growth = [[File:Dialog-apply.svg|class=noviewer|45px]]
 +
| move = [[File:Go-next-purple.svg|class=noviewer|45px]]
 +
| protection = [[File:Gnome-security-medium.svg|class=noviewer|45px]]
 +
| message = [[File:Tango-style info icon.svg|link=|38px]]
 +
| stop = [[File:Stop hand icon.svg|40px]]
 +
| notice
 +
| #default = [[File:Commons-emblem-notice.svg|class=noviewer|45px]]
 +
}}
 +
}}</td>
 +
}}
 +
<td class="mbox-text" 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>
 +
{{Pp-template}}
 
{{documentation}}
 
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
 
</noinclude>
 
</noinclude>

Revision as of 11:01, 25 January 2017

Template:Pp-template Lua error: Internal error: The interpreter has terminated with signal "127".