Difference between revisions of "Template:Documentation/versioncheck"
From Slicer Wiki
m |
m |
||
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{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly]] | + | {{#if: {{documentation/isdevelopers}} | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}]] page.}} | }} |
| {{#if: {{documentation/isdevelopers}} | | | {{#if: {{documentation/isdevelopers}} | | ||
− | {{#ifeq: {{documentation/version}} | Nightly | | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly]] | + | {{#ifeq: {{documentation/version}} | Nightly | | {{documentation/banner|text=For the latest Slicer developers documentation, visit the [[Documentation/Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}Nightly{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}]] page.}} }} | |
− | {{#ifeq: {{documentation/version}} | Nightly | {{documentation/banner|text=For the stable Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}{{documentation/currentversion}}]] | + | {{#ifeq: {{documentation/version}} | Nightly | {{documentation/banner|text=For the stable Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}]] page.}} | {{documentation/banner|text=For the latest Slicer documentation, visit the [[Documentation/{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}{{!}}{{documentation/currentversion}}{{documentation/subpathwithoutversion|{{FULLPAGENAME}} }}]] page.}} }} }} }}</includeonly><noinclude> |
== Usage == | == Usage == |
Revision as of 17:41, 5 September 2013
Home < Template:Documentation < versioncheck
Usage
<noinclude>{{documentation/versioncheck}}</noinclude>
Since this template is not specific to a given version.