Difference between revisions of "Template:Ns"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{ns/0|{{#rreplace:{{{1|}}}|([0-9]+\.[0-9]+)([.0-9a-z]+)|\1}}}}</includeonly><noinclude>
+
<includeonly>{{ns/0|{{#rreplace:{{{1|}}}|v?([0-9]+\.[0-9]+)([.0-9a-z]+)|\1}}}}</includeonly><noinclude>{{documentation}}</noinclude>
Takes a version number and returns the corresponding namespace.
 
 
 
==Examples==
 
0.34.11: {{ns|0.34.11}}
 
 
 
0.34.02: {{ns|0.34.02}}
 
 
 
0.31.19: {{ns|0.31.19}}
 
 
 
0.28.121.40c: {{ns|0.28.121.40c}}
 
 
 
0.23.130.23a: {{ns|0.23.130.23a}}
 
</noinclude>
 

Latest revision as of 17:25, 23 July 2013