Modifications

Aller à : navigation, rechercher

Modèle:Mbox/core

1 952 octets ajoutés, 9 août 2014 à 18:54
Page créée avec « <table style=font-size: 100%; class="metadata plainlinks mbox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = | critical = mbox-... »
<table style=font-size: 100%; class="metadata plainlinks mbox {{#switch:{{{small|}}}
| left = mbox-small-left
}} {{#switch:{{{type|}}}
| speedy =
| critical = mbox-critical
| delete
| important = mbox-important
| warning
| content = mbox-warning
| caution
| style = mbox-caution
| notice = mbox-notice
| move = mbox-move
| protection = mbox-protection
| notice
| #default = <!-- no type colours -->
}}" style="{{{style|border-collapse: collapse;margin: 4px 10%;border: 1px solid rgb(170, 170, 170);background: none repeat scroll 0% 0% rgb(249, 249, 249);}}}">
<tr>
{{#switch:{{{image|}}}
| none = <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| #default =
<td class="mbox-image">{{
#switch:{{{small|}}}
| left = <!-- Don't use the DIV -->
| #default = <div style="width: 52px;">
}}
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| critical = Ambox speedy deletion.png
| important = Ambox deletion.png
| warning = Ambox content.png
| caution = Edit-clear.svg
| move = Ambox move.png
| protection = Ambox protection.png
| notice <!-- notice = default -->
| #default = Ambox notice.png
}} | {{#switch:{{{small|}}}
| left = 20x20px
| #default = 40x40px
}} |link=|alt=]]
}}{{#switch:{{{small|}}}
| left = <!-- Don't use the /DIV -->
| #default = </div>
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright">{{#switch:{{{small|}}}
| left = {{{imageright}}}
| #default = <div style="width: 52px;"> {{{imageright}}} </div>
}}</td>
}}
}}
</tr>
</table><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Menu de navigation