Difference between revisions of "Template:Notice"
Jump to navigation
Jump to search
imported>David Levy (added code to automatically use talk page coloring only on talk pages and display the icon with correct background coloring for most users) |
imported>AzaToth (update; added small parameter, changed switch to ifeq, added optional parameter header) |
||
Line 1: | Line 1: | ||
− | {| class="{{# | + | {| class="{{#ifeq|{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq|{{{small|}}}|yes|small|standard}}-talk}} messagebox" |
− | | | + | | {{#if:{{{header|}}}|rowspan="2"}} align="center"|[[Image:Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk|non-talk}}.png|Info]] |
− | |align="center"|[[Image:Info {{# | + | {{#if:{{{header|}}}| |
+ | <!-- -->! {{{header}}} | ||
+ | <!-- -->{{!-}} | ||
+ | }} | ||
|align="left" width="100%"|{{{1}}} | |align="left" width="100%"|{{{1}}} | ||
|}<noinclude> | |}<noinclude> |
Revision as of 22:53, 10 January 2007
Location
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.
Usage
{{Notice|Include text here.}}