How to create template file and provide it to "-o=custom-columns-file" parameter

For formatting output we can use custom-columns but need to know how to create template file?
Meaning: Need to know, how to create the template file and provide it to “-o=custom-columns-file” parameter?

-o=custom-columns-file=Print a table using the custom columns template in the` file