Template:Mbox/core: Difference between revisions
From TomWiki
Jump to navigationJump to search
(Created page with "<table class="metadata plainlinks mbox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = | critical = mbox-critical | delete | important ...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
| protection = mbox-protection | | protection = mbox-protection | ||
| notice | | notice | ||
| #default = | | #default = mbox-caution | ||
}}" style="{{{style|}}}"> | }}" style="margin-left: 10%; margin-right: 10%; {{{style|}}}"> | ||
<tr> | <tr> | ||
{{#switch:{{{image|}}} | {{#switch:{{{image|}}} | ||
Line 31: | Line 31: | ||
| important = Ambox deletion.png | | important = Ambox deletion.png | ||
| warning = Ambox content.png | | warning = Ambox content.png | ||
| caution = | | caution = Cleanup.png | ||
| move = Ambox move.png | | move = Ambox move.png | ||
| protection = Ambox protection.png | | protection = Ambox protection.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = | | #default = Cleanup.png | ||
}} | {{#switch:{{{small|}}} | }} | {{#switch:{{{small|}}} | ||
| left = 20x20px | | left = 20x20px | ||
Line 45: | Line 45: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | <td class="mbox-text" style="width: 100%; {{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none |
Latest revision as of 15:18, 5 July 2011
{{#switch:
| none =
| #default =
}}{{#if: | {{#ifeq:|none
|| }} }}
{{
#switch: | left =| #default = }} {{#if: | {{{image}}} | [[File:{{#switch: | critical = Ambox speedy deletion.png | important = Ambox deletion.png | warning = Ambox content.png | caution = Cleanup.png | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Cleanup.png }} | {{#switch: | left = 20x20px | #default = 40x40px }} |link=|alt=]] }}{{#switch: | left =| #default = | {{{text}}} | {{#switch:
| left = {{{imageright}}}| #default = {{{imageright}}}
}} |