Alter template display-name

Moved flags block before first library use to ensure flags inheritance can be done from more accurate variables