One way of passing an ordinance is by direct legislation. The steps include:
1) Draft an ordinance and make it part of a petition requesting that the attached proposed ordinance or resolution, without alteration, either be adopted by the common council or village board or be referred to a vote of the electors.
Read all steps here.