Template:Tmbox: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Dispenser Changed design based off of Wikipedia:Deletion message boxes by User:Edokter |
meta>Davidgothberg m Code derived from imbox, updated to standardised talk page brown style, trying the darker grey border other boxes uses on the move type. This code is NOT ready, but is a basis for discussion. |
||
Line 1: | Line 1: | ||
<table class=" | <table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #f8eaba; border: 1px solid #c0c090; | ||
{{#switch:{{{type|}}} | |||
| speedy = border: 1px solid #c0c090; | |||
| delete = border: 1px solid #c0c090; | |||
| content = border: 1px solid #c0c090; | |||
| style = border: 1px solid #c0c090; | |||
| move = border: 1px solid #aaa; | |||
| protection = border: 1px solid #c0c090; | |||
| notice | |||
| #default = border: 1px solid #c0c090; | |||
}} {{{style|}}}"> | |||
<tr> | <tr> | ||
{{ | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | |||
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;"> | |||
{{#if:{{{image|}}} | |||
| {{{image}}} | |||
| | | {{#switch:{{{type|}}} | ||
| | | speedy = [[Image:Imbox speedy 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]] | ||
| #default = | | protection = [[Image:Imbox protection.png|40x40px]] | ||
| notice <!-- notice = default --> | |||
| #default = [[Image:Imbox notice.png|40x40px]] | |||
}} | |||
}}</td> | }}</td> | ||
}} | }} | ||
<td | <td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td> | ||
{{ | {{#if:{{{imageright|}}} | ||
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td> | |||
}} | }} | ||
</tr> | </tr> | ||
</table><noinclude> | </table><noinclude> | ||
{{ | |||
<!-- {{pp-template|small=yes}} --> | |||
{{Documentation}} | |||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 03:10, 30 May 2008
File:Imbox notice.png | {{{text}}} |