Ive added both an answer for live templates and file templates. In the file template I put a link to the syntax.
You can always just google the name of the setting (for instance "File and code templates phpstorm") and you will most likely get a hit with the official docs