« Modèle:Mbox/core Voir l’historique

(added turn icons)
(Added Mail type)
Ligne 1 : Ligne 1 :
'''Icon''' links directly to:
<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
    | 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
    | mail        = Mbox mail.png
    | cleanup      = Edit-clear.png
    | notice      <!-- notice = 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>


* [[Waze symbols]], client app icons for alert, moods (other drivers), ranks, and candy
{{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 -->


'''Icon''' may also refer to:
[[Category:Template:Mbox]]


* Forum icon, (or [[Your_Rank_and_Points#Forum_badges|Forum badge]]) appears in right pane of an editor's forum post
</noinclude>
* Park icon, (or [[Nearing_destination|parking pin]] to mark the location of your vehicle
* [[Map_Editing_Quick-start_Guide#Turn icons|Turn icon]], the turn indicators in the Waze Map Editor
 
{{Disambig}}

Version du 15 mai 2014 à 19:59

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