Template:Mbox: Difference between revisions
From WWII Archives
(new {{{class}}} parameter to set custom CSS classes for the whole box—particularly useful when using TemplateStyles) |
Paul Sidle (talk | contribs) m (1 revision imported) |
||
(5 intermediate revisions by 3 users not shown) | |||
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; |
Latest revision as of 05:53, 31 May 2024
File:Test Template Info-Icon.svg Template documentation[ create · purge ]
This documentation is transcluded from Template:Mbox/doc.