Difference between revisions of "Template:Version order"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (fix switch (oops), add examples)
({{uc}} can't return a lowercase value)
 
Line 29: Line 29:
 
unknown: {{version order|unknown}}
 
unknown: {{version order|unknown}}
  
</noinclude>{{#switch:{{uc:{{{1}}}}}|DF2012=E|v0.31|V0.31=F|40D=G|23A=H|#default=D}}
+
</noinclude>{{#switch:{{uc:{{{1}}}}}|DF2012|V0.34=E|DF2010|V0.31=F|40D=G|23A=H|#default=D}}

Latest revision as of 18:04, 24 June 2014

returns a simple release ordering string for article versions:

Alphanumeric order:

  • 23a:Articles
  • 40d:Articles
  • DF2012:Articles
  • V0.31:Articles


Release order:

  • DF2012:Articles
  • V0.31:Articles
  • 40d:Articles
  • 23a:Articles

Supports up to 8 versions

df2012: E

V0.31: F

40D: G

23a: H

unknown: D

D