With permission from the original creator I made a revamped version of the hazard image block. It works the same way as the component:hazards one, but it’s also backwards compatible. Here’s an example code for the new version:
[[include component:hazard-image-block name=IMAGEURL|caption=CAPTION|aggression=show|teleportation=show|transmutation=show]]
This would make one with the aggression, teleportation, and transmutation hazards. For different hazards just swap em with the ones you want. You can include any combination of hazards, and even some unofficial ones I added in that I found around the site, like the hallucinogen hazard. This should be a lot easier than the old one which you had to use spans and stuff. It was pretty easy to break. But as I said, you can still do that with this one. It’s the same thing: hazards=CODE.