Template:Ambox
From Wseven
(Difference between revisions)
m (Add code for incorrectly substed templates, or minor tidy up using AWB) |
m (1 revision) |
Current revision as of 14:21, 6 April 2010
{{#switch: | left =
{{
#switch:left | left =| #default = }} {{#if:{{#if: | {{{smallimage}}} | }} | {{#if: | {{{smallimage}}} | }} | [[File:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Edit-clear.svg | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch:left | left = 20x20px | #default = 40x40px }} |link=|alt=]] }}{{#switch:left | left =| #default = |
}}
{{#if:
| {{{smalltext}}} | {{{text}}}}} |
{{#if:{{#if:
| {{{smallimageright}}}
|
}}
| {{#ifeq:{{#if:
| {{{smallimageright}}}
|
}}|none
|
| {{#switch:left
| left = {{#if: | {{{smallimageright}}} | }}| #default = {{#if:
}}| {{{smallimageright}}} |}} |
}}
}}
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}{{#switch:{{#if:
| {{{smallimage}}} | }}
| blank = }} | #default =
{{
#switch: | left =| #default = }} {{#if: | | [[File:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Edit-clear.svg | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch: | left = 20x20px | #default = 40x40px }} |link=|alt=]] }}{{#switch: | left =| #default = |
}}
{{{text}}} | {{#switch:
| left =| #default = |
}}
}}
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}{{#switch: | blank = }} }}