Well, I'm going to disagree a bit with everybody. Because of the small size of all the batteries you show in the pictures, mount them anywhere you want. Seat tube, down tube, under the top tube, handlebars, rear rack, in a backpack, whatever.
But of course, always better to mount 8 pounds in the mid frame, if your bike has a frame triangle. But my point is that up to about 10 pounds is pretty tolerable, requiring only for the rider to make a slight change in riding position even on highly technical, or steep off road riding. My current off road ride has a Y frame, making a frame mount difficult. I carry 8 pounds of lipo on a seatpost rack that does not wiggle, and I'm just fine. In a RACE, I would not be winning, but I can ride dirt as hard as I ever do no problems.
15 pounds back there, problem for dirt, not too bad for street commute. Big battery, you need mid mount. This is why I built this frame. I wanted to carry up to 40 pounds of battery in the frame, fore and aft, but concentrating the weight nearest the seat post as possible.
If you are making a street ride, and must carry a heavy battery, then split in half, and carried in panniers as low as possible works ok. As for width of a frame battery, I really think anything over 5 inches wide is for bikes you do not pedal. One 18650 wide is plenty narrow enough to pedal easily around, so a big triangle battery in the frame is the best bet for a large battery, if of course, your frame is that kind.