Changes

Add module page title retrieval
Line 26: Line 26:  
return ship
 
return ship
 
end
 
end
 +
end
 +
 +
function Ship:get_module(name)
 +
if name == nil then
 +
return nil
 +
end
 +
return mw.ustring.format('Module:%s', name)
 
end
 
end
  
Anonymous user