v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Nsv"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Expand)
m (fix default behavior)
Line 4: Line 4:
 
|40d=0.28.121.40d
 
|40d=0.28.121.40d
 
|23a=0.23.130.23a
 
|23a=0.23.130.23a
|#default={{DF:Current}}
+
|#default={{current/version}}
 
}}<noinclude>
 
}}<noinclude>
  
Line 23: Line 23:
  
 
<pre>{{nsv}}</pre>
 
<pre>{{nsv}}</pre>
{{nsv}} (equivalent to {{[[DF:Current]]}})
+
{{nsv}} (equivalent to {{tl|current/version}})
  
 
</noinclude>
 
</noinclude>

Revision as of 21:32, 12 June 2014

50.14

Inverse of {{ns}} — Takes a namespace and returns the corresponding version (the most recent version for the Main namespace).

Usage

{{nsv|Namespace}}
{{nsv|Namespace|v=yes}} ← Displays a leading "v" *
{{nsv|Namespace|yes}} ← Also displays a leading "v" *
  • Using "yes" is not necessary (anything non-blank will work)

Examples

{{nsv|DF2012}}

0.34.11

{{nsv|40d}}

0.28.121.40d

{{nsv}}

50.14 (equivalent to {{current/version}})