New Properties and templater prompts and commands?

Hi

Please excuse the ignorance on my part. I’m new to this. I think I figured out a way to copy the complete template.

---
Created: 
Title: Text
Subject: Text
---


---
<% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>


## Attendees
- John
- Hendrik
- 
## Agenda
- CallGate  

## Notes
- 

## Attachments


## Next meeting
- [ ] 

## Action Items

<% tp.file.cursor() %>


---
<%*
const shortTitle = "testing";
const subject = "Test subject";

tp.hooks.on_all_templates_executed(async () => {
	const filePos = await tp.file.find_tfile(tp.file.path(true));
	//const filePos = app.workspace.getActiveFile();
	console.log("file position", filePos);
	// get the creation date
	const createDate = await tp.date.now("YYYY-MM-DDTHH:mm:ss");
	// get the fileMetadata
	let fileCache = app.metadataCache.getFileCache(filePos).frontmatter;
	console.log("frontmatter cached", fileCache);
	// change the frontmatter 
	const properties = [
	    {key:'Title',  value: shortTitle, treatment: 'update'},
	    {key: 'Subject', value: subject, treatment: 'update'},
	    {key: 'Created', value: createDate, treatment: 'update'},
		{key: 'Tags', value: null, treatment: 'add'}
	];
	await tp.user.merge_frontmatter_function2(filePos, properties);
});
-%>