Template:Ambox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
<tr>
<tr>
<td class="ambox-image">
<td class="ambox-image">
{{#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:52px;"> {{#switch:{{{image|{{{type|}}}}}}
   | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
     | serious  = [[Image:40px-Stop hand nuvola.jpg|40px]]
     | content  = [[Image:Emblem-important.svg|40px]]
     | content  = [[Image:40px-Emblem-important.jpg|40px]]
     | style    = [[Image:Broom icon.jpg|40px]]
     | style    = [[Image:Broom icon.jpg|40px]]
     | merge    = [[Image:Merge-split-transwiki default.svg]]
     | merge    = [[Image:40px-Merge-split-transwiki default.jpg]]
     | notice  = [[Image:Info non-talk.png|40px]]
     | notice  = [[Image:40px-Info non-talk.jpg|40px]]
     | blank    = [[Image:No image.svg]]
     | blank    = [[Image:No image.jpg]]
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
     | #default = {{{image|[[Image:Info non-talk.jpg|40px]]}}}
   }}</div>
   }}</div>
}}</td>
}}}</td>
<td class="ambox-text">{{{text}}}</td>{{{#if:{{{imageright|}}}|<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>}}}</tr>
<td class="ambox-text">{{{text}}}</td>{{{#if:{{{imageright|}}}|<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>}}}</tr>
</table></div>
</table></div>

Revision as of 13:04, 26 January 2008