Thread:Extension talk:ParserFunctions/ if:A or B display text/reply

untested, but should work ;-)