It is possible to apply a template at the level of a creative or a position. You can combine both levels.
A creative template is a piece of code that wraps around a specific creative or format, such as an expandable leaderboard – independent of the position. The piece of code enables, for example, the expandable functionality of a leaderboard that a user interaction triggers.
A position template is a piece of code that wraps around a specific position. Therefore it also wraps around all ads that the position serves – independent of the creative or format. For example, a position template can always add the word "Advertisement" or "Sponsored" or add extra elements like a coloured border or frame.