Difference between revisions of "Template:Notice"

From Timelines
Jump to: navigation, search
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>

Revision as of 16:06, 19 March 2008

Template:Main talk other

Lua error in Module:Effective_protection_level at line 60: attempt to index field 'TitleBlacklist' (a nil value).

Template documentation[create]