Preliminary attachment v. Replevin

Below is a table showing a comparison between a writ of injunction and a writ of prohibition.

 Against whom?
Generally directed against a party

Generally directed against a court, tribunal or personal exercising judicial powers
 On what ground?
Does not involve the jurisdiction of the court

May be on the ground that court is acting without or in excess of jurisdiction
 Nature of the action?
May be the main action or provisional remedy only

Always a main action