Jump to content

User:Ondo/templates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:


== Style 1 ==
== Style 1 ==
<table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
| red = #b22222
| orange = #f28500
| green = #27c446
| blue
| #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
<tr>
<td style="background: {{#switch:{{{type|}}}
| red = #b22222
| orange = #f28500
| green = #27c446
| blue
| #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}
| red = Caution icon - Noun Project 9556 white.svg
| orange = Exclamation mark white icon.svg
| green = Text_lines_white_icon.svg
| blue
| #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
<td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
</tr>
</table>


<table style="margin-left: 15%; border: 2px solid #b22222; min-height: 50px; width: 70%; border-spacing: 0px;">
<table style="margin-left: 15%; border: 2px solid #b22222; min-height: 50px; width: 70%; border-spacing: 0px;">
Cookies help us deliver our services. By using our services, you agree to our use of cookies.