Template:Mbox/core View history

mNo edit summary
mNo edit summary
Line 26: Line 26:
| 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 class="mbox-image">{{
   <td class="mbox-image" 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 52: Line 56:
   }}</td>
   }}</td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="{{{textstyle|
  width: 100%;
  border: medium none;
  padding: 0.25em 0.9em;
}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none

Revision as of 01:04, 17 November 2013

Documentation icon Template documentation[create]