When a ship moves, it may transport any combination of fighters and ground forces, but the number of units it transports cannot exceed that ship’s capacity value.
Specific card abilities may override the general rule.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.