|
|
(14 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <table style="background-color: {{{background-color|{{{background|}}}}}}; border-color: {{{border-color|{{{border|}}}}}}; {{{style|}}}" class="noprint plainlinks mbox {{#switch:{{{type|}}}
| | #REDIRECT [[Template:Notice]] |
| | protection = mbox-protection
| |
| | serious = mbox-serious
| |
| | content = mbox-content
| |
| | style = mbox-style
| |
| | merge = mbox-merge
| |
| | growth = mbox-growth
| |
| | notice = mbox-notice
| |
| | #default = mbox-notice
| |
| }} {{{class|}}}">
| |
| <tr>
| |
| <td class="mbox-image" width="40">
| |
| {{#ifeq:{{{image}}}|none
| |
| | <!-- Empty cell needed to keep proportions -->
| |
| | {{#switch:{{{image|{{{type|}}}}}}
| |
| | protection = [[File:Commons-emblem-padlock.svg|40px|link=|alt=]]
| |
| | serious = [[File:Commons-emblem-hand.svg|40px|link=|alt=]]
| |
| | content = [[File:Commons-emblem-issue.svg|40px|link=|alt=]]
| |
| | style = [[File:Commons-emblem-copyedit.svg|40px|link=|alt=]]
| |
| | merge = [[File:Commons-emblem-merge.svg|40px|link=|alt=]]
| |
| | growth = [[File:Commons-emblem-success.svg|40px|link=|alt=]]
| |
| | notice = [[File:Commons-emblem-notice.svg|40px|link=|alt=]]
| |
| | empty = [[File:No image.svg|link=|alt=]]
| |
| | #default = {{#if:{{{image|}}}|{{#ifexist:Media:{{{image}}}|
| |
| [[File:{{{image}}}|x40px|link=|alt=]]|{{{image}}}}}|
| |
| {{{image|[[File:Commons-emblem-notice.svg|40px|link=|alt=]]}}}
| |
| }}
| |
| }}
| |
| }}</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>
| |
| </table><templatestyles src="Mbox/styles.css" />{{#if:{{NAMESPACE}}||{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}}}<noinclude>{{Documentation}}</noinclude>
| |