代わりに => instead of; as a substitute for​; in exchange for; in return for N3
に代わって => instead of; replacing; on behalf of ~ N3
[代「か」]わり => Not A, but B, B in place of A, Instead of A, B; In exchange for A, B N3
Comparison, Exchange
...なり...なり => [A] or [B] or~ N1
Selection
...なりなんなり... => any,anything,whatever N1
Vague
~ふり(~振り)      => to pretend; to act as if N3
通り (とおり/どおり) => in the same way as; in the way; as ~ N2
たり~たり => do such things as A and B N5
限り => to limit... N3
Limit, limit
... ばかり => About … N2
More or less in quantity
~の至り => extremely ~ N1
The highest (comparative) level
~なりに/~なりの      => suitable; in one's own way / style N1