Difference between revisions of "Template:Ambox"

From Pandora Wiki
Jump to: navigation, search
(workaround for no images)
(no images)
Line 27: Line 27:
 
}}
 
}}
 
<td class="mbox-text" style="{{{textstyle|}}} border: none;padding: 0.25em 0.9em;width: 100%;text-align: center;"> {{{text}}} </td>
 
<td class="mbox-text" style="{{{textstyle|}}} border: none;padding: 0.25em 0.9em;width: 100%;text-align: center;"> {{{text}}} </td>
{{#if:{{{imageright|}}}
 
| {{#ifeq:{{{imageright|}}}|none
 
  | <!-- No image. -->
 
  | <td class="mbox-imageright" style="border: none;padding: 2px 0.9em 2px 0;text-align: center;">{{#switch:{{{small|}}}
 
    | left = {{{imageright}}}
 
    | #default = <div style="width: 52px;"> {{{imageright}}} </div>
 
    }}</td>
 
  }}
 
}}
 
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 12:47, 22 April 2011


[create] 50px Template documentation