Difference between revisions of "Template:Documentation/versioncheck"

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-alig…')
 
m
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| width="100%" style="clear:both; background:none; color:black;"
+
{{#ifeq: {{documentation/version}} | {{documentation/currentversion}} |
|-
+
  {{#if: {{documentation/isdevelopers}} | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly]] page.}} | }}
| style="padding:1em 1em 1em 1em; border:1px solid #A3B1BF; background-color:#fce9f4; text-align:center" valign="top" |
+
| {{#if: {{documentation/isdevelopers}} |
<span style="font-size:16pt">For the latest Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}|{{documentation/currentversion}}]] and [[Documentation/Nightly|Nightly]] pages.</span>
+
  {{#ifeq: {{documentation/version}} | Nightly | | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly]] page.}} }} |  
|}</includeonly><noinclude>
+
  {{#ifeq: {{documentation/version}} | Nightly | {{documentation/banner|text=For the stable Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}{{documentation/currentversion}}]] page.}} | {{documentation/banner|text=For the latest Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}{{documentation/currentversion}}]] page.}} }} }} }}</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==
  
<pre><noinclude>{{documentation/versioncheck}}</noinclude></pre>
+
<pre>&lt;noinclude&gt;{{documentation/versioncheck}}&lt;/noinclude&gt;</pre>
  
 
{{note}}Since this template is not specific to a given version.
 
{{note}}Since this template is not specific to a given version.

Latest revision as of 22:09, 5 September 2013

Home < Template:Documentation < versioncheck


Usage

<noinclude>{{documentation/versioncheck}}</noinclude>

Note Since this template is not specific to a given version.