Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
{{#ifeq: {{{type|}}}|header | {{#ifeq: {{{type|}}}|header | ||
|{{!}} width="5px" style="background: {{#if: {{{color|}}}|{{{color}}}|black}}" {{!}}}} | |{{!}} width="5px" style="background: {{#if: {{{color|}}}|{{{color}}}|black}}" {{!}}}} | ||
| {{{image}}} | | class="ambox-{{{type}}}" | {{{image}}} | ||
| {{#if: {{{header|}}} | | {{#if: {{{header|}}} | ||
| <div style="text-align: center;{{#if: {{{color|}}}| color: {{{color}}}}}">'''{{{header}}}'''</div><br> | | <div style="text-align: center;{{#if: {{{color|}}}| color: {{{color}}}}}">'''{{{header}}}'''</div><br> | ||
}}{{{1}}} | }}{{{1}}} | ||
{{#ifeq: {{{type|}}}|inline | {{#ifeq: {{{type|}}}|inline | ||
|{{!}} {{{image}}}}} | |{{!}} class="ambox-inline" {{!}} {{{image}}}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Ambox|type=header | {{Ambox|type=header |