Difference between revisions of "Template:Documentation/banner"

From Slicer Wiki
Jump to: navigation, search
m (Created page with '<includeonly>{| width="100%" style="clear:both; background:none; color:black;" |- | style="padding:1em 1em 1em 1em; border:1px solid #A3B1BF; background-color:#fce9f4; text-align…')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{| width="100%" style="clear:both; background:none; color:black;"
 
<includeonly>{| width="100%" style="clear:both; background:none; color:black;"
 
|-
 
|-
| style="padding:1em 1em 1em 1em; border:1px solid #A3B1BF; background-color:#fce9f4; text-align:center" valign="top" |
+
| style="padding:1em 1em 1em 1em; border:1px solid #A3B1BF; background-color: #{{#if: {{{background-color|}}} |{{{background-color}}}|fce9f4}}; text-align:center" valign="top" |
<span style="font-size:16pt">For the latest Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}|{{documentation/currentversion}}]] and [[Documentation/Nightly|Nightly]] pages.</span>
+
<span style="font-size:16pt">{{{text}}}</span>
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==
  
<pre>{{documentation/banner}}</pre>
+
<pre>{{documentation/banner
 +
| text  = The message body text.}}</pre>
  
{{documentation/banner}}
+
== Examples ==
 +
 
 +
<pre>{{documentation/banner
 +
| text  = The is an important message.}}</pre>
 +
 
 +
{{documentation/banner| text  = The is an important message.}}
 +
 
 +
<pre>{{documentation/banner
 +
| text  = The is an important message in green.
 +
| background-color = 8FBC8F }}</pre>
 +
 
 +
{{documentation/banner
 +
| text  = The is an important message in green.
 +
| background-color = 8FBC8F }}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:18, 12 May 2016

Home < Template:Documentation < banner


Usage

{{documentation/banner
| text  = The message body text.}}

Examples

{{documentation/banner
| text  = The is an important message.}}

The is an important message.

{{documentation/banner
| text  = The is an important message in green.
| background-color = 8FBC8F }}

The is an important message in green.