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"
Jump to navigation
Jump to search
Doorkeeper (talk | contribs) m |
Doorkeeper (talk | contribs) (upd to 0.44.12) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{title}}}}}|dwarf fortress|dwarffortress|df=DF |version|ver|v=v|#default=}}{{#switch:{{{1|{{DF:Current}}}}} | <includeonly>{{#switch:{{lc:{{{title}}}}}|dwarf fortress|dwarffortress|df=DF |version|ver|v=v|#default=}}{{#switch:{{{1|{{DF:Current}}}}} | ||
|DF2014 = {{#switch:{{{r}}} | |DF2014 = {{#switch:{{{r}}} | ||
− | |1=0.40.01|2=0.40.02|3=0.40.03|4=0.40.04|5=0.40.05|6=0.40.06|7=0.40.07|8=0.40.08|9=0.40.09|10=0.40.10|11=0.40.11|12=0.40.12|13=0.40.13|14=0.40.14|15=0.40.15|16=0.40.16|17=0.40.17|18=0.40.18|19=0.40.19|20=0.40.20|21=0.40.21|22=0.40.22|23=0.40.23|24=0.40.24|25=0.42.01|26=0.42.02|27=0.42.03|28=0.42.04|29=0.42.05|30=0.42.06|31=0.43.01|32=0.43.02|33=0.43.03|34=0.43.04|35=0.43.05|36=0.44.01|37=0.44.02|38=0.44.03|39=0.44.04|40=0.44.05|41=0.44.06|42=0.44.07|#default={{current/version}}}} | + | |1=0.40.01|2=0.40.02|3=0.40.03|4=0.40.04|5=0.40.05|6=0.40.06|7=0.40.07|8=0.40.08|9=0.40.09|10=0.40.10|11=0.40.11|12=0.40.12|13=0.40.13|14=0.40.14|15=0.40.15|16=0.40.16|17=0.40.17|18=0.40.18|19=0.40.19|20=0.40.20|21=0.40.21|22=0.40.22|23=0.40.23|24=0.40.24|25=0.42.01|26=0.42.02|27=0.42.03|28=0.42.04|29=0.42.05|30=0.42.06|31=0.43.01|32=0.43.02|33=0.43.03|34=0.43.04|35=0.43.05|36=0.44.01|37=0.44.02|38=0.44.03|39=0.44.04|40=0.44.05|41=0.44.06|42=0.44.07|43=0.44.08|44=0.44.09|45=0.44.10|46=0.44.11|#default={{current/version}}}} |
|DF2012|v0.34 = {{#switch:{{{r}}} | |DF2012|v0.34 = {{#switch:{{{r}}} | ||
|1=0.34.01|2=0.34.02|3=0.34.03|4=0.34.04|5=0.34.05|6=0.34.06|7=0.34.07|8=0.34.08|9=0.34.09|10=0.34.10|#default=0.34.11}} | |1=0.34.01|2=0.34.02|3=0.34.03|4=0.34.04|5=0.34.05|6=0.34.06|7=0.34.07|8=0.34.08|9=0.34.09|10=0.34.10|#default=0.34.11}} |
Revision as of 02:22, 9 July 2018
(view - edit - history - purge) Documentation
{{nsv}} is the inverse of {{ns}}—it takes a namespace and returns the corresponding version.
Usage
{{nsv|1|release=|title=}}
Parameters
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: Error: Namespace not found. 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
, orv
. - "DF " — Accepts
dwarf fortress
,dwarffortress
, ordf
.
- "v" — Accepts
Examples
* {{nsv|DF2012}} * {{nsv|v0.31}} * {{nsv|40d|title=Dwarf Fortress}} * {{nsv|23a|title=v}} * {{nsv}} (equivalent to {{Current/version}})
- 0.34.11
- 0.31.09
- DF 0.28.121.40d
- v0.23.130.23a
- Error: Namespace not found (equivalent to 50.14)