Template:Ambox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{{#switch:{{{type|}}}
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
   | serious  = ambox-serious
   | serious  = ambox-serious
   | content  = ambox-content
   | content  = ambox-content
Line 6: Line 6:
   | notice  = ambox-notice
   | notice  = ambox-notice
   | #default = ambox-notice
   | #default = ambox-notice
}}}">
}}">


<tr>
<tr>
Line 13: Line 13:
{{{#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:Stop hand nuvola.svg|40px]]
     | content  = [[Image:Emblem-important.svg|40px]]
     | content  = [[Image:Emblem-important.svg|40px]]
Line 21: Line 21:
     | blank    = [[Image:No image.svg]]
     | blank    = [[Image:No image.svg]]
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
     | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
   }}}</div>
   }}</div>
}}}</td>
}}}</td>


<td class="ambox-text">{{{text}}}</td>
<td class="ambox-text">{{{text}}}</td>
({{#if:{{{imageright|}}}|
{{{#if:{{{imageright|}}}|
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}}
}}}

Revision as of 11:57, 26 January 2008