Optional-use keywords and parameters are enclosed in square brackets in syntax diagrams with either/or options separated by a vertical bar (|), like this:
EXAMPLEFUNC(parameter [,optionalparameter] [,OPTIONAL | WORD])