Substitution of some attributive or suggestive word for what is actually meant. Metonymy differs from synecdoche in that synecdoche references an actual piece of the original; metonymy is about an attribute or something related to but not part of the original. Such as:

crown for royalty
mitre for bishop
wealth for rich people
brass for military officers
bottle for wine
pen for writer