Same code, you just need an image for the occupation.
Pages I know of with images specifically for occupation stickers -- mine (I provide the template code for most of them); Joelle's (ignore that many say "religion", that's a hangover from when the religion template was the "anything goes" sticker); and Natalie's.
As can be seen by comments on my page, if you have an image to suggest, and don't want to start up your own page for them, feel free to let me know and I will add them to the list.
Likewise, if you need an image and cannot find one, I am happy to work with you to either create one from scratch/images on my storage disks, or to adapt one from other images that are close to what you want
I know there are other images (someone has some Swedish occupations, I think), but have no idea who has them on what page/s..
Edited to add --
And having said that, I found it:
https://www.wikitree.com/wiki/Space:Swedish_Profession_Templates