Files
thpeetz-notes/Resources/Templates/weekly-privat.md
T
2026-03-23 15:35:57 +01:00

81 lines
3.1 KiB
Markdown

```calendar-timeline
```
## Routinen der Woche
```dataview
TABLE WITHOUT ID
file.link as Datum,
choice(meditation = true, "✅", "❌") as Meditation,
choice(pushUps >= 10, "✅", "❌") as Liegestütz,
choice(plank >= 60, "✅", "❌") as Plank
FROM "Journal/Privat"
WHERE file.day >= date(<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %>) AND file.day <= date(<% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>)
SORT file.day ASC
```
> ### Woche [[<% tp.file.title %>|<%tp.date.now("ww", 0, tp.file.title, "YYYY-[W]WW")%>]] Ziele
> - Persönliche Ziele
> ---
> - Berufliche Ziele
> ---
> - Erledigtes
> ---
^<%tp.date.now("WW", 0, tp.file.title, "YYYY-[W]WW")%>i
#### [[<%tp.date.now("YYYY-MM", 0, tp.file.title, "YYYY-[W]WW")%>#^<%tp.date.now("MM", 0, tp.file.title, "YYYY-[W]WW")%>i|Monat]] |[[<%tp.date.now("YYYY-[Q]Q", 0, tp.file.title, "YYYY-[W]WW")%>#^q<%tp.date.now("Q", 0, tp.file.title, "YYYY-[W]WW")%>i|Quartal]] | [[<%tp.date.now("YYYY", 0, tp.file.title, "YYYY-[W]WW")%>## Jahresziele|Jahr]]
## Leseliste
![[Leseliste Thomas#Leseliste]]
## Aufgaben
> [!todo]- Aktive Aufgaben
>```tasks
>not done
>(happens on or before <% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>) AND NOT (scheduled <% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %> <% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>)
>path regex does not match /^Resources\/Templates\/.*/
>path regex does not match /^Übersicht\/.*/
>```
> [!hint]- Geplante Aufgaben
>```tasks
>not done
>scheduled <% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %> <% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>
>path regex does not match /^Resources\/Templates\/.*/
>path regex does not match /^Übersicht\/.*/
>```
> [!done]- Erledigte Aufgaben
>```dataview
>TASK
>WHERE completed AND completion >= date(<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %>) AND completion < date(<% tp.date.weekday("YYYY-MM-DD", 7, tp.file.title, "YYYY-[W]W") %>)
>```
## History
<%*
Array.from(Array(7).keys()).map((i) => {
date = tp.date.weekday("YYYY-MM-DD", i, tp.file.title, "YYYY-[W]W");
year = tp.date.weekday("YYYY", i, tp.file.title, "YYYY-[W]W");
month = tp.date.weekday("MM", i, tp.file.title, "YYYY-[W]W");
tR += `### ${date}\n`;
tR += `![[Journal/Privat/${year}/${month}/${date}#Journal]]\n\n`;
});
%>
## Geburtstage
```dataview
TABLE birthday as Geburtstag, truncate(string(date(today) - birthday),2, "") AS Alter
FROM "Infos/Kontakte"
WHERE birthday.month >= <% tp.date.weekday("MM", 0, tp.file.title, "YYYY-[W]W") %> AND birthday.day >= <% tp.date.weekday("DD", 0, tp.file.title, "YYYY-[W]W") %>
WHERE birthday.month <= <% tp.date.weekday("MM", 7, tp.file.title, "YYYY-[W]W") %> AND birthday.day < <% tp.date.weekday("DD", 7, tp.file.title, "YYYY-[W]W") %>
SORT birthday.day
```
> [!note]- Erzeugte Notizen
> ```dataview
> LIST
> WHERE file.cday >= date(<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-[W]W") %>) AND file.cday < date(<% tp.date.weekday("YYYY-MM-DD", 6, tp.file.title, "YYYY-[W]W") %>)
>```