Difference between revisions of "Template:Notice"

From Self-sufficiency
Jump to: navigation, search
m (1 revision: Importing Language templates from commons)
m (redundant)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox" style="{{{style|}}}"
+
{{mbox
| {{#if:{{{heading|{{{header|}}}}}}|rowspan="2"}} align="center" style="width:53px;"|[[File:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||}}non-talk.svg}}}|{{#ifeq:{{{small|}}}|yes|25px|53px}}|link=|Notice]]
+
| demospace = {{{demospace|}}}
{{#if:{{{heading|{{{header|}}}}}}|
+
| image = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
<!-- -->! {{{heading|Notice: {{{header}}}}}}
+
| text =  
<!-- -->{{!}}-
+
  {{#if:{{{header|}}}
}}
+
  | <div style="text-align:center;">'''{{{header}}}'''</div>  
|align="left"|{{{1}}}
+
  }}{{{1}}}
|}<noinclude>
+
| small = {{{small|}}}
 
+
| smallimage = {{#if:{{{image|}}}| [[Image:{{{image}}}|30px|Notice]] }}
 
+
}}<noinclude>
==Location==
+
{{documentation}}
This template should be used for '''important''' comments about a page that cannot be shown using a more specific template.
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
+
==Usage==
+
:{{tlx|Notice|Include text here.}}
+
:{{tlx|Notice|small<nowiki>=</nowiki>yes|Include text here.}} for a smaller version
+
:{{tlx|Notice|header<nowiki>=</nowiki>Header text|Include text here.}} for an additional notice header
+
:{{tlx|Notice|heading<nowiki>=</nowiki>Header text|Include text here.}} for an alternative heading without the "Notice:"-prefix.
+
:{{tlx|Notice|image<nowiki>=</nowiki>Stop hand nuvola.svg|Include text here.}} for a different image
+
 
+
== See also ==
+
* {{tl|info}}
+
 
+
[[Category:Message box templates|{{PAGENAME}}]]
+
 
</noinclude>
 
</noinclude>

Revision as of 17:39, 2 June 2010