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 | |||
| <!-- 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|}}}}}} | ||
| Line 20: | Line 20: | ||
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}} | | #default = {{{image|[[Image:Info non-talk.png|40px]]}}} | ||
}}</div> | }}</div> | ||
}}</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 12:42, 26 January 2008
| {{{text}}} | {{{imageright}}} |