Difference between revisions of "Template:Documentation/versioncheck"

From Slicer Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#ifeq: {{documentation/version}} | {{documentation/currentversion}} |  
 
{{#ifeq: {{documentation/version}} | {{documentation/currentversion}} |  
   {{#if: {{documentation/isdevelopers}} | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly/Developers/{{#titleparts: {{FULLPAGENAME}} | | 4 }}{{!}}Nightly]] pages.}} | }}
+
   {{#if: {{documentation/isdevelopers}} | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly]] page.}} | }}
 
| {{#if: {{documentation/isdevelopers}} |  
 
| {{#if: {{documentation/isdevelopers}} |  
   {{#ifeq: {{documentation/version}} | Nightly | | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly/Developers/{{#titleparts: {{FULLPAGENAME}} | | 4 }}{{!}}Nightly]] pages.}} }} |  
+
   {{#ifeq: {{documentation/version}} | Nightly | | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly]] page.}} }} |  
   {{#ifeq: {{documentation/version}} | Nightly | {{documentation/banner|text=For the stable Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}/{{#titleparts: {{FULLPAGENAME}} | | 3 }}{{!}}{{documentation/currentversion}}]] pages.}} | {{documentation/banner|text=For the latest Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}/{{#titleparts: {{FULLPAGENAME}} | | 3 }}{{!}}{{documentation/currentversion}}]] pages.}} }} }} }}</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 ==

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.