Difference between revisions of "Šablóna:Mbox/core"

From Wazeopedia
(Added Mail type)
(Create redirect)
Line 1: Line 1:
<table style="
+
#REDIRECT [[Template:About Waze]]
  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>
 
 
 
{{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>
 

Revision as of 17:11, 9 June 2014

Presmerovať na: