Template:Infobox algorithm