Infobox display refactoring