Difference between revisions of "Template:Notice"

From Timelines
Jump to: navigation, search
m (+interwiki(zh-yue))
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)))
 
(90 intermediate revisions by 42 users not shown)
Line 1: Line 1:
{| class="messagebox standard-talk"
+
{{Mbox
|-
+
| name      = Notice
|align="center"|[[Image:Info-icon.svg|50px|Comment]]
+
| demospace  = {{{demospace|}}}
|align="left" width="100%"|{{{1}}}
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
|}<noinclude>
+
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
__NOTOC__
+
| type      = notice
 
+
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
==Location==
+
| small      = {{{small|}}}
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.
+
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
 
+
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
==Usage==
+
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
'''<nowiki>{{Notice|Include text here.}}</nowiki>'''
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
+
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
==See also==
+
}}<noinclude>
{{tl|Warning}}
+
{{Documentation}}
 
+
</noinclude>
[[ca:Template:Avís]][[zh-yue:Template:Notice]]</noinclude>
 

Latest revision as of 11:33, 9 December 2016

Template documentation[create]