Development and loss of ferromagnetism controlled by the interplay of Ge concentration and Mn vacancies in structurally modulated Y4Mn(1-x)Ga(12-y)Ge(y).