The main documentation is available on the cluster via module help <category>/<softwarename>. Most software modules for applications provide working example batch scripts.
module help <category>/<softwarename>