Difference between revisions of "Template: Ambox"

From PAWS Lab
Jump to: navigation, search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table width="500" border="0" cellspacing="2" cellpadding="10" style="border:1px solid #aaaaaa; border-left:10px solid #f4c430;">
+
<noinclude>
 +
<span style="color:red;font-weight:bold">If you don't know what you are doing, DO NOT edit this page!<span>
 +
</noinclude>
 +
<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>{{#switch:{{{type|}}}
+
<td>
| clean      = [[Image:Ambox_style.png|40x40px]]
+
{{#switch:{{{type|}}}
| exclamation = [[Image:Imbox_content.png|40x40px]]
+
| clean      = [[Image:Ambox_style.png|40x40px]]
| #default    = [[Image:Imbox_content.png|40x40px]]
+
| exclamation = [[Image:Imbox_content.png|40x40px]]
}}</td>
+
| notice      = [[Image:Ambox_notice.png|40x40px]]
<td style="font-weight:bold; width:100%">{{{text|}}}</td>
+
| notice    <!-- notice = default -->
 +
| #default    = [[Image:Ambox_notice.png|40x40px]]
 +
}}
 +
</td>
 +
<td style="width:100%">{{{text|}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
<noinclude>
 +
==Relevant links==
 +
* [http://en.wikipedia.org/wiki/Help:Template wiki Help:Template]
 +
* [http://en.wikipedia.org/wiki/Template:Ambox wiki Template:Ambox]
 +
* [http://www.mediawiki.org/wiki/Extension:ParserFunctions mediawiki Extension:ParserFunctions]
 +
</noinclude>

Latest revision as of 18:54, 16 February 2009

If you don't know what you are doing, DO NOT edit this page!

Ambox notice.png

Relevant links