Difference between revisions of "Template:Message box"
Jump to navigation
Jump to search
m |
m (Added possibility for "small" message box.) |
||
Line 1: | Line 1: | ||
{| class="message-box message-box-{{{type|notice}}}" | {| class="message-box message-box-{{{type|notice}}}{{#switch:{{{size|}}}|small= message-box-small}}" | ||
| class="message-box-image" | [[File:{{{image|Message-box {{{type|notice}}}.png}}}|40px]] | | class="message-box-image" | [[File:{{{image|Message-box {{{type|notice}}}.png}}}|{{#switch:{{{size|}}}|small=20px|=40px}}]] | ||
| class="message-box-text" | <div class="message-box-header">{{{header|<noinclude>This is the header of a message box.</noinclude>}}}</div> | | class="message-box-text" | <div class="message-box-header">{{{header|<noinclude>This is the header of a message box.</noinclude>}}}</div> | ||
<div class="message-box-content">{{{content|<noinclude>This is the description of the message box, to describe to the reader why this box is exactly here and what to expect.</noinclude>}}}</div> | <div class="message-box-content">{{{content|<noinclude>This is the description of the message box, to describe to the reader why this box is exactly here and what to expect.</noinclude>}}}</div> | ||
|} | |} |