Return a complete line of formatted text for a given type and ID, or if no ID, first line matching type.
See Implementation
Return a complete line of formatted text for a given type and ID, or if no ID, first line matching type.