Difference between revisions of "Template:Documentation/currentversion"

From Slicer Wiki
Jump to: navigation, search
m
(Update current version from 4.8 to 4.10)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>4.2</includeonly><noinclude>
+
<includeonly>4.10</includeonly><noinclude>
  
 
__TOC__
 
__TOC__
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.2
+
4.5
 
</pre>
 
</pre>
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:04, 19 October 2018

Home < Template:Documentation < currentversion


Usage

Template

{{documentation/currentversion}}

4.10

Retrieve current version for outside use

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