You need to base master pages on on other master pages, building the
elements you need on each one.
Thanks for your comment!
I have 10 masters which each needs 20 "lower masters". Isn't there any other solution to solve the problem that to create millions of masters?
Maybe you need to go the other direction, start with one or two masters that have everything, then make child masters on which you delete items.