You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
1.1 KiB

---
Tag: [""]
Date: <% tp.date.now("YYYY-MM-DD") %>
DocType: &DT "Task"
Hierarchy:
location:
Priority:
Status:
StartDate:
DueDate:
NextReviewDate: &RD
TimeStamp:
fc-calendar: "D2D Calendar"
fc-date: *RD
fc-category: *DT
CollapseMetaTable: true
---
Parent::
&emsp;
<center>
<h6>Progress bar</h6>
</center>
`= "<center><progress value='" + (length(filter(this.file.tasks.completed, (t) => t = true)) / length(this.file.tasks)) * 100 + "' max='100'></progress>" + "<br><h6>" + round((length(filter(this.file.tasks.completed, (t) => t = true)) / length(this.file.tasks)) * 100) + "% completed</h6></center>" `
---
&emsp;
```button
name Edit Task parameters
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
^button-<% tp.file.title %>TaskEdit
```button
name Save
type command
action Save current file
id Save
```
^button-<% tp.file.title %>TSave
&emsp;
# <% tp.file.title %>
&emsp;
> [!summary]+
> Loret ipsum
&emsp;
---
&emsp;
### To-dos
&emsp;
- [ ] to-do1
- [ ] to-do2
&emsp;
---
&emsp;
### Dependencies
&emsp;
Link1
Link2
&emsp;
&emsp;