How to add tabs on infocards?

Does anyone know how to add tabs on infocards?

Adding infocards will reduce the amount of space that an infocard will take.
A great example of this is the Warrior class page