Yeah, it can be confusing when it comes to term like sump. As you notice above, a sump can have a W/D (wet/dry), but a W/D can have a sump portion. I feel that is is best to consider the function definition aspect, but many disagree with me on this.
A W/D is a filter that, as the name implies, a wet and dry portion. It many purpose (funcation) is to grow bacteria that convert the ammonia to less toxic chemical (nitrite and nitrate). It is still used for fish-only (FO) setup, but it is not useful in reef setup or when sufficient amont of live rock and live sand is present.
A sump is any container that the main tank overflow into. Its purpose (function) is to hold the extra water in the system and provide extra space for skimmer, reactor, heater, chiller coil, etc. In addition to hardwares, other also put macroalgae in the sump. Light is needed if you want the algae to grow. Others also put LR and LS in the sump.
To confuse the matter a bit more, a refugium is where a reefkeeper provide a santuary for macroalgae and critters (isopods, and other *pods) to grow and reproduce without predation from the residents of the main tank. The refugium can be a part of the display tank separated from the rest of the tank by rockwork or partition. More commonly, it is a separate container from which the water flow into the main tank by gravity. Some may refer to the area in which the macroalgae grows in the sump (see above) a refugium, but IMO, that is just a sump and not a refug.
I hope this helps more than confuses you...