Refactor inline() in IconPlugin to return flexible params