For SD 0: insert in source editor {{Class 0}} in the place you want the template to be.
For SD 1: the same but instead of "0" you put "1"
Same goes for others up to 5.
If the level has non-entity hazards, in {{}}'s after number you put "e", for ex: {{Class 1e}}
SD 0 hasnt enroivemental template. This means, if you insert {{Class 0e}] the template just wont work.