Difference between revisions of "Template:Documentation/currentversion"

From Slicer Wiki
Jump to: navigation, search
m
(Update current version from 4.8 to 4.10)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>4.2</includeonly><noinclude>
+
<includeonly>4.10</includeonly><noinclude>
 +
 
 +
__TOC__
  
 
== Usage ==
 
== Usage ==
  
* Using this template will "return" the current stable version:
+
=== Template ===
 
<pre>{{documentation/currentversion}}</pre>
 
<pre>{{documentation/currentversion}}</pre>
  
 
{{documentation/currentversion}}
 
{{documentation/currentversion}}
  
 +
=== Retrieve current version for outside use ===
 +
<pre>
 +
$ curl -O "http://www.slicer.org/wiki/index.php/Special:GetData/Template:Documentation/currentversion"
 +
$ cat currentversion
 +
4.5
 +
</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