When it appears by the petition that the plaintiff is entitled to relief consisting of restraining the commission or continuance of some act the commission or continuance of which during the litigation would produce great or irreparable injury to the plaintiff, or when during the litigation it appears that the defendant is doing, threatens to do, or is procuring to be done some act in violation of the plaintiff's rights respecting the subject of the action and tending to render the judgment ineffectual, a temporary order may be granted restraining the act. The order may also be granted in any case where it is specially authorized by statute and by municipal ordinance adopted pursuant to W.S. 15-1-103(a)(xlvi).
W.S. 1-28-102