Template:WarningBox: Difference between revisions

no edit summary
No edit summary
Tag: Source edit
No edit summary
Tag: Source edit
Line 37: Line 37:
}
}
</templatedata>
</templatedata>
== Examples ==
{{WarningBox
| image = Unkna0.png
| content = Test
| background = #EFEFEF
}}
</noinclude>{| align=center border=0 cellpadding=4 cellspacing=4 style="border: solid 1px {{#if:{{{border|}}}|{{{border}}}|#000000}}; background-color: {{#if:{{{background|}}}|{{{background}}}|#FFFFFF}}; color: {{#if:{{{color|}}}|{{{color}}}|#000000}}; padding: 0.4em 1em; width: 75%; margin: 1em auto; text-align: center; border-radius: 3px"
</noinclude>{| align=center border=0 cellpadding=4 cellspacing=4 style="border: solid 1px {{#if:{{{border|}}}|{{{border}}}|#000000}}; background-color: {{#if:{{{background|}}}|{{{background}}}|#FFFFFF}}; color: {{#if:{{{color|}}}|{{{color}}}|#000000}}; padding: 0.4em 1em; width: 75%; margin: 1em auto; text-align: center; border-radius: 3px"
|-
|-
| {{#if: {{{image|}}}|[[{{{image}}}|46x46px]]}}
| {{#if: {{{image|}}}|[[File:{{{image}}}|46x46px]]}}
| {{{content}}}
| {{{content}}}
|}
|}