Authority for the regulation authorized in § 14-54-1201 may be had by the passage of an ordinance in the following form:
"The city of ...............… ordains:
"Section 2. Any person, firm, or corporation violating any provision of this ordinance shall upon conviction be punished by ................…
"Section 3. All ordinances and parts of ordinances in conflict with this ordinance are hereby repealed; and this ordinance shall take effect ................… upon its adoption and publication."