He was a leader in name only, lacking the qualities needed to inspire others.
She was considered an expert in name only, as her knowledge on the subject was limited.
He claimed to be a friend in name only, never really being there when I needed him.
They were business partners in name only, rarely collaborating on any projects together.
They were a family in name only, with constant conflicts and lack of support for each other.