Template:Mbox: Difference between revisions

Template page
(new {{{class}}} parameter to set custom CSS classes for the whole box—particularly useful when using TemplateStyles)
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 12:26, 19 April 2024

Template documentationcreate · purge ]
This documentation is transcluded from Template:Mbox/doc.