Called from Template:5e Monster.
{{5e Swarm Subtype|type1, type2, ...}}
Add'l Entries[edit]
|nocat= <!-- blank, true to skip categories -->
Example[edit]
{{5e Swarm Subtype|Humanoid, Elf, Drow, Foo, Bar}}
produces...
Humanoids (Elves, Drow, Foos, Bars)
Monstrosities