Forum:I need help with this template

I'm creating this template:

http://computersecurity.wikia.com/wiki/Template:Infobox_malware

I need to make "Type" and "Affected platforms" mandatory and I want the rest to be optional. Can someone help me with this?