Template:Ambox: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(Imported from TF2 Wiki)
 
(that was a bad idea)
Tag: Replaced
Line 1: Line 1:
<table class="plainlinks ambox {{#ifeq:{{{type|}}}|delete|ambox-delete|}} {{{class|}}}" style="{{{style|}}}"><tr>
:{{{contents}}}
  {{#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>

Revision as of 20:49, 13 April 2022

{{{contents}}}