Jsou popsány deriváty triazolu vzorce I, ve kterém substituenty mají význam vysvetlený v popise. Také je popsán farmaceutický prostredek s jeho obsahem a pouzití uvedených derivátu pro výrobu farmaceutického prostredku pro lécení chorob, které reagují na antagonisty nebo agonisty D.sub.3.n. dopaminového receptoru.In the present invention, there are described triazole derivatives of the general formula I, in which the substituents have the meanings given in the description. There is also described a pharmaceutical composition containing the triazole derivative of the general formula I as well as the use of the derivatives for the preparation of a pharmaceutical composition intended for the treatment of diseases, which respond to the influence of antagonists or agonists of dopamine-Di3-receptor.