Template:Ambox: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
This is the ambox or article message box meta template. | This is the 'ambox' or 'article message box' meta template. | ||
--> | --> | ||
<div id="catlinks"><table border=" | <div id="catlinks"><table border="0" style="{{{style|}}}" <!-- class="metadata plainlinks ambox {{{#switch:{{{type|}}} | ||
| serious = ambox-serious | | serious = ambox-serious | ||
| content = ambox-content | | content = ambox-content | ||
| Line 13: | Line 13: | ||
}}}" --> > | }}}" --> > | ||
<tr> | <tr> | ||
<td class="ambox-image" style="width:10px;"> | <td class="ambox-image" style="width:10px;">{{{#if:{{{imageleft|}}} | <div style="width:40px;"> {{{imageleft}}} </div></td>}}}<!-- | ||
{{{#if:{{{imageleft|}}} |{{{imageleft}}} | | XXX!-- no image cell; empty cell necessary for text cell to have 100% width --XXX | ||
| | | <div style="width:40px;"> | ||
| <div style="width:40px;"> {{{#switch:{{{image|{{{type|}}}}}} | |||
{{{#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 26: | Line 27: | ||
}}}</div> | }}}</div> | ||
}}}</td> | }}}</td> | ||
<td class="ambox-text">{{{text}}}</td> | --><td class="ambox-text">{{{text}}}</td><!-- {{{#if:{{{imageright|}}}|<td class="ambox-imageright" style="width:10px;"><div style="width:40px;"> {{{imageright}}} </div></td>}}} --></tr></table></div> | ||
<!-- {{{#if:{{{imageright|}}}|<td class="ambox-imageright" style="width:10px;"><div style="width:40px;"> {{{imageright}}} </div></td>}}} --> | |||
</tr></table></div> | |||
Latest revision as of 15:46, 26 January 2008
| {{{imageleft}}} | {{{text}}} |