Separates out functionality for {{Infobox officeholder}}