Template:Mbox: Difference between revisions
Template page
More actions
new {{{class}}} parameter to set custom CSS classes for the whole box—particularly useful when using TemplateStyles |
|||
| 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|}}} | <templatestyles src="Mbox/styles.css" /><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|}}} | ||
|warning |speedy = border:2px solid #b22222;background:#ffdbdb; | |warning |speedy = border:2px solid #b22222;background:#ffdbdb; | ||
|serious |delete |stop = border:2px solid #b22222; | |serious |delete |stop = border:2px solid #b22222; | ||