Quay
A solid structure parallel to the shore with a vertical face, retaining the ground behind it. Shipyard outfitting berths are usually quays.
Wharf
Also parallel to the shore, but often an open structure on piles with a deck. Usage overlaps with quay, particularly in American English.
Pier and jetty
Both project from the shore. A pier gives berths on its sides. A jetty may be a berthing structure, as at tanker terminals, or a breakwater-like structure guiding currents at a harbour entrance.
Why it matters in a project
Deck load ratings, bollard capacities, crane access and water depth differ. They decide where a vessel can be outfitted, where heavy equipment can be lifted and where harbour tests can be run.