Jump to content

Module:Version: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 50: Line 50:
   local unknown = not version
   local unknown = not version
   local version_b = ""
   local version_b = ""
   if version >= 23 then
  _, _, THIS_major, THIS_minor = string.find( CURRENT, "(%d+)%.(%d+)" )
   if THIS_major >= 23 then
   version_b = "EA"
   version_b = "EA"
   elseif version < 23 then
   elseif THIS_major == 22 and THIS_minor >= 19 then
   version_b = "Beta"
   version_b = "Beta"
  elseif THIS_major == 22 and THIS_minor < 19 then
  version_b = "Pre-Beta"
  elseif THIS_major < 22 then
  version_b = "Alpha"
   end
   end
   local bgcolor = "fc6"
   local bgcolor = "fc6"
346

edits