Changed how Resources work to reflect new style
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<%*
|
||||
let title = await tp.system.prompt("Report Title");
|
||||
let num = await tp.system.prompt("Report Number");
|
||||
let locall = await tp.system.prompt("Local Link");
|
||||
let remotel = await tp.system.prompt("Remote Link");
|
||||
-%>
|
||||
---
|
||||
Type: Resource
|
||||
Resource Type: Report
|
||||
Project: <% tp.file.folder(true).split('/')[1] %>
|
||||
Task: <% tp.file.folder(false) %>
|
||||
Publisher:
|
||||
Document Number: <% num %>
|
||||
Title: <% title %>
|
||||
Author:
|
||||
Local File Link: <% locall %>
|
||||
Remote File Link: <% remotel %>
|
||||
Description:
|
||||
Status:
|
||||
Classification:
|
||||
Reviewed: False
|
||||
Date Created: <% tp.date.now("DD-MMM-YYYY") %>
|
||||
---
|
||||
<%* await tp.file.rename("Resource⸬Report-" + tp.date.now("DDMMYYYYHHMMSS")) %>
|
||||
# <% num %> - <% title %>
|
||||
|
||||
>[!summary] [[`link here`|<%title%>]]
|
||||
> !['embed here`]
|
||||
|
||||
> [!notes] [[Resource⸬Report-<% tp.date.now("DDMMYYYYHHMMSS") %>-Notes]]
|
||||
> ![[Resource⸬Report-<% tp.date.now("DDMMYYYYHHMMSS") %>-Notes]]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user