Template:Ambox: Difference between revisions

Want an adless experience? Log in or Create an account.
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
   text-align: left;
   text-align: left;
   border-style: solid;
   border-style: solid;
  border-width: 2px;
}
}
td.ambox-header { width: 100px; }
td.ambox-header { width: 100px; }
Line 16: Line 17:
   text-align: center;
   text-align: center;
   border-style: double none double none;
   border-style: double none double none;
  border-width: 2px;
}
}
td.ambox-inline { width: 50px; }
td.ambox-inline { width: 50px; }
</css>
</css>
{| class="ambox-{{{type}}}" style="border: 2px {{#if: {{{color|}}}|{{{color}}}|black}};"
{| class="ambox-{{{type}}}" style="border-color: {{#if: {{{color|}}}|{{{color}}}|black}};"
|-  
|-  
{{#ifeq: {{{type|}}}|header
{{#ifeq: {{{type|}}}|header