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:Ns-rel-id"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(use module:versions)
(+50.02)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:versions/parserFunctions|getIndexFor|{{{1}}}}}<noinclude>
+
<includeonly>{{#invoke:versions/parserFunctions|getIndexFor|{{{1}}}|{{{2|}}}}}</includeonly><noinclude>
 
Returns a major release ID given a namespace name.
 
Returns a major release ID given a namespace name.
  
Line 8: Line 8:
 
<nowiki>{{ns-rel-id|0.47.03}}</nowiki> &rarr; {{ns-rel-id|0.47.03}}
 
<nowiki>{{ns-rel-id|0.47.03}}</nowiki> &rarr; {{ns-rel-id|0.47.03}}
  
 +
<nowiki>{{ns-rel-id|50.02}}</nowiki> &rarr; {{ns-rel-id|50.02}}
  
 
[[Category:Version templates]]
 
[[Category:Version templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:38, 20 December 2022

Returns a major release ID given a namespace name.

{{ns-rel-id|23a}} → 1

{{ns-rel-id|v0.31}} → 3

{{ns-rel-id|0.47.03}} → 5

{{ns-rel-id|50.02}} → 6