Self‐Assembled Electroluminescent Polymers Derived from Terpyridine‐Based Moieties