Template:Mbox: Difference between revisions
No edit summary |
Tag: Undo |
||
Line 1: | Line 1: | ||
<div class="mw-message-box-{{{type}}} mw-message-box"> | |||
<strong>{{{title}}}</strong><br> | |||
{{{text}}} | |||
</div> | |||
<noinclude> | |||
todo: use #if | |||
<div class="{{#if:{{{type|}}}|mw-message-box-{{{type}}}|}} mw-message-box"> | <div class="{{#if:{{{type|}}}|mw-message-box-{{{type}}}|}} mw-message-box"> | ||
{{#if:{{{title|}}}|<strong>{{{title}}}</strong><br>|}} | {{#if:{{{title|}}}|<strong>{{{title}}}</strong><br>|}} | ||
{{{text}}} | {{{text}}} | ||
</div> | </div> | ||
</noinclude> |
Latest revision as of 22:33, 24 December 2023
todo: use #if