Standard codes, promulgated by the federal government, the state of Colorado or by any agency of either of them, or by any municipality within the state of Colorado, or by recognized trade or professional organizations, or amendments or revisions thereof, may be adopted with or without amendment by reference thereto in an enacting ordinance and without reading or publishing such codes in full. Such primary code, thus adopted, may in turn adopt by reference, in whole or in part, any secondary codes described therein. The enactment of ordinances adopting any said code or codes shall be as provided in section 5.10 herein. The publication thereof shall advise that copies and amendments are available for inspection at the office of the town clerk. Any penalty clause in said codes may be adopted only if set forth in full in the adopting ordinance, and the same shall be published along with the adopting ordinance or the title thereof.