I've read on diablo wiki that a rare item can have between 2-6 affixes with a maximum amount of each 3 suffixes and prefixes. I know from experience that a magic item can have 1-2 affixes and pools from all rare affixes, but can have it's own unique affixes, that can never happen on a rare. My goal is to see what items are worth picking up and I need to know how many affixes it can get. Does it depend on characterlevel or itemlevel or something else? Where can I read up on this? Thanks in advance!
Edit: White/grey items can have affixes as well like necro wands, sorc staffs, druid helms, ...