The preview shows up here.
The builder knows a short list of templates and refuses anything else, so a typo does not become a comment that ignores nothing. Type node, vscode and you get a # node section with node_modules/, coverage/, npm-debug.log*, .env and .env.local, then a # vscode section with .vscode/* and the two exceptions that keep extensions.json and tasks.json.
Names are matched loosely. Next.js, next-js and nextjs all select the Next template, because dots and hyphens are removed before the lookup. Templates you can ask for: node, python, go, rust, nextjs, vscode, jetbrains, macos, windows, linux. Separate them with spaces, commas or plus signs. A name that is not in that list fails and the error repeats the list.
If two templates share a line, you get it once. node and nextjs both mention node_modules/, and the file contains that line a single time. The page does not write the file into a repository. You copy it to .gitignore.
node, vscode
# node\nnode_modules/\ncoverage/\nnpm-debug.log*\n.env\n.env.local\n\n# vscode\n.vscode/*\n!.vscode/extensions.json\n!.vscode/tasks.json
A closed list is stricter than a search box of every template on the internet, and a misspelled name fails instead of emitting an empty section.
node, python, go, rust, nextjs, vscode, jetbrains, macos, windows, linux. Dots and hyphens are ignored, so Next.js matches nextjs.
The name is rejected and the error lists the templates that exist. There is no Java section to emit.
Patterns are de-duplicated across sections. The heading for each template is still written.
It includes the lines in those templates: .DS_Store for macos, Thumbs.db for windows, *~ for linux, .idea/ for jetbrains. It is a starter file, not a complete dump of every tool you might install.