Difference between revisions of "Template:Notice"

From Timelines
Jump to: navigation, search
(thin to combat talk page overboxage)
m (Changed protection level for "Template:Notice": extensively used in mediawiki message; also is already fprot via cascading ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
 
(43 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
+
{{Mbox
| {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|32px}}|Notice]]
+
| name      = Notice
{{#if:{{{header|}}}|
+
| demospace  = {{{demospace|}}}
<!-- -->! Notice: {{{header}}}
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
<!-- -->{{!-}}
+
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
}}
+
| type      = notice
|align="left"|{{{1}}}
+
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
|}<noinclude>
+
| small      = {{{small|}}}
 
+
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
==Location==
+
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
This template should be used for '''important''' comments about an article that cannot be shown using a more specific template. Unimportant comments should use the usual, non-templated method.
+
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
 
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
==Usage==
+
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
:{{tlx|Notice|Include text here.}}
+
}}<noinclude>
:{{tlx|Notice|small&#61;yes|Include text here.}} for smaller type
+
{{Documentation}}
:{{tlx|Notice|header&#61;Header text|Include text here.}} for an additional header
 
:{{tlx|Notice|image&#61;Stop hand nuvola.svg|Include text here.}} for a different image
 
==See also==
 
:{{tlx|Consensus}}
 
:{{tlx|Warning}}
 
:{{tlx|Caution}}
 
 
 
[[Category:Talk header templates|{{PAGENAME}}]]
 
 
 
[[ca:Plantilla:Avís]]
 
[[ka:თარგი:შეტყობინება]]
 
[[hu:Sablon:Comment]]
 
[[ml:ഫലകം:Notice]]
 
[[ja:Template:Notice]]
 
[[zh-yue:Template:告示]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 11:33, 9 December 2016

Template documentation[create]