Difference between revisions of "Template:Notice"

From Self-sufficiency
Jump to: navigation, search
m (redundant)
m (1 revision: Conversion templates from wikipedia)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{mbox
+
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox" style="{{{style|}}}"
| demospace = {{{demospace|}}}
+
| {{#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]]
| image = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
+
{{#if:{{{heading|{{{header|}}}}}}|
| text =  
+
<!-- -->! {{{heading|Notice: {{{header}}}}}}
  {{#if:{{{header|}}}
+
<!-- -->{{!}}-
  | <div style="text-align:center;">'''{{{header}}}'''</div>  
+
}}
  }}{{{1}}}
+
|align="left"|{{{1}}}
| small = {{{small|}}}
+
|}<noinclude>
| smallimage = {{#if:{{{image|}}}| [[Image:{{{image}}}|30px|Notice]] }}
+
 
}}<noinclude>
+
 
{{documentation}}
+
==Location==
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
This template should be used for '''important''' comments about a page that cannot be shown using a more specific template.
 +
 
 +
==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>

Latest revision as of 09:03, 19 September 2010

Notice {{{1}}}


Location

This template should be used for important comments about a page that cannot be shown using a more specific template.

Usage

{{Notice|Include text here.}}
{{Notice|small=yes|Include text here.}} for a smaller version
{{Notice|header=Header text|Include text here.}} for an additional notice header
{{Notice|heading=Header text|Include text here.}} for an alternative heading without the "Notice:"-prefix.
{{Notice|image=Stop hand nuvola.svg|Include text here.}} for a different image

See also