User:Ipuvaepe/linkif

if 2 is valid and 3 is invalid or not present, link the text if 2 is invalid and 3 is valid, link the text otherwise do not link the text