Difference between revisions of "Template: Ambox"
From PAWS Lab
Line 1: | Line 1: | ||
− | <table width="500" border="0" cellspacing="2" cellpadding="10" style="margin-left:50px; border:1px solid #aaaaaa; border-left:10px solid #f4c430;"> | + | <table width="500" border="0" cellspacing="2" cellpadding="10" style="margin-left:50px; border:1px solid #aaaaaa; border-left:10px solid |
+ | {{#switch:{{{type|}}} | ||
+ | | clean = #f4c430 | ||
+ | | exclamation = #f28500 | ||
+ | | notice = #1e90ff | ||
+ | | notice <!-- notice = default --> | ||
+ | | #default = #1e90ff | ||
+ | }} | ||
+ | ;"> | ||
<tr> | <tr> | ||
− | <td> | + | <td> |
− | |||
− | |||
− | |||
− | |||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
− | | exclamation = [[Image: | + | | clean = [[Image:Ambox_style.png|40x40px]] |
+ | | exclamation = [[Image:Imbox_content.png|40x40px]] | ||
+ | | notice = [[Image:Imbox_notice.png|40x40px]] | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = [[Image:Imbox_content.png|40x40px]] | | #default = [[Image:Imbox_content.png|40x40px]] | ||
}} | }} | ||
+ | </td> | ||
+ | <td style="width:100%">{{{text|}}}</td> | ||
+ | </tr> | ||
+ | </table> |