Template:Optional

[]

Use this template where you want to show an optional parameter to a function.

Example:

Optional value

Result:

Optional value