Template:Cmbox: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg Starting out this category message box meta-template. |
meta>Davidgothberg Updating to new ambox code. |
||
Line 1: | Line 1: | ||
<table class="metadata plainlinks ambox | <table class="metadata plainlinks ambox | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| serious | | speedy = ambox-speedy <!-- Can be used from 19 May 2008 --> | ||
| content | | delete <!-- delete = serious --> | ||
| style | | serious = ambox-delete | ||
| merge | | content = ambox-content | ||
| notice | | style = ambox-style | ||
| #default = ambox-notice | | move <!-- move = merge --> | ||
| merge = ambox-merge <!-- We can't use ambox-move yet --> | |||
| protection = ambox-protection | |||
| notice = ambox-notice | |||
| #default = ambox-notice | |||
}}" style="border: 1px solid #aaa; background: #d2e8ff; {{{style|}}}"> | }}" style="border: 1px solid #aaa; background: #d2e8ff; {{{style|}}}"> | ||
<tr> | <tr> | ||
<td class="ambox-image"> | <td class="ambox-image"> | ||
{{#ifeq:{{{image}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- | | <!-- No image cell; empty cell necessary for text cell to have 100% width --> | ||
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | ||
| serious | | speedy = [[Image:Ambox deletion.png|40x40px]] | ||
| content | | delete | ||
| style | | serious = [[Image:Ambox deletion.png|40x40px]] | ||
| merge | | content = [[Image:Ambox content.png|40x40px]] | ||
| notice | | style = [[Image:Broom icon.svg|40x40px]] | ||
| blank | | move | ||
| #default = {{{image|[[Image: | | merge = [[Image:Merge-split-transwiki default.svg|40x40px]] | ||
| protection = [[Image:Padlock-silver-medium.svg|40x40px]] | |||
| notice = [[Image:Ambox notice.png|40x40px]] | |||
| blank = [[Image:No image.svg|40x40px]] | |||
| #default = {{{image|[[Image:Ambox notice.png|40x40px]]}}} | |||
}}</div> | }}</div> | ||
}}</td> | }}</td> | ||
<td class="ambox-text">{{{text}}}</td> | <td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td> | | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td> | ||
}} | }} | ||
</tr> | </tr> |
Revision as of 05:30, 29 April 2008
{{{text}}} |