New Resource : Lists
This commit is contained in:
Vendored
+36
@@ -704,6 +704,42 @@
|
||||
"kind": "prompt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "263d7a83-ef63-469a-8dda-32b5d82c9fc5",
|
||||
"name": "Create⸬Resource⸬List",
|
||||
"type": "Template",
|
||||
"command": false,
|
||||
"templatePath": "99 Toolkit/Templates/Project-Related/Work-Related/Resources/Resource⸬List.md",
|
||||
"fileNameFormat": {
|
||||
"enabled": true,
|
||||
"format": "~Resources/Resource.md"
|
||||
},
|
||||
"discoverExistingNotesBeforeCreate": false,
|
||||
"folder": {
|
||||
"enabled": true,
|
||||
"folders": [],
|
||||
"chooseWhenCreatingNote": false,
|
||||
"createInSameFolderAsActiveFile": true,
|
||||
"chooseFromSubfolders": false
|
||||
},
|
||||
"appendLink": {
|
||||
"enabled": true,
|
||||
"placement": "replaceSelection",
|
||||
"requireActiveFile": false,
|
||||
"linkType": "link"
|
||||
},
|
||||
"copyLinkToClipboard": false,
|
||||
"openFile": true,
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"mode": "default",
|
||||
"focus": true
|
||||
},
|
||||
"fileExistsBehavior": {
|
||||
"kind": "prompt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "e23397f4-549d-4e80-9420-98e40e9087fd",
|
||||
"name": "Create⸬Resource⸬Report-Software",
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<%*
|
||||
let title = await tp.system.prompt("Title");
|
||||
let description = await tp.system.prompt("Description");
|
||||
-%>
|
||||
---
|
||||
Type: Resource
|
||||
Resource Type: List
|
||||
Title: <% title %>
|
||||
Description: <% description %>
|
||||
Status:
|
||||
Date Created: <% tp.date.now("DD-MM_MMM-YYYY") %>
|
||||
Date Modified: <% tp.file.last_modified_date("DD-MM_MMM-YYYY") %>
|
||||
---
|
||||
<%* await tp.file.rename("Resource⸬List-" + tp.date.now("DDMMYYYYHHMMSS")) %>
|
||||
|
||||
# <% title %>
|
||||
|
||||
Reference in New Issue
Block a user