Template:Ambox: Difference between revisions

adding custom color to override the standard ambox colors (for difficulty template)
(Going a little simpler...)
(adding custom color to override the standard ambox colors (for difficulty template))
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  | delete = delete
  | delete = delete
  | default
  | default
}} {{#if:{{{image|}}}|image|}}" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}56px]]|}}
}} {{#if:{{{image|}}}|image|}}" style="{{#if:{{{color|}}}|border-left:10px solid {{{color|}}} !important|}}" | {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}56px]]|}}
| class="message" | '''{{{header}}}'''<br><span class="smalltext">{{{smalltext|}}}</span>
| class="message" | '''{{{header}}}'''<br><span class="smalltext">{{{smalltext|}}}</span>
|}<noinclude>
|}<noinclude>
{{Template doc}}
[[Category:Maintenance templates|Ambox]]
[[Category:Maintenance templates|Ambox]]
[[Category:Subtemplates]]
</noinclude>
</noinclude>
confirmed_editors
581

edits