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.

Template:Nsv/doc

From Dwarf Fortress Wiki
Jump to navigation Jump to search

{{nsv}} is the inverse of {{ns}}—it takes a namespace and returns the corresponding version.

Usage[edit]

{{nsv|1|release=|title=}}

Parameters[edit]

  • 1 — Namespace (DF2014, v0.34, DF2012, v0.31, DF2010, 40d, 23a). Putting a nonexistent namespace in the first parameter or leaving it in blank will result in this error message: 50.12. If the parameter is not included at all, it returns the most recent version of the game instead.
  • title — Displays a leading "v" or "DF " in front of the version number. Case insensitive.
    • "v" — Accepts version, ver, or v.
    • "DF " — Accepts dwarf fortress, dwarffortress, or df.

Examples[edit]

* {{nsv|DF2012}}
* {{nsv|v0.31}}
* {{nsv|40d|title=Dwarf Fortress}}
* {{nsv|23a|title=v}}
* {{nsv}} (equivalent to {{Current/version}})
  • 0.34.11
  • 0.31.25
  • DF 0.28.121.40d
  • v0.23.130.23a
  • 50.12 (equivalent to 50.12)