Template:Ambox: Difference between revisions
Appearance
m Added `small` variable |
m Removed image if there is none when size is small |
||
| Line 1: | Line 1: | ||
<onlyinclude><table style="{{{style|}}}" class="darklinks ambox {{#if:{{{small|}}}|ambox-small}} {{#switch:{{{border|}}} | <onlyinclude><table style="{{{style|}}}" class="darklinks ambox {{#if: {{{small|}}}|ambox-small}} {{#switch:{{{border|}}} | ||
| orange = ambox-orange | | orange = ambox-orange | ||
| yellow = ambox-yellow | | yellow = ambox-yellow | ||
| Line 11: | Line 11: | ||
}}"> | }}"> | ||
<tr> | <tr> | ||
<td class="ambox-image">{{{image|[[File:InterdictMsgAlert.jpg|x80px]]}}}</td> | {{#if: !{{image|}}|{{#if: !{{{small|}}}||<td class="ambox-image">{{{image|[[File:InterdictMsgAlert.jpg|x80px]]}}}</td>}}}} | ||
<td style="color: black; padding: 0.25em 0.5em;">{{{type|}}} | <td style="color: black; padding: 0.25em 0.5em;">{{{type|}}} | ||
<div class="ambox-smalltext"> | <div class="ambox-smalltext"> | ||
{{{info|}}} | {{{info|}}} | ||
</div></td></tr></table><br></onlyinclude> | </div></td></tr></table><br></onlyinclude> | ||
{{Ambox|small=True|type=text|info=text}} | |||
{{documentation}} | {{documentation}} | ||
Revision as of 16:46, 15 June 2015
|
|
| text
text |
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:Ambox/doc" to edit its documentation if it is available. (How does this work?) |