mNo edit summary |
m (3 revisions imported from india:Template:Mbox/core: to import templates) |
||
(25 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<table | <table style=" | ||
border: 1px solid rgb(170, 170, 170); | border: 1px solid rgb(170, 170, 170); | ||
margin: 4px | margin: 4px 5%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
background: none repeat scroll 0% 0% rgb(249, 249, 249); | background: none repeat scroll 0% 0% rgb(249, 249, 249); | ||
}}}"> | {{{style|}}}"> | ||
<tr> | <tr> | ||
{{#switch:{{{image|}}} | {{#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. --> | | none = <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | ||
| #default = | | #default = | ||
<td | <td style=" | ||
border: medium none; | |||
padding: 2px 0px 2px 0.9em; | |||
text-align: center; | |||
">{{ | |||
#switch:{{{small|}}} | #switch:{{{small|}}} | ||
| left = <!-- Don't use the DIV --> | | left = <!-- Don't use the DIV --> | ||
Line 34: | Line 21: | ||
| {{{image}}} | | {{{image}}} | ||
| [[File:{{#if: {{{filename|}}} | {{{filename}}} | {{#switch:{{{type|}}} | | [[File:{{#if: {{{filename|}}} | {{{filename}}} | {{#switch:{{{type|}}} | ||
| critical | | critical = Mbox warning.png | ||
| important | | warning = mbox warning yellow.png | ||
| | | important = Mbox important.png | ||
| | | caution = Mbox caution.png | ||
| move | | speculation = Mbox speculation.png | ||
| protection = | | move = Mbox move.png | ||
| license = | | protection = Mbox protection.png | ||
| notice | | license = Mbox license.png | ||
| #default | | construction = Mbox construction yellow.png | ||
| neweditor = Mbox new editor.png | |||
| mail = Mbox mail.png | |||
| forum = Gnome-system-users.svg.png | |||
| cleanup = Edit-clear.png | |||
| wiki = wikitext.png | |||
| notice <!-- notice = default --> | |||
| #default = Mbox information.png | |||
}} }} | {{#switch:{{{small|}}} | }} }} | {{#switch:{{{small|}}} | ||
| left = 20x20px | | left = 20x20px | ||
Line 52: | Line 46: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td | <td style=" | ||
width: 100%; | |||
border: medium none; | |||
padding: 0.25em 0.9em; | |||
{{{textstyle|}}}"> {{{text}}} </td> | |||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none | ||
Line 64: | Line 62: | ||
</tr> | </tr> | ||
</table><noinclude> | </table><noinclude> | ||
{{ | |||
<!-- | {{Documentation|content=This subtemplate supports the default values of {{tl|Mbox}}. It should not be altered without review from a Wiki Expert. Contact one through the [http://www.waze.com/forum/viewforum.php?f=276 Wiki Updates and Discussion forum.]}} | ||
<!-- This category is only for the template itself --> | |||
[[Category:Template:Mbox]] | |||
</noinclude> | </noinclude> |
Latest revision as of 14:05, 17 May 2020
{{{text}}} |
Template documentation
This subtemplate supports the default values of {{Mbox}}. It should not be altered without review from a Wiki Expert. Contact one through the Wiki Updates and Discussion forum.
Subpages of this template. |