|
|
(2 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <table class="plainlinks imbox
| | {{imbox |
| {{#switch:{{{type|}}}
| | | type = style |
| | speedy = imbox-speedy
| | | image = [[Image:Emblem-question-yellow.png|40px]] |
| | delete = imbox-delete | | | style = width: 400px; |
| | content = imbox-content
| | | textstyle = color: red; font-weight: bold; font-style: italic; |
| | style = imbox-style
| | | text = Cc-by-nc-sa-4.0 |
| | move = imbox-move | |
| | protection = imbox-protection
| |
| | license = imbox-license
| |
| | featured = imbox-featured
| |
| | notice <!-- notice = default -->
| |
| | #default = imbox-notice
| |
| }}" style="{{{style|}}}">
| |
| <tr>
| |
| {{#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>
| |
| | <td class="mbox-image">
| |
| {{#if:{{{image|}}}
| |
| | {{{image}}}
| |
| | {{#switch:{{{type|}}}
| |
| | speedy = [[Image:Imbox deletion.png|40x40px]]
| |
| | delete = [[Image:Imbox deletion.png|40x40px]]
| |
| | content = [[Image:Imbox content.png|40x40px]]
| |
| | style = [[Image:Imbox style.png|40x40px]]
| |
| | move = [[Image:Imbox move.png|40x40px]]
| |
| | protection = [[Image:Imbox protection.png|40x40px]]
| |
| | license = [[Image:Imbox license.png|40x40px]]
| |
| | featured = [[Image:Imbox featured.png|40x40px]]
| |
| | notice <!-- notice = default -->
| |
| | #default = [[Image:Imbox notice.png|40x40px]]
| |
| }}
| |
| }}</td>
| |
| }} | | }} |
| <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
| |
| {{#if:{{{imageright|}}}
| |
| | <td class="mbox-imageright"> {{{imageright}}} </td>
| |
| }}
| |
| </tr>
| |
| {{#if:{{{below|}}}
| |
| | <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
| |
| }}
| |
| </table><!-- Detect and report usage with faulty "type" parameter:
| |
| -->{{#switch:{{{type|}}}
| |
| | <!-- No type fed, is also valid input -->
| |
| | speedy
| |
| | delete
| |
| | content
| |
| | style
| |
| | move
| |
| | protection
| |
| | license
| |
| | featured
| |
| | 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:Lockwiki message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| |
| }}<!--
| |
|
| |
| -->
| |