Template:Ambox: Difference between revisions

Template page
(Created page with "<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}} | red = ambox-red | orange = ambox-orange | yellow = ambox-yellow | purple = ambox-purple | blue = ambox-blue | green = ambox-green | gray = ambox-gray | #default = ambox-green }} {{{class|}}}"> <tr> <td class="ambox-image">{{{image|File:{{{icon|AmStub.png}}}|{{#ifeq:{{{format|}}}|tiny|x20px}...")
 
No edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly><table style="{{{style|}}}" class="plainlinks ambox {{#ifeq:{{{format|}}}|tiny|ambox-tiny}} {{#switch:{{{border|}}}
<div style="display: flex;">
  | red      = ambox-red
    <div style="background: {{{color|#0072df}}}; width: 10px; border:1px solid black;">
  | orange  = ambox-orange
    </div>
  | yellow  = ambox-yellow
    <div style="display: flex; align-items: center; font-size:12px; color:white; border:1px solid black; border-right:none; overflow:auto; padding:8px;">[[File:{{{icon|AmStub.png}}}|44px|center|alt={{{name|Default Name}}}]]</div>
  | purple  = ambox-purple
    <div class="amtext" style="font-size:12px; color:white; border:1px solid black; border-left:none; text-align:left; overflow:auto;padding:0px 0px; flex: 1;">
  | blue    = ambox-blue
        {{{text|Brief blurb}}}
  | green    = ambox-green
    </div>
  | gray    = ambox-gray
</div>
  | #default = ambox-green
}} {{{class|}}}">
<tr>
<td class="ambox-image">{{{image|[[File:{{{icon|AmStub.png}}}|{{#ifeq:{{{format|}}}|tiny|x20px}}|alt=]]}}}</td>
<td class="ambox-text">{{{type|}}}
{{#if:{{{info|}}}|{{#ifeq:{{{format|}}}|tiny||<div class="amsmalltext">
{{{info}}}
</div>}}}}</td></tr></table></includeonly></onlyinclude>

Latest revision as of 18:14, 29 May 2024

Default Name
       Brief blurb