Module:StringCompare

local p = {}

function p.base( ... )

p.current_frame = mw.getCurrentFrame

local args = { ... }	if args[1] == p.current_frame then args = require( 'Module:ProcessArgs' ).merge( true ) else args = args[1] end if args[1] == nil then return 0 end if args[2] == nil then return 0 end local a = ( args[1] .. '' ):lower local b = ( args[2] .. '' ):lower

if a < b then return -1 end if a > b then return 1 end if a == b then return 0 end end

return p