First, I would recommend reading through the pw.scf input file description, provided here.
The relevant parameters are in the &SYSTEM namelist of the input file. To do a basic, linear spin-polarized calculation, you would need to set at least two additional parameters. If I have two types of atom, say, Fe and O, then if Fe is listed first under atomic types (it is type '1'), then the additional parameters you need to set are:
nspin = 2
starting_magnetization(1) = 0.5
If you want to change the magnetic ordering, such as the various antiferromagnetic possibilities, or in general study different magnetizations on different atoms of the same type, you need to define different atomic types for the same element, such as Fe1, Fe2, etc. So you could have
nspin = 2
starting_magnetization(1) = 0.5
starting_magnetization(2) = -0.5
Where atomic type 1 is "Fe1", and type 2 is "Fe2". Keep in mind this isn't a constraint, it's just a starting point that hopefully leads you to a certain local minimum.
There are many parameters relevant for magnetic systems. It's worth going through the documentation carefully to understand what is available (non-collinear magnetism, spin-orbit coupling, starting charge, occupation matrices with DFT+U, etc.)
I can't comment on half-metallicity prediction since I'm not familiar with the topic, but hopefully this can get you going in the right direction with starting your calculations.