Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Blanked the page |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div style="{{#IF: {{{style|}}} | {{{style}}} | margin: 0px 10% 0px 10%; border: 1px solid #aaa; border-left: 10px solid {{#switch:{{{type|}}} |
|||
| delete =#b22222; |
|||
| content =#f28500; |
|||
| style =#f4c430; |
|||
| move =#9932cc; |
|||
| protected =#bba; |
|||
| #default =#1e90ff; |
|||
}} padding: 4px 8px; background:#efefef; min-height: 44px;">}} |
|||
<div style="position: absolute;">[[Image:{{#if:{{{image|}}} |
|||
| {{{image}}} |
|||
| {{#switch:{{{type|}}} |
|||
| delete =Deletion.png |
|||
| content =Content.png |
|||
| style =Edit-clear.png |
|||
| move =Move.png |
|||
| protected =Protection.png |
|||
| #default =Notice.png |
|||
}} |
|||
}}|40px]]</div> |
|||
<div style="border: none; padding: 2px 2px 2px 62px;"> |
|||
<span style="{{#IF: {{{text-style|}}} | {{{text-style}}} | }}"> {{{text|}}} </span> |
|||
</div></div><!-- |
|||
Detect and report usage with faulty [[Template:Ambox#Article message box types|"type"]] parameter: |
|||
-->{{#switch:{{{type|}}} |
|||
| = <!--No type fed, is also valid input --> |
|||
| delete = |
|||
| content = |
|||
| style = |
|||
| move = |
|||
| protected = |
|||
| notice = |
|||
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wrong syntax]] |
|||
}}</includeonly> |
|||