the battleship came into action in the two world wars