Template:Ambox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
m (New page: <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | serious = ambox-serious | content = ambox-content | style = ambox-style | merge = ambox...)
 
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>
<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:Stop hand nuvola.svg|40px]]
     | content  = [[Image:Emblem-important.svg|40px]]
     | content  = [[Image:Emblem-important.svg|40px]]
Line 19: Line 19:
     | 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>
}}
}}}
</tr>
</tr>
</table><noinclude>
</table><noinclude>

Revision as of 11:45, 26 January 2008

(}