Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) (that was a bad idea) Tag: Replaced |
Gaijinviking (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
:{{{contents}}} | <table class="plainlinks ambox {{#ifeq:{{{type|}}}|delete|ambox-delete|}} {{{class|}}}" style="{{{style|}}}"><tr> | ||
{{#if:{{{image|}}} | |||
|<!-- Image cell --><td class="ambox-image {{#ifeq:{{{type|}}}|notice|ambox-notice|ambox-{{{type|}}}}}">[[File:{{{image}}}{{!}}{{{imagewidth|56px}}}{{!}}{{{imagealt|}}}]]</td> | |||
|<!-- Blank cell if no image specified --><td class="ambox-empty-cell {{#ifeq:{{{type|}}}|notice|ambox-notice|ambox-{{{type|}}}}}"></td> | |||
}}<td class="ambox-text">{{{contents}}}</td> | |||
{{#if:{{{image2|}}} | |||
| <td class="ambox-image2">[[File:{{{image2}}}{{!}}{{{image2width|56px}}}{{!}}{{{image2alt|}}}]]</td> | |||
}} | |||
</tr></table><noinclude> | |||
</noinclude> |
Latest revision as of 04:45, 10 July 2022
{{{contents}}} |