Difference between revisions of "Template:Version order"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (add case insensitivity)
m (fix switch (oops), add examples)
Line 15: Line 15:
 
*40d:Articles
 
*40d:Articles
 
*23a:Articles
 
*23a:Articles
 +
 +
----
 +
Supports up to 8 versions
  
 
df2012: {{version order|df2012}}
 
df2012: {{version order|df2012}}
Line 20: Line 23:
 
V0.31: {{version order|V0.31}}
 
V0.31: {{version order|V0.31}}
  
</noinclude>{{#switch:{{uc:{{{1}}}}}|DF2012=E|v0.31|V0.31=F|40d=G|23a=H|#default=D}}
+
40D: {{version order|40D}}
 +
 
 +
23a: {{version order|23a}}
 +
 
 +
unknown: {{version order|unknown}}
 +
 
 +
</noinclude>{{#switch:{{uc:{{{1}}}}}|DF2012=E|v0.31|V0.31=F|40D=G|23A=H|#default=D}}

Revision as of 20:12, 24 March 2013

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