mNo edit summary
mNo edit summary
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="{{{style|}}}" class="noprint plainlinks mbox {{#switch:{{{type|}}}
<table style="background-color: {{{background-color|}}}; border-color: {{{border-color|}}}; {{{style|}}}" class="noprint plainlinks mbox {{#switch:{{{type|}}}
   | protection = mbox-protection
   | protection = mbox-protection
   | serious    = mbox-serious
   | serious    = mbox-serious
Line 28: Line 28:
   }}
   }}
}}</td>
}}</td>
<td class="mbox-text"><div class="mbox-text-div">{{#if:{{{head|{{{2|}}}}}}|<strong>{{{head|{{{1}}}}}}</strong>{{#if:{{{body|{{{text|{{{2|}}}}}}}}}|<div class="hide-when-compact">{{{body|{{{text|{{{2}}}}}}}}}</div>}}|{{{body|{{{text|{{{1}}}}}}}}}}}</div>{{#if:{{{foot|}}}|<div class="hide-when-compact"><small>{{{foot}}}</small></div>}}</td>
<td class="mbox-text"><div class="mbox-text-div">{{#if:{{{headline|{{{head|{{{2|}}}}}}}}}|<strong>{{{headline|{{{head|{{{1}}}}}}}}}</strong>{{#if:{{{content|{{{text|{{{body|{{{2|}}}}}}}}}}}}|<span class="mbox-tap">Tap for more</span><div class="hide-when-compact">{{{content|{{{text|{{{body|{{{2}}}}}}}}}}}}</div>}}|{{{content|{{{text|{{{body|{{{1}}}}}}}}}}}}}}</div>{{#if:{{{foot|}}}|<div class="hide-when-compact"><small>{{{foot}}}</small></div>}}</td>
</tr>
</tr>
</table><templatestyles src="Mbox/styles.css" /><noinclude>{{Documentation}}</noinclude>
</table><templatestyles src="Mbox/styles.css" /><noinclude>{{Documentation}}</noinclude>

Revision as of 13:57, 13 September 2020

Page Template:Mbox/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").

Template documentation

Create

Cookies help us deliver our services. By using our services, you agree to our use of cookies.