Template:Ambox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:
}}}" --> >
}}}" --> >
<tr>
<tr>
<td class="ambox-image" style="width:10px;">
<td class="ambox-image" style="width:10px;">
{{{#ifeq:{{{image|}}}none|
{{{#ifeq:{{{image|}}} |none
   | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
   | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
   | <div style="width:40px;"> {{{#switch:{{{image|{{{type|}}}}}}
   | <div style="width:40px;"> {{{#switch:{{{image|{{{type|}}}}}}
Line 26: Line 26:
   }}}</div>
   }}}</div>
}}}</td>
}}}</td>
<td class="ambox-text">{{{text}}}</td>{{{#if:{{{imageright|}}}|<td class="ambox-imageright" style="width:10px;"><div style="width:40px;"> {{{imageright}}} </div></td>}}}</tr>
<td class="ambox-text">{{{text}}}</td>
</table></div>
<!-- {{{#if:{{{imageright|}}}|<td class="ambox-imageright" style="width:10px;"><div style="width:40px;"> {{{imageright}}} </div></td>}}} -->
</tr></table></div>

Revision as of 13:30, 26 January 2008