Difference between revisions of "Template:Documentation/currentversion"

From Slicer Wiki
Jump to: navigation, search
Line 12: Line 12:
 
=== Retrieve current version for outside use ===
 
=== Retrieve current version for outside use ===
 
<pre>
 
<pre>
$ curl -O "http://www.slicer.org/slicerWiki/index.php/Special:GetData/Template:Documentation/currentversion"
+
$ curl -O "http://www.slicer.org/wiki/index.php/Special:GetData/Template:Documentation/currentversion"
 
$ cat currentversion
 
$ cat currentversion
 
4.5
 
4.5

Revision as of 15:52, 22 November 2016

Home < Template:Documentation < currentversion


Usage

Template

{{documentation/currentversion}}

4.5

Retrieve current version for outside use

$ curl -O "http://www.slicer.org/wiki/index.php/Special:GetData/Template:Documentation/currentversion"
$ cat currentversion
4.5