„Sablon:Ambox” változatai közötti eltérés

Innen: KIFÜ Wiki
a (-style a table-ből)
1. sor: 1. sor:
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
+
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
 
   | info    = ambox-notice
 
   | info    = ambox-notice
 
   | stop    = ambox-serious
 
   | stop    = ambox-serious
9. sor: 9. sor:
 
}}">
 
}}">
 
<tr>
 
<tr>
{{#ifeq:{{{image}}}|none
+
{{ #ifeq: {{{image}}} | none
 
   | <!-- no image cell -->
 
   | <!-- no image cell -->
 
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
 
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
18. sor: 18. sor:
 
     | trash    = [[Image:Trash.svg|40px]]
 
     | trash    = [[Image:Trash.svg|40px]]
 
     | blank    = <!-- empty image cell -->
 
     | blank    = <!-- empty image cell -->
     | #default = {{{image|[[Image:Info.svg|40px]]}}}
+
     | #default = [[Image:Info.svg|40px]]
 
   }}</td>
 
   }}</td>
 
}}
 
}}

A lap 2007. október 31., 20:53-kori változata