Mg–Al hydroxide intercalated ionic liquids for quasi-solid-state lithium batteries