Under the legislation approved Thursday by the Legislature’s upper chamber, only those 18 and older will be able to get married in Missouri.