Multiple vertically stacked textures in a single material

I’m not very good with the material editor. I’m looking for a way to take 5 separate textures in a material and combine them in such a way that the end result has them stacked vertically. Then I’d like to use a panner on them. And I can’t seem to guess my way through this. All the posts I’ve found form searching deal with layering textures on top of eachother.