Difference between revisions of "Template:Notice"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(reverted to the PNG versions of the icon, which I created because the SVG version renders improperly in IE6)
m (112 revisions from wikipedia:Template:Notice)
 
(64 intermediate revisions by 34 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"|[[Image:Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png|Info]]
+
| 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" width="100%"|{{{1}}}
+
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
|}<noinclude>
+
| small      = {{{small|}}}
__NOTOC__
+
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
 
+
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
==Location==
+
| textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{left|}}}|left|center}};}}}}}}
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.
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{left|}}}|left|center}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
+
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
==Usage==
+
}}<noinclude>
:{{tlx|Notice|Include text here.}}
+
{{Documentation}}
:{{tlx|Notice|small&#61;yes|Include text here.}} for smaller type
+
</noinclude>
:{{tlx|Notice|header&#61;Header text|Include text here.}} for an aditional header
 
==See also==
 
:{{tlx|Consensus}}
 
:{{tlx|Warning}}
 
:{{tlx|Caution}}
 
 
 
[[ca:Template:Avís]][[ka:თარგი:შეტყობინება]][[zh-yue:Template:Notice]]</noinclude>
 

Latest revision as of 06:43, 15 March 2016

Documentation icon Template documentation[create]