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

3 years ago
---
Tag: [""]
Date: <% tp.date.now("YYYY-MM-DD") %>
DocType: &DT "Task"
3 years ago
Hierarchy:
location:
Priority:
Status:
StartDate:
DueDate:
NextReviewDate: &RD
3 years ago
TimeStamp:
fc-calendar: "D2D Calendar"
fc-date: *RD
fc-category: *DT
2 years ago
CollapseMetaTable: true
3 years ago
---
Parent::
3 years ago
&emsp;
<center>
<h6>Progress bar</h6>
</center>
3 years ago
`= "<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>" `
3 years ago
---
&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
3 years ago
&emsp;
---
&emsp;
### To-dos
&emsp;
- [ ] to-do1
- [ ] to-do2
&emsp;
---
&emsp;
### Dependencies
&emsp;
Link1
Link2
&emsp;
&emsp;