Template:Notice: Difference between revisions

(fix!)
No edit summary
 
(44 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{main talk other
<table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
| demospace = {{{demospace|}}}
| red = #b22222
| 1 =   <!--Articles (main space)-->
| orange = #f28500
  {{ambox | type=notice
| green = #27c446
  | image = [[Image:{{{image|Info non-talk.svg}}}|40px|Notice]]
| blue
  | text = {{#if:{{{header|}}}|
| #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
<tr>
    }}{{{1}}}
<td style="background: {{#switch:{{{type|}}}
  }}
| red = #b22222
| 2 =  <!--Talk pages-->
| orange = #f28500
  <table class="messagebox
| green = #27c446
    {{#ifeq:{{{small|}}}|yes|small-talk|standard-talk}}">
| blue
  <tr><td>[[Image:{{{image|Info talk.png}}}|
| #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
    {{#ifeq:{{{small|}}}|yes|30px|40px}}|Notice]]
| red = Caution icon - Noun Project 9556 white.svg
  <td align="left" width="100%">{{#if:{{{header|}}}|
| orange = Exclamation mark white icon.svg
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
| green = Text_lines_white_icon.svg
    }}{{{1}}}
| blue
  </table>
| #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
| 3 =   <!--Other pages-->
<td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
  <table class="messagebox">
</tr>
  <tr><td align="center">[[Image:{{{image|Info non-talk.svg}}}|  
</table><noinclude>
    40px|Notice]]
This template is used to create notice templates. Please, do not use this template directly on an article.
  <td align="left" width="100%">{{#if:{{{header|}}}|
[[Category:Notice templates]]</noinclude>
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
    }}{{{1}}}
  </table>
}}<noinclude>
 
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 13:11, 22 June 2021

VisualEditor - Icon - Advanced - white.svg {{{text}}}

This template is used to create notice templates. Please, do not use this template directly on an article.