|
|
(9 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | | <table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} |
| | speedy = tmbox-speedy | | | speedy = border: 2px solid #b22222; background: #fee; <!--tmbox-speedy--> |
| | delete = tmbox-delete | | | delete = border: 2px solid #b22222; <!--tmbox-delete--> |
| | content = tmbox-content | | | content = border: 2px solid #f28500; <!--tmbox-content--> |
| | style = tmbox-style | | | style = border: 2px solid #f4c430; <!--tmbox-style--> |
| | move = tmbox-move | | | move = border: 2px solid #9932cc; <!--tmbox-move--> |
| | protection = tmbox-protection | | | protection = border: 1px solid #c0c090; <!--tmbox-protection--> |
| | notice <!-- notice = default --> | | | notice <!-- notice = default --> |
| | #default = tmbox-notice | | | #default = border: 1px solid #c0c090; <!--tmbox-notice--> |
| }} {{{class|}}}" style="{{{style|}}}"> | | }} {{{class|}}}" style="{{grey border}} {{{style|}}}"> |
| <tr> | | <tr> |
| {{#ifeq:{{{image|}}}|none | | {{#ifeq:{{{image|}}}|none |
| | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td> | | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td> |
| | <td class="mbox-image"> | | | <td class="mbox-image" style="vertical-align:middle"> |
| {{#if:{{{image|}}} | | {{#if:{{{image|}}} |
| | {{{image}}} | | | {{{image}}} |
| | [[Image:{{#switch:{{{type|}}} | | | [[Image:{{#switch:{{{type|}}} |
| | speedy = Imbox speedy deletion.png | | | speedy = Imbox speedy deletion.png |
| | delete = Imbox deletion.png | | | delete = Delete.png |
| | content = Imbox content.png | | | content = Imbox content.png |
| | style = Imbox style.png | | | style = Broom icon.png |
| | move = Imbox move.png | | | move = ArrowGreen.svg.png |
| | protection = Imbox protection.png | | | protection = Padlock.png |
| | notice <!-- notice = default --> | | | notice <!-- notice = default --> |
| | #default = Information icon.png | | | #default = Information icon.png |
Line 27: |
Line 27: |
| }}</td> | | }}</td> |
| }} | | }} |
| <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | | <td class="mbox-text" style="margin-bottom:0px; {{{textstyle|}}}"> {{{text}}} </td> |
| {{#if:{{{imageright|}}} | | {{#if:{{{imageright|}}} |
| | {{#ifeq:{{{imageright|}}}|none | | | {{#ifeq:{{{imageright|}}}|none |
Line 46: |
Line 46: |
| | notice = <!-- Do nothing, valid "type" --> | | | notice = <!-- Do nothing, valid "type" --> |
| | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> |
| }}<noinclude> | | }}<noinclude>{{documentation}}[[Category:Templates]]<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> |
| | |
| {{documentation}} | |
| <!-- Add categories and interwikis to the /doc subpage, not here! --> | |
| </noinclude> | |