Difference between revisions of "Template:Mbox"

From Veloopti Help
Jump to: navigation, search
(Removed growth type per editprotected on talk by Jrockley)
(per request, let's send the job queue up :))
Line 8: Line 8:
 
}}">
 
}}">
 
<tr>
 
<tr>
 +
<td class="ambox-image">
 
{{#ifeq:{{{image}}}|none
 
{{#ifeq:{{{image}}}|none
   | <!-- no image cell -->
+
   | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
+
   | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
 
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
 
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
 
     | content  = [[Image:Emblem-important.svg|40px]]
 
     | content  = [[Image:Emblem-important.svg|40px]]
Line 16: Line 17:
 
     | merge    = [[Image:Merge-split-transwiki default.svg]]
 
     | merge    = [[Image:Merge-split-transwiki default.svg]]
 
     | notice  = [[Image:Info non-talk.png|40px]]
 
     | notice  = [[Image:Info non-talk.png|40px]]
     | blank    = <!-- empty image cell -->
+
     | blank    = [[Image:Spacer.gif]]
 
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
 
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
   }}</td>
+
   }}</div>
}}
+
}}</td>
<td>{{{text}}}</td>
+
<td class="ambox-text">{{{text}}}</td>
 
{{#if:{{{imageright|}}}|
 
{{#if:{{{imageright|}}}|
   <td class="ambox-imageright"> {{{imageright}}} </td>
+
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
 
}}
 
}}
 
</tr>
 
</tr>

Revision as of 14:04, 15 October 2007

Template:Template doc