Jump to content

Template:Notice: Difference between revisions

Updating template per editprotected on talk by David Göthberg
m (moving {{pp-template}} to template page)
(Updating template per editprotected on talk by David Göthberg)
Line 1: Line 1:
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
{{main talk other
| {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:35px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|35px}}|Notice]]
| demospace = {{{demospace|}}}
{{#if:{{{header|}}}|
| 1 =  <!--Articles (main space)-->
<!-- -->! Notice: {{{header}}}
  {{ambox | type=notice
<!-- -->{{!-}}
  | image = [[Image:{{{image|Info non-talk.png}}}|40px|Notice]]
}}
  | text = {{#if:{{{header|}}}|  
|align="left"|{{{1}}}
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
|}<noinclude>
    }}{{{1}}}
{{pp-template}}
  }}
| 2 =  <!--Talk pages-->
  <table class="messagebox
    {{#ifeq:{{{small|}}}|yes|small-talk|standard-talk}}">
  <tr><td>[[Image:{{{image|Info talk.png}}}|  
    {{#ifeq:{{{small|}}}|yes|30px|40px}}|Notice]]
  <td align="left" width="100%">{{#if:{{{header|}}}|  
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
    }}{{{1}}}
  </table>
| 3 =  <!--Other pages-->
  <table class="messagebox">
  <tr><td align="center">[[Image:{{{image|Info non-talk.png}}}|
    40px|Notice]]
  <td align="left" width="100%">{{#if:{{{header|}}}|
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
    }}{{{1}}}
  </table>
}}<noinclude>


{{Documentation}}
{{pp-template|small=yes}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.