Difference between revisions of "Template:Ambox"

From OMORI Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<table class="plainlinks ambox theme-generic-light theme-generic-border {{{class|}}}" style="{{{style|}}}"><tr>
<table class="plainlinks ambox theme-generic-light theme-generic-border {{{class|}}}" style="border-radius:4px;{{{style|}}}"><tr>
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
     |<!-- Image cell --><td class="ambox-image ambox-divider">[[File:{{{image}}}{{!}}{{{imagewidth|56px}}}{{!}}{{{imagealt|}}}]]</td>
     |<!-- Image cell --><td class="ambox-image ambox-divider">[[File:{{{image}}}{{!}}{{{imagewidth|56px}}}{{!}}{{{imagealt|}}}]]</td>
     |<!-- Blank cell if no image specified --><td class="ambox-empty-cell"></td>
     |<!-- Blank cell if no image specified --><td class="ambox-empty-cell"></td>
   }}<td class="ambox-text" style="font-size:16px;">{{{contents}}}</td>
   }}<td class="ambox-text" style="font-size:14px;">{{{contents}}}</td>
   {{#if:{{{image2|}}}
   {{#if:{{{image2|}}}
     | <td class="ambox-image2">[[File:{{{image2}}}{{!}}{{{image2width|56px}}}{{!}}{{{image2alt|}}}]]</td>
     | <td class="ambox-image2">[[File:{{{image2}}}{{!}}{{{image2width|56px}}}{{!}}{{{image2alt|}}}]]</td>
   }}
   }}
</tr></table>
</tr></table>

Latest revision as of 01:29, 16 August 2022