|
|
Zeile 1: |
Zeile 1: |
| <table class="metadata plainlinks ambox | | <includeonly>{{#invoke:Message box|ambox}}</includeonly><noinclude>{{Dokumentation}}</noinclude> |
| {{#switch:{{{type|}}}
| |
| | schnell = ambox-speedy
| |
| | löschen = ambox-delete
| |
| | inhalt = ambox-content
| |
| | style = ambox-style
| |
| | verschieben = ambox-move
| |
| | schutz = ambox-protection
| |
| | notiz <!-- notice = default -->
| |
| | #default = ambox-notice
| |
| }}" style="{{{style|}}}">
| |
| <tr>
| |
| {{#ifeq:{{{bild|}}}|keins
| |
| | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
| |
| | <td class="mbox-image"><div style="width: 52px;">
| |
| {{#ifeq:{{{bild|}}}|leer
| |
| |
| |
| | {{#if:{{{bild|}}}
| |
| | {{{bild}}}
| |
| | {{#switch:{{{typ|}}}
| |
| | schnell = [[Bild:Ambox speedy deletion.png|40x40px]]
| |
| | löschen = [[Bild:Ambox deletion.png|40x40px]]
| |
| | inhalt = [[Bild:Ambox content.png|40x40px]]
| |
| | style = [[Bild:Ambox style.png|40x40px]]
| |
| | verschieben = [[Bild:Ambox move.png|40x40px]]
| |
| | schutz = [[Bild:Ambox protection.png|40x40px]]
| |
| | notiz <!-- notice = default -->
| |
| | #default = [[Bild:Ambox notice.png|40x40px]]
| |
| }}
| |
| }}
| |
| }}</div></td>
| |
| }}
| |
| <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
| |
| {{#if:{{{bildrechts|}}}
| |
| | <td class="mbox-imageright"><div style="width: 52px;"> {{{bildrechts}}} </div></td>
| |
| }}
| |
| </tr>
| |
| </table><!-- Detect and report usage with faulty "typ" parameter:
| |
| -->{{#switch:{{{typ|}}}
| |
| | <!-- No type fed, is also valid input -->
| |
| | schnell
| |
| | löschen
| |
| | inhalt
| |
| | style
| |
| | verschieben
| |
| | schutz
| |
| | notiz = <!-- Do nothing, valid "type" -->
| |
| | #default = <div style="text-align: center;">Diese Message Box nutzt einen invaliden "typ={{{typ|}}}" Parameter und muss gefixt werden.</div>[[Kategorie:{{SITENAME}} Message Box Parameter muss gefixt werden|{{main other|Main:}}{{FULLPAGENAME}}]]
| |
| }}<noinclude>
| |
| {{Dokumentation}} | |
| [[Kategorie:Vorlage:Boxen und Bausteine]]
| |
| [[Kategorie:WiiDatabase Wiki:Project Refresh]]
| |
| </noinclude> | |