Difference between revisions of "Template:Ambox/core"
Jump to navigation
Jump to search
blackwiki>Happy-melon (hardcoded small styles) |
blackwiki>Happy-melon (image sizing) |
||
| Line 19: | Line 19: | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->{{td}} | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->{{td}} | ||
| − | | <td class="mbox-image"> | + | | <td class="mbox-image">{{#switch: {{{small|}}} | left=<!--nothing--> | <div style="width:52px;"> }} |
| − | + | {{#if:{{{image|}}} | |
| − | + | | {{{image}}} | |
| − | + | | [[Image:{{#switch:{{{type|}}} | |
| − | + | | speedy = Ambox speedy deletion.png | |
| − | + | | delete = Ambox deletion.png | |
| − | + | | content = Ambox content.png | |
| − | + | | style = Ambox style.png | |
| − | + | | move = Ambox move.png | |
| − | + | | protection = Ambox protection.png | |
| − | + | | notice <!-- notice = default --> | |
| − | + | | #default = Ambox notice.png | |
| − | + | }} | {{#switch: {{{small|}}} | left=20x20px | 40x40px }} ]] | |
| − | + | }}{{#switch: {{{small|}}} | left=<!--nothing--> | </div> }}</td> | |
| − | |||
| − | |||
| − | |||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
Revision as of 17:26, 10 March 2009
|
|
{{{text}}} |
| Template:Ambox/core is deprecated. Please use Template:Ambox instead. |
This is the former sub-template of {{Ambox}}.
| The above documentation is transcluded from Template:Ambox/core/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |