« Widget:Mbox/core Voir l’historique

(Kentsmith9 moved page Zoom to Zoom (disambiguation))
 
m (fixed flag)
Ligne 1 : Ligne 1 :
#REDIRECT [[Zoom (disambiguation)]]
<table style="
  border: 1px solid rgb(170, 170, 170);
  margin: 4px 5%;
  border-collapse: collapse;
  background: none repeat scroll 0% 0% rgb(249, 249, 249);
{{{style|}}}">
<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 style="
  border: medium none;
  padding: 2px 0px 2px 0.9em;
  text-align: center;
">{{
  #switch:{{{small|}}}
  | left = <!-- Don't use the DIV -->
  | #default = <div style="width: {{{imagewidth||52px}}};">
  }}
  {{#if: {{{image|}}}
  | {{{image}}}
  | [[File:{{#if: {{{filename|}}} | {{{filename}}} | {{#switch:{{{type|}}}
    | critical    = Mbox warning.png
    | warning      = mbox warning yellow.png
    | important    = Mbox important.png
    | flag            <!-- flag = caution -->
    | caution      = Mbox caution.png
    | speculation  = Mbox speculation.png
    | move        = Mbox move.png
    | protection  = Mbox protection.png
    | license      = Mbox license.png
    | 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 -->
    | note      <!-- note = default -->
    | #default    = Mbox information.png
    }} }} | {{#switch:{{{small|}}}
      | left = 20x20px
      | #default = 40x40px
      }} |link=|alt=]]
  }}{{#switch:{{{small|}}}
  | left = <!-- Don't use the /DIV -->
  | #default = </div>
  }}</td>
}}
<td style="
  width: 100%;
  border: medium none;
  padding: 0.25em 0.9em;
{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
  | <!-- No image. -->
  | <td class="mbox-imageright">{{#switch:{{{small|}}}
    | left = {{{imageright}}}
    | #default = <div style="width: {{{imagerightwidth|52px}}};"> {{{imageright}}} </div>
    }}</td>
  }}
}}
</tr>
</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>

Version du 24 mai 2017 à 16:53

{{{text}}}
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.