Difference between revisions of "Template:Ambox"

From OMORI Wiki
Jump to navigation Jump to search
(Created page with "<table class="plainlinks ambox {{#ifeq:{{{type|}}}|delete|ambox-delete|}} {{{class|}}}" style="{{{style|}}}"><tr> {{#if:{{{image|}}} |<!-- Image cell --><td class="ambo...")
 
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table class="plainlinks ambox {{#ifeq:{{{type|}}}|delete|ambox-delete|}} {{{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 {{#ifeq:{{{type|}}}|notice|ambox-notice|ambox-{{{type|}}}}}">[[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 {{#ifeq:{{{type|}}}|notice|ambox-notice|ambox-{{{type|}}}}}"></td>
     |<!-- Blank cell if no image specified --><td class="ambox-empty-cell"></td>
   }}<td class="ambox-text">{{{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 02:29, 16 August 2022