Vorlage:Cmbox: Unterschied zwischen den Versionen
Changing to using the cmbox CSS classes in MediaWiki:Common.css. Their 30 day caching time has passed. (Tested in /sandbox.)
imported>Davidgothberg (Removed "metadata" class, since that stops printing but cmboxes should be printed. See Template talk:Imbox#Metadata class.) |
imported>Davidgothberg (Changing to using the cmbox CSS classes in MediaWiki:Common.css. Their 30 day caching time has passed. (Tested in /sandbox.)) |
||
Zeile 1: | Zeile 1: | ||
<table class="plainlinks | <table class="plainlinks cmbox | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| speedy = | | speedy = cmbox-speedy | ||
| delete = | | delete = cmbox-delete | ||
| content = | | content = cmbox-content | ||
| style = | | style = cmbox-style | ||
| move = | | move = cmbox-move | ||
| protection = | | protection = cmbox-protection | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = | | #default = cmbox-notice | ||
}} {{{style|}}}"> | }}" style="{{{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 style="border: none; padding: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | ||
| <td | | <td class="cmbox-image"><div style="width: 52px;"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
Zeile 28: | Zeile 28: | ||
}}</div></td> | }}</div></td> | ||
}} | }} | ||
<td style=" | <td class="cmbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td | | <td class="cmbox-imageright"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> |