Template:Ambox: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div id="catlinks"><table border="1" style="{{{style|}}}" <!-- class="metadata plainlinks ambox {{#switch:{{{type|}}}
<!--
 
This is the ambox or article message box meta template.
 
-->
<div id="catlinks"><table border="1" style="{{{style|}}}" <!-- class="metadata plainlinks ambox {{{#switch:{{{type|}}}
   | serious  = ambox-serious
   | serious  = ambox-serious
   | content  = ambox-content
   | content  = ambox-content
Line 6: Line 11:
   | 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:40px-Stop hand nuvola.jpg|40px]]
     | serious  = [[Image:40px-Stop hand nuvola.jpg|40px]]
     | content  = [[Image:40px-Emblem-important.jpg|40px]]
     | content  = [[Image:40px-Emblem-important.jpg|40px]]
Line 19: Line 24:
     | blank    = [[Image:No image.jpg]]
     | blank    = [[Image:No image.jpg]]
     | #default = {{{image|[[Image:Info non-talk.jpg|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:15, 26 January 2008