Jump to content

Template:Notice: Difference between revisions

504 bytes removed ,  4 years ago
no edit summary
(Created page with "<table class="plainlinks ambox {{#switch:{{{type|}}} | destroy = ambox-speedy | delete = ambox-delete | content = ambox-content | style = ambox-style | move...")
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table class="plainlinks ambox
<table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| red = #b22222
| destroy    = ambox-speedy
| orange = #f28500
| delete    = ambox-delete
| green = #27c446
| content    = ambox-content
| blue
| style      = ambox-style
| #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
| move      = ambox-move
| protect    = ambox-protection
| complete  = ambox-completar
| notice       
| #default   = ambox-notice
}}" style="{{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
<td style="background: {{#switch:{{{type|}}}
| <!-- No image --><td style="border: none; padding: 1px;"></td>
| red = #b22222
| <td class="mbox-image" style="{{{imagestyle|}}}" ><div style="width: 52px;">
| orange = #f28500
  {{#ifeq:{{{image|}}}|empty
| green = #27c446
  | &nbsp;
| blue
  | {{#if:{{{image|}}}
| #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
    | {{{image}}}
| red = Caution icon - Noun Project 9556 white.svg
    | [[File:{{#switch:{{{type|}}}
| orange = Exclamation mark white icon.svg
      | destroy    = Ambox warning pn.svg
| green = Text_lines_white_icon.svg
      | delete    = Ambox warning pn.svg
| blue
      | content    = Ambox Content.svg
| #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
      | style      = Ambox rewrite gold.svg
<td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
      | move      = Merge-split-transwiki default.svg
      | protect    = Padlock-silver-medium.svg
      | complete  = Ambox rewrite gold.svg
      | notice        <!-- notice = default -->
      | #default  = Information icon4.svg
      }}|40x40px|link=]]
    }}
  }}</div></td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{rightimage|}}}
| <td class="mbox-imageright"><div style="width: 52px;"> {{{rightimage}}} </div></td>
}}
</tr>
</tr>
</table>
</table><noinclude>
<noinclude>
This template is used to create notice templates. Please, do not use this template directly on an article.
This template is used to create notice templates. Please, do not use this template directly on an article.
[[Category:Templates]]</noinclude>
[[Category:Notice templates]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.