Difference between revisions of "Template:Notice"

From Transit.Wiki
m
m
Line 1: Line 1:
{| class="commonshadow wikitable" style="background-color: #EFEFEF; border: 1px solid #888; {{border-radius|0.3em}}; margin: 1.5em 4em 1.5em 3em;"
+
<div class="commonshadow wikitable" style="margin: 1.5em 5vw 1.5em 5vw; background-color: #f2f2f2;">
| {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Information icon.svg}}}|62px|Notice]]
+
<div style="text-align:center;"><h4>[[Image:{{{image|Information icon.svg}}}|20px|{{{header|Notice}}}]] Notice</h4></div>
{{#if:{{{header|}}}|
+
<div style="max-height:30vh; overflow:auto; padding:0.5em;">
<!-- -->! Notice: {{{header}}}
+
{{{1}}}
<!-- -->{{!-}}
+
</div>
}}
+
</div>
|align="left"|{{{1}}}
 
|}
 
 
<noinclude>
 
<noinclude>
  

Revision as of 17:07, 29 January 2019

Notice 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|header{{=}}Header text|Include text here.}} for an additional header
 {{Notice|image{{=}}Stop hand nuvola.svg|Include text here.}} for a different image