Docs IA 2.0: Update template.js API reference (#79490)
Merge template.js information from BYA and update API reference to
follow the convention.
Please merge this PR first: https://github.com/vercel/next.js/pull/79453
Closes:
https://linear.app/vercel/issue/DOC-4696/routing-section-layouts-and-templates