111
This commit is contained in:
0
Templater/.drive_sync/.id_914954161118820369
Normal file
0
Templater/.drive_sync/.id_914954161118820369
Normal file
187
Templater/Daily_Note 템플릿 1-1.md
Normal file
187
Templater/Daily_Note 템플릿 1-1.md
Normal file
@@ -0,0 +1,187 @@
|
||||
---
|
||||
date_daily: <% tp.file.title.slice(0,10) %>
|
||||
achievement:
|
||||
reading_book:
|
||||
emotion:
|
||||
important_date: false
|
||||
tags:
|
||||
- daily
|
||||
daily_review:
|
||||
reading_page:
|
||||
exercise: false
|
||||
---
|
||||
**올해 남은 일: <%*
|
||||
let edate = moment("12-31", "MM-DD");
|
||||
let from = moment().startOf('day');
|
||||
edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>
|
||||
|
||||
*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
|
||||
tR += '❮ ';
|
||||
tR += '[[' + currentMoment.format('YYYY|YYYY년') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MM월') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('ww[주]') + ']]';
|
||||
tR += ' ❯';
|
||||
tR += '\n';
|
||||
tR += '❮❮ ';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]' + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += ' ❯❯';
|
||||
%>
|
||||
|
||||
|
||||
<% tp.web.daily_quote() %>
|
||||
|
||||
|
||||
### 일일업무(오전)
|
||||
![[211. 일일업무#오전]]
|
||||
### 일일업무(오후)
|
||||
![[211. 일일업무#오후]]
|
||||
### 주간업무(<% tp.file.title.slice(11,12) %>)
|
||||
![[212. 주간업무#<% tp.file.title.slice(11,12) %>]]
|
||||
### 월간업무
|
||||
![[213. 월간업무#<%*
|
||||
function getWeekOfMonth(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth();
|
||||
const firstDayOfMonth = new Date(year, month, 1);
|
||||
const firstWeekdayOfMonth = firstDayOfMonth.getDay();
|
||||
const dayOfMonth = date.getDate();
|
||||
|
||||
const offset = (firstWeekdayOfMonth === 0 ? 6 : firstWeekdayOfMonth - 1);
|
||||
const weekNumber = Math.floor((dayOfMonth + offset - 1) / 7) + 1;
|
||||
|
||||
return weekNumber;
|
||||
}
|
||||
|
||||
const dateStr = moment(tp.file.title, "YYYY-MM-DD");
|
||||
const date = new Date(dateStr);
|
||||
|
||||
const weekOfMonth = getWeekOfMonth(date);
|
||||
tR += `${weekOfMonth}주차`;
|
||||
%>]]
|
||||
### 분기업무
|
||||
![[214. 분기업무#4분기]]
|
||||
### 반기업무
|
||||
![[215. 반기업무#후반기]]
|
||||
### 연간업무
|
||||
![[216. 연간업무]]
|
||||
|
||||
|
||||
### 내일 기억할 일
|
||||
|
||||
### 오늘 기억할 일
|
||||
<%*
|
||||
let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)");
|
||||
let section = "### 내일 기억할 일";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let yfile = tp.file.find_tfile(yesterday);
|
||||
if(yfile) {
|
||||
const content = await app.vault.read(yfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n###', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
|
||||
### 아침
|
||||
#### 오늘의 확언 ^[확실히 말하다.]
|
||||
-
|
||||
#### 오늘의 목표
|
||||
-
|
||||
-
|
||||
- [ ]
|
||||
- [ ]
|
||||
|
||||
#### 할 일 추가하기
|
||||
|
||||
- [ ]
|
||||
|
||||
### 오늘 끝내야 할 일
|
||||
```tasks
|
||||
due on or before <% tp.file.title.slice(0,10) %>
|
||||
filter by function task.file.folder.includes("10. Planner")
|
||||
filter by function !task.file.folder.includes("templates")
|
||||
not done
|
||||
sort by priority
|
||||
```
|
||||
#### 업무 할 일
|
||||
```tasks
|
||||
tag include #업무
|
||||
not done
|
||||
```
|
||||
#### 개인 할 일
|
||||
```tasks
|
||||
tag include #개인
|
||||
not done
|
||||
```
|
||||
#### 반복 할 일
|
||||
```tasks
|
||||
is recurring
|
||||
not done
|
||||
has tags
|
||||
```
|
||||
|
||||
#### 언젠가 할 일
|
||||
```tasks
|
||||
no due date
|
||||
not done
|
||||
path does not include inbox
|
||||
description regex does not match /^$/
|
||||
```
|
||||
|
||||
#### 오늘 완료한 일
|
||||
```tasks
|
||||
done <% tp.file.title.slice(0,10) %>
|
||||
```
|
||||
|
||||
### 독서
|
||||
- 읽은 책
|
||||
- 읽은 페이지
|
||||
|
||||
### 운동
|
||||
-
|
||||
|
||||
### 하루 마무리
|
||||
#### 오늘 배운 것들
|
||||
-
|
||||
-
|
||||
#### 오늘 감사한 일
|
||||
>[!note]
|
||||
>
|
||||
#### 일기
|
||||
>[!note]
|
||||
|
||||
#### 오늘요약
|
||||
>[!note]
|
||||
>
|
||||
>^summary
|
||||
|
||||
### 오늘 작성한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc
|
||||
|
||||
```
|
||||
|
||||
### 오늘 수정한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc
|
||||
|
||||
|
||||
```
|
||||
|
||||
187
Templater/Daily_Note 템플릿 1.md
Normal file
187
Templater/Daily_Note 템플릿 1.md
Normal file
@@ -0,0 +1,187 @@
|
||||
---
|
||||
date_daily: <% tp.file.title.slice(0,10) %>
|
||||
achievement:
|
||||
reading_book:
|
||||
emotion:
|
||||
important_date: false
|
||||
tags:
|
||||
- daily
|
||||
daily_review:
|
||||
reading_page:
|
||||
exercise: false
|
||||
---
|
||||
**올해 남은 일: <%*
|
||||
let edate = moment("12-31", "MM-DD");
|
||||
let from = moment().startOf('day');
|
||||
edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>
|
||||
|
||||
*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
|
||||
tR += '❮ ';
|
||||
tR += '[[' + currentMoment.format('YYYY|YYYY년') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MM월') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('ww[주]') + ']]';
|
||||
tR += ' ❯';
|
||||
tR += '\n';
|
||||
tR += '❮❮ ';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]' + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += ' ❯❯';
|
||||
%>
|
||||
|
||||
|
||||
<% tp.web.daily_quote() %>
|
||||
|
||||
|
||||
### 일일업무(오전)
|
||||
![[211. 일일업무#오전]]
|
||||
### 일일업무(오후)
|
||||
![[211. 일일업무#오후]]
|
||||
### 주간업무(<% tp.file.title.slice(11,12) %>)
|
||||
![[212. 주간업무#<% tp.file.title.slice(11,12) %>]]
|
||||
### 월간업무
|
||||
![[213. 월간업무#<%*
|
||||
function getWeekOfMonth(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth();
|
||||
const firstDayOfMonth = new Date(year, month, 1);
|
||||
const firstWeekdayOfMonth = firstDayOfMonth.getDay();
|
||||
const dayOfMonth = date.getDate();
|
||||
|
||||
const offset = (firstWeekdayOfMonth === 0 ? 6 : firstWeekdayOfMonth - 1);
|
||||
const weekNumber = Math.floor((dayOfMonth + offset - 1) / 7) + 1;
|
||||
|
||||
return weekNumber;
|
||||
}
|
||||
|
||||
const dateStr = moment(tp.file.title, "YYYY-MM-DD");
|
||||
const date = new Date(dateStr);
|
||||
|
||||
const weekOfMonth = getWeekOfMonth(date);
|
||||
tR += `${weekOfMonth}주차`;
|
||||
%>]]
|
||||
### 분기업무
|
||||
![[214. 분기업무#4분기]]
|
||||
### 반기업무
|
||||
![[215. 반기업무#후반기]]
|
||||
### 연간업무
|
||||
![[216. 연간업무]]
|
||||
|
||||
|
||||
### 내일 기억할 일
|
||||
|
||||
### 오늘 기억할 일
|
||||
<%*
|
||||
let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)");
|
||||
let section = "### 내일 기억할 일";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let yfile = tp.file.find_tfile(yesterday);
|
||||
if(yfile) {
|
||||
const content = await app.vault.read(yfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n###', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
|
||||
### 아침
|
||||
#### 오늘의 확언 ^[확실히 말하다.]
|
||||
-
|
||||
#### 오늘의 목표
|
||||
-
|
||||
-
|
||||
- [ ]
|
||||
- [ ]
|
||||
|
||||
#### 할 일 추가하기
|
||||
|
||||
- [ ]
|
||||
|
||||
### 오늘 끝내야 할 일
|
||||
```tasks
|
||||
due on or before <% tp.file.title.slice(0,10) %>
|
||||
filter by function task.file.folder.includes("10. Planner")
|
||||
filter by function !task.file.folder.includes("templates")
|
||||
not done
|
||||
sort by priority
|
||||
```
|
||||
#### 업무 할 일
|
||||
```tasks
|
||||
tag include #업무
|
||||
not done
|
||||
```
|
||||
#### 개인 할 일
|
||||
```tasks
|
||||
tag include #개인
|
||||
not done
|
||||
```
|
||||
#### 반복 할 일
|
||||
```tasks
|
||||
is recurring
|
||||
not done
|
||||
has tags
|
||||
```
|
||||
|
||||
#### 언젠가 할 일
|
||||
```tasks
|
||||
no due date
|
||||
not done
|
||||
path does not include inbox
|
||||
description regex does not match /^$/
|
||||
```
|
||||
|
||||
#### 오늘 완료한 일
|
||||
```tasks
|
||||
done <% tp.file.title.slice(0,10) %>
|
||||
```
|
||||
|
||||
### 독서
|
||||
- 읽은 책
|
||||
- 읽은 페이지
|
||||
|
||||
### 운동
|
||||
-
|
||||
|
||||
### 하루 마무리
|
||||
#### 오늘 배운 것들
|
||||
-
|
||||
-
|
||||
#### 오늘 감사한 일
|
||||
>[!note]
|
||||
>
|
||||
#### 일기
|
||||
>[!note]
|
||||
|
||||
#### 오늘요약
|
||||
>[!note]
|
||||
>
|
||||
>^summary
|
||||
|
||||
### 오늘 작성한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc
|
||||
|
||||
```
|
||||
|
||||
### 오늘 수정한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc
|
||||
|
||||
|
||||
```
|
||||
|
||||
159
Templater/Daily_Note 템플릿 2-1.md
Normal file
159
Templater/Daily_Note 템플릿 2-1.md
Normal file
@@ -0,0 +1,159 @@
|
||||
---
|
||||
date_daily: <% tp.file.title.slice(0,10) %>
|
||||
achievement:
|
||||
reading_book:
|
||||
emotion:
|
||||
important_date: false
|
||||
tags:
|
||||
- daily
|
||||
daily_review:
|
||||
reading_page:
|
||||
exercise: false
|
||||
---
|
||||
**올해 남은 일: <%*
|
||||
let edate = moment("12-31", "MM-DD");
|
||||
let from = moment().startOf('day');
|
||||
edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>
|
||||
|
||||
*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
|
||||
tR += '❮ ';
|
||||
tR += '[[' + currentMoment.format('YYYY|YYYY년') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MM월') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('ww[주]') + ']]';
|
||||
tR += ' ❯';
|
||||
tR += '\n';
|
||||
tR += '❮❮ ';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]' + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += ' ❯❯';
|
||||
%>
|
||||
|
||||
|
||||
<% tp.web.daily_quote() %>
|
||||
|
||||
|
||||
### 일일업무(오전)
|
||||
![[211. 일일업무#오전]]
|
||||
### 일일업무(오후)
|
||||
![[211. 일일업무#오후]]
|
||||
### 주간업무(<% tp.file.title.slice(11,12) %>)
|
||||
![[212. 주간업무#<% tp.file.title.slice(11,12) %>]]
|
||||
### 월간업무
|
||||
![[213. 월간업무#<%*
|
||||
function getWeekOfMonth(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth();
|
||||
const firstDayOfMonth = new Date(year, month, 1);
|
||||
const firstWeekdayOfMonth = firstDayOfMonth.getDay();
|
||||
const dayOfMonth = date.getDate();
|
||||
|
||||
const offset = (firstWeekdayOfMonth === 0 ? 6 : firstWeekdayOfMonth - 1);
|
||||
const weekNumber = Math.floor((dayOfMonth + offset - 1) / 7) + 1;
|
||||
|
||||
return weekNumber;
|
||||
}
|
||||
|
||||
const dateStr = moment(tp.file.title, "YYYY-MM-DD");
|
||||
const date = new Date(dateStr);
|
||||
|
||||
const weekOfMonth = getWeekOfMonth(date);
|
||||
tR += `${weekOfMonth}주차`;
|
||||
%>]]
|
||||
### 분기업무
|
||||
![[214. 분기업무#3분기]]
|
||||
### 반기업무
|
||||
![[215. 반기업무#후반기]]
|
||||
### 연간업무
|
||||
![[216. 연간업무]]
|
||||
|
||||
![[Taskido/demo_file|demo_file]]
|
||||
|
||||
![[2025년 월력형 메모형 일정.canvas|2025년 월력형 메모형 일정]]
|
||||
|
||||
### 내일 기억할 일
|
||||
|
||||
### 오늘 기억할 일
|
||||
<%*
|
||||
let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)");
|
||||
let section = "### 내일 기억할 일";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let yfile = tp.file.find_tfile(yesterday);
|
||||
if(yfile) {
|
||||
const content = await app.vault.read(yfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n###', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
|
||||
### 아침
|
||||
#### 오늘의 확언 ^[확실히 말하다.]
|
||||
-
|
||||
#### 오늘의 목표
|
||||
-
|
||||
-
|
||||
- [ ]
|
||||
- [ ]
|
||||
|
||||
#### 할 일 추가하기
|
||||
|
||||
- [ ]
|
||||
|
||||
|
||||
#### 오늘 완료한 일
|
||||
```tasks
|
||||
done <% tp.file.title.slice(0,10) %>
|
||||
```
|
||||
|
||||
### 독서
|
||||
- 읽은 책
|
||||
- 읽은 페이지
|
||||
|
||||
### 운동
|
||||
-
|
||||
|
||||
### 하루 마무리
|
||||
#### 오늘 배운 것들
|
||||
-
|
||||
-
|
||||
#### 오늘 감사한 일
|
||||
>[!note]
|
||||
>
|
||||
#### 일기
|
||||
>[!note]
|
||||
>
|
||||
|
||||
#### 오늘요약
|
||||
>[!note]
|
||||
>
|
||||
>^summary
|
||||
|
||||
### 오늘 작성한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc
|
||||
|
||||
```
|
||||
|
||||
### 오늘 수정한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc
|
||||
|
||||
|
||||
```
|
||||
|
||||
159
Templater/Daily_Note 템플릿 2.md
Normal file
159
Templater/Daily_Note 템플릿 2.md
Normal file
@@ -0,0 +1,159 @@
|
||||
---
|
||||
date_daily: <% tp.file.title.slice(0,10) %>
|
||||
achievement:
|
||||
reading_book:
|
||||
emotion:
|
||||
important_date: false
|
||||
tags:
|
||||
- daily
|
||||
daily_review:
|
||||
reading_page:
|
||||
exercise: false
|
||||
---
|
||||
**올해 남은 일: <%*
|
||||
let edate = moment("12-31", "MM-DD");
|
||||
let from = moment().startOf('day');
|
||||
edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>
|
||||
|
||||
*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
|
||||
tR += '❮ ';
|
||||
tR += '[[' + currentMoment.format('YYYY|YYYY년') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MM월') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('ww[주]') + ']]';
|
||||
tR += ' ❯';
|
||||
tR += '\n';
|
||||
tR += '❮❮ ';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]' + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += ' ❯❯';
|
||||
%>
|
||||
|
||||
|
||||
<% tp.web.daily_quote() %>
|
||||
|
||||
|
||||
### 일일업무(오전)
|
||||
![[211. 일일업무#오전]]
|
||||
### 일일업무(오후)
|
||||
![[211. 일일업무#오후]]
|
||||
### 주간업무(<% tp.file.title.slice(11,12) %>)
|
||||
![[212. 주간업무#<% tp.file.title.slice(11,12) %>]]
|
||||
### 월간업무
|
||||
![[213. 월간업무#<%*
|
||||
function getWeekOfMonth(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth();
|
||||
const firstDayOfMonth = new Date(year, month, 1);
|
||||
const firstWeekdayOfMonth = firstDayOfMonth.getDay();
|
||||
const dayOfMonth = date.getDate();
|
||||
|
||||
const offset = (firstWeekdayOfMonth === 0 ? 6 : firstWeekdayOfMonth - 1);
|
||||
const weekNumber = Math.floor((dayOfMonth + offset - 1) / 7) + 1;
|
||||
|
||||
return weekNumber;
|
||||
}
|
||||
|
||||
const dateStr = moment(tp.file.title, "YYYY-MM-DD");
|
||||
const date = new Date(dateStr);
|
||||
|
||||
const weekOfMonth = getWeekOfMonth(date);
|
||||
tR += `${weekOfMonth}주차`;
|
||||
%>]]
|
||||
### 분기업무
|
||||
![[214. 분기업무#3분기]]
|
||||
### 반기업무
|
||||
![[215. 반기업무#후반기]]
|
||||
### 연간업무
|
||||
![[216. 연간업무]]
|
||||
|
||||
![[Taskido/demo_file|demo_file]]
|
||||
|
||||
![[2025년 월력형 메모형 일정.canvas|2025년 월력형 메모형 일정]]
|
||||
|
||||
### 내일 기억할 일
|
||||
|
||||
### 오늘 기억할 일
|
||||
<%*
|
||||
let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)");
|
||||
let section = "### 내일 기억할 일";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let yfile = tp.file.find_tfile(yesterday);
|
||||
if(yfile) {
|
||||
const content = await app.vault.read(yfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n###', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
|
||||
### 아침
|
||||
#### 오늘의 확언 ^[확실히 말하다.]
|
||||
-
|
||||
#### 오늘의 목표
|
||||
-
|
||||
-
|
||||
- [ ]
|
||||
- [ ]
|
||||
|
||||
#### 할 일 추가하기
|
||||
|
||||
- [ ]
|
||||
|
||||
|
||||
#### 오늘 완료한 일
|
||||
```tasks
|
||||
done <% tp.file.title.slice(0,10) %>
|
||||
```
|
||||
|
||||
### 독서
|
||||
- 읽은 책
|
||||
- 읽은 페이지
|
||||
|
||||
### 운동
|
||||
-
|
||||
|
||||
### 하루 마무리
|
||||
#### 오늘 배운 것들
|
||||
-
|
||||
-
|
||||
#### 오늘 감사한 일
|
||||
>[!note]
|
||||
>
|
||||
#### 일기
|
||||
>[!note]
|
||||
>
|
||||
|
||||
#### 오늘요약
|
||||
>[!note]
|
||||
>
|
||||
>^summary
|
||||
|
||||
### 오늘 작성한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc
|
||||
|
||||
```
|
||||
|
||||
### 오늘 수정한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc
|
||||
|
||||
|
||||
```
|
||||
|
||||
126
Templater/Daily_Note 템플릿-1.md
Normal file
126
Templater/Daily_Note 템플릿-1.md
Normal file
@@ -0,0 +1,126 @@
|
||||
---
|
||||
date_daily: <% tp.file.title.slice(0,10) %>
|
||||
achievement:
|
||||
reading_book:
|
||||
emotion:
|
||||
important_date: false
|
||||
tags:
|
||||
- daily
|
||||
daily_review:
|
||||
reading_page:
|
||||
exercise: false
|
||||
---
|
||||
**올해 남은 일: <%*
|
||||
let edate = moment("12-31", "MM-DD");
|
||||
let from = moment().startOf('day');
|
||||
edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>
|
||||
|
||||
*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
|
||||
tR += '❮ ';
|
||||
tR += '[[' + currentMoment.format('YYYY|YYYY년') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MM월') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('ww[주]') + ']]';
|
||||
tR += ' ❯';
|
||||
tR += '\n';
|
||||
tR += '❮❮ ';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]' + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += ' ❯❯';
|
||||
%>
|
||||
|
||||
|
||||
<% tp.web.daily_quote() %>
|
||||
|
||||
|
||||
### 일일업무
|
||||
![[인수인계서(군수지원부사관)]]
|
||||
|
||||
![[2025년 월력형 메모형 일정.canvas|2025년 월력형 메모형 일정]]
|
||||
|
||||
### 내일 기억할 일
|
||||
|
||||
### 오늘 기억할 일
|
||||
<%*
|
||||
let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)");
|
||||
let section = "### 내일 기억할 일";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let yfile = tp.file.find_tfile(yesterday);
|
||||
if(yfile) {
|
||||
const content = await app.vault.read(yfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n###', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
|
||||
### 아침
|
||||
#### 오늘의 확언 ^[확실히 말하다.]
|
||||
-
|
||||
#### 오늘의 목표
|
||||
-
|
||||
-
|
||||
- [ ]
|
||||
- [ ]
|
||||
|
||||
#### 할 일 추가하기
|
||||
|
||||
- [ ]
|
||||
|
||||
|
||||
#### 오늘 완료한 일
|
||||
```tasks
|
||||
done <% tp.file.title.slice(0,10) %>
|
||||
```
|
||||
|
||||
### 독서
|
||||
- 읽은 책
|
||||
- 읽은 페이지
|
||||
|
||||
### 운동
|
||||
-
|
||||
|
||||
### 하루 마무리
|
||||
#### 오늘 배운 것들
|
||||
-
|
||||
-
|
||||
#### 오늘 감사한 일
|
||||
>[!note]
|
||||
>
|
||||
#### 일기
|
||||
>[!note]
|
||||
>
|
||||
|
||||
#### 오늘요약
|
||||
>[!note]
|
||||
>
|
||||
>^summary
|
||||
|
||||
### 오늘 작성한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc
|
||||
|
||||
```
|
||||
|
||||
### 오늘 수정한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc
|
||||
|
||||
|
||||
```
|
||||
|
||||
157
Templater/Daily_Note 템플릿.md
Normal file
157
Templater/Daily_Note 템플릿.md
Normal file
@@ -0,0 +1,157 @@
|
||||
---
|
||||
date_daily: <% tp.file.title.slice(0,10) %>
|
||||
achievement:
|
||||
reading_book:
|
||||
emotion:
|
||||
important_date: false
|
||||
tags:
|
||||
- daily
|
||||
daily_review:
|
||||
reading_page:
|
||||
exercise: false
|
||||
---
|
||||
**올해 남은 일: <%*
|
||||
let edate = moment("12-31", "MM-DD");
|
||||
let from = moment().startOf('day');
|
||||
edate.diff(from, "days") >= 0 ? edate.diff(from, "days") == 0 ? tR += "오늘입니다!" : tR += edate.diff(from, "days") : tR += edate.add(1, "year").diff(from, "days") %>
|
||||
|
||||
*achievement:업적,성취(목표를 이루다), emotion:감정, exetcise:운동, review:(변화를 주기위해)검토, 비평, 논평, 평가, *
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
|
||||
tR += '❮ ';
|
||||
tR += '[[' + currentMoment.format('YYYY|YYYY년') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MM월') + ']]' + ' / ';
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('ww[주]') + ']]';
|
||||
tR += ' ❯';
|
||||
tR += '\n';
|
||||
tR += '❮❮ ';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]' + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += currentMoment.format('YYYY-MM-DD(ddd)') + ' | ';
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD(ddd)') + ']]';
|
||||
currentMoment.add(-1,'days');
|
||||
tR += ' ❯❯';
|
||||
%>
|
||||
|
||||
|
||||
<% tp.web.daily_quote() %>
|
||||
|
||||
|
||||
### 일일업무(오전)
|
||||
![[211. 일일업무#오전]]
|
||||
### 일일업무(오후)
|
||||
![[211. 일일업무#오후]]
|
||||
### 주간업무(<% tp.file.title.slice(11,12) %>)
|
||||
![[212. 주간업무#<% tp.file.title.slice(11,12) %>]]
|
||||
### 월간업무
|
||||
![[213. 월간업무#<%*
|
||||
function getWeekOfMonth(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth();
|
||||
const firstDayOfMonth = new Date(year, month, 1);
|
||||
const firstWeekdayOfMonth = firstDayOfMonth.getDay();
|
||||
const dayOfMonth = date.getDate();
|
||||
|
||||
const offset = (firstWeekdayOfMonth === 0 ? 6 : firstWeekdayOfMonth - 1);
|
||||
const weekNumber = Math.floor((dayOfMonth + offset - 1) / 7) + 1;
|
||||
|
||||
return weekNumber;
|
||||
}
|
||||
|
||||
const dateStr = moment(tp.file.title, "YYYY-MM-DD");
|
||||
const date = new Date(dateStr);
|
||||
|
||||
const weekOfMonth = getWeekOfMonth(date);
|
||||
tR += `${weekOfMonth}주차`;
|
||||
%>]]
|
||||
### 분기업무
|
||||
![[214. 분기업무#2분기]]
|
||||
### 반기업무
|
||||
![[215. 반기업무#전반기]]
|
||||
### 연간업무
|
||||
![[216. 연간업무]]
|
||||
|
||||
![[Taskido/demo_file|demo_file]]
|
||||
|
||||
### 내일 기억할 일
|
||||
|
||||
### 오늘 기억할 일
|
||||
<%*
|
||||
let yesterday = "10. Planner/11. Daily/" + tp.date.now("YYYY-MM-DD(ddd)", -1, tp.file.title, "YYYY-MM-DD(ddd)");
|
||||
let section = "### 내일 기억할 일";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let yfile = tp.file.find_tfile(yesterday);
|
||||
if(yfile) {
|
||||
const content = await app.vault.read(yfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n###', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
|
||||
### 아침
|
||||
#### 오늘의 확언 ^[확실히 말하다.]
|
||||
-
|
||||
#### 오늘의 목표
|
||||
-
|
||||
-
|
||||
- [ ]
|
||||
- [ ]
|
||||
|
||||
#### 할 일 추가하기
|
||||
|
||||
- [ ]
|
||||
|
||||
|
||||
#### 오늘 완료한 일
|
||||
```tasks
|
||||
done <% tp.file.title.slice(0,10) %>
|
||||
```
|
||||
|
||||
### 독서
|
||||
- 읽은 책
|
||||
- 읽은 페이지
|
||||
|
||||
### 운동
|
||||
-
|
||||
|
||||
### 하루 마무리
|
||||
#### 오늘 배운 것들
|
||||
-
|
||||
-
|
||||
#### 오늘 감사한 일
|
||||
>[!note]
|
||||
>
|
||||
#### 일기
|
||||
>[!note]
|
||||
>
|
||||
|
||||
#### 오늘요약
|
||||
>[!note]
|
||||
>
|
||||
>^summary
|
||||
|
||||
### 오늘 작성한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.cday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.ctime desc
|
||||
|
||||
```
|
||||
|
||||
### 오늘 수정한 노트
|
||||
```dataview
|
||||
List FROM "" WHERE file.mday = date("<% tp.date.now('YYYY-MM-DD') %>") SORT file.mtime desc
|
||||
|
||||
|
||||
```
|
||||
|
||||
58
Templater/Monthly_Note 템플릿-1.md
Normal file
58
Templater/Monthly_Note 템플릿-1.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
tags:
|
||||
- monthly
|
||||
---
|
||||
---
|
||||
## 운동 습관 기르기
|
||||
```tracker
|
||||
searchType: frontmatter
|
||||
searchTarget: exercise
|
||||
folder: 10. Planner/11. Daily
|
||||
datasetName: 운동 습관 기르기
|
||||
month:
|
||||
startWeekOn: 'mon'
|
||||
headerMonthColor: orange
|
||||
initMonth: <% tp.file.title %>
|
||||
mode: annotation
|
||||
annotation: 💪
|
||||
```
|
||||
---
|
||||
## 독서 습관 기르기
|
||||
```tracker
|
||||
searchType: frontmatter
|
||||
searchTarget: reading_page
|
||||
datasetName: 읽은 페이지
|
||||
folder: 10. Planner/11. Daily
|
||||
startDate: <%* const title = tp.file.title; const firstDay = moment(title + "-01").format('YYYY-MM-DD(ddd)'); tR += firstDay; %>
|
||||
endDate: <%* const year = tp.file.title.split("-")[0]; const month = tp.file.title.split("-")[1]; const lastDay = moment(title).endOf('month').format('YYYY-MM-DD(ddd)'); tR += lastDay; %>
|
||||
|
||||
line:
|
||||
title: 책 읽는 습관
|
||||
xAxisLabel: 날짜
|
||||
yAxisLabel: 읽은 페이지
|
||||
yAxisUnit: 페이지
|
||||
lineColor: red
|
||||
pointColor: red
|
||||
pointBorderWidth: 2
|
||||
pointBorderColor: red
|
||||
showLegend: True
|
||||
```
|
||||
---
|
||||
## 독서 요약
|
||||
```tracker
|
||||
searchType: frontmatter
|
||||
searchTarget: reading_page
|
||||
datasetName: 읽은 페이지
|
||||
folder: 10. Planner/11. Daily
|
||||
startDate: <%* tR += firstDay; %>
|
||||
endDate: <%* tR += lastDay; %>
|
||||
|
||||
summary:
|
||||
template: "적게 읽은 날: {{min()::i}}페이지\n많이 읽은 날: {{max()::i}}페이지\n독서한 날: {{numDaysHavingData()::i}}일"
|
||||
|
||||
```
|
||||
---
|
||||
## 월간 리뷰
|
||||
|
||||
> [!note]
|
||||
> ^review
|
||||
58
Templater/Monthly_Note 템플릿.md
Normal file
58
Templater/Monthly_Note 템플릿.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
tags:
|
||||
- monthly
|
||||
---
|
||||
---
|
||||
## 운동 습관 기르기
|
||||
```tracker
|
||||
searchType: frontmatter
|
||||
searchTarget: exercise
|
||||
folder: 10. Planner/11. Daily
|
||||
datasetName: 운동 습관 기르기
|
||||
month:
|
||||
startWeekOn: 'mon'
|
||||
headerMonthColor: orange
|
||||
initMonth: <% tp.file.title %>
|
||||
mode: annotation
|
||||
annotation: 💪
|
||||
```
|
||||
---
|
||||
## 독서 습관 기르기
|
||||
```tracker
|
||||
searchType: frontmatter
|
||||
searchTarget: reading_page
|
||||
datasetName: 읽은 페이지
|
||||
folder: 10. Planner/11. Daily
|
||||
startDate: <%* const title = tp.file.title; const firstDay = moment(title + "-01").format('YYYY-MM-DD(ddd)'); tR += firstDay; %>
|
||||
endDate: <%* const year = tp.file.title.split("-")[0]; const month = tp.file.title.split("-")[1]; const lastDay = moment(title).endOf('month').format('YYYY-MM-DD(ddd)'); tR += lastDay; %>
|
||||
|
||||
line:
|
||||
title: 책 읽는 습관
|
||||
xAxisLabel: 날짜
|
||||
yAxisLabel: 읽은 페이지
|
||||
yAxisUnit: 페이지
|
||||
lineColor: red
|
||||
pointColor: red
|
||||
pointBorderWidth: 2
|
||||
pointBorderColor: red
|
||||
showLegend: True
|
||||
```
|
||||
---
|
||||
## 독서 요약
|
||||
```tracker
|
||||
searchType: frontmatter
|
||||
searchTarget: reading_page
|
||||
datasetName: 읽은 페이지
|
||||
folder: 10. Planner/11. Daily
|
||||
startDate: <%* tR += firstDay; %>
|
||||
endDate: <%* tR += lastDay; %>
|
||||
|
||||
summary:
|
||||
template: "적게 읽은 날: {{min()::i}}페이지\n많이 읽은 날: {{max()::i}}페이지\n독서한 날: {{numDaysHavingData()::i}}일"
|
||||
|
||||
```
|
||||
---
|
||||
## 월간 리뷰
|
||||
|
||||
> [!note]
|
||||
> ^review
|
||||
93
Templater/Weekly_Note 템플릿-1.md
Normal file
93
Templater/Weekly_Note 템플릿-1.md
Normal file
@@ -0,0 +1,93 @@
|
||||
---
|
||||
weekly_summary:
|
||||
tags:
|
||||
- "#Weekly"
|
||||
---
|
||||
---
|
||||
### 지난 주 반성
|
||||
-
|
||||
---
|
||||
### 이번 주 계획
|
||||
#### 지난주 에서 가져온 계획
|
||||
<%*
|
||||
function getPreviousWeek(year, week) {
|
||||
if (week === 1) {
|
||||
year -= 1;
|
||||
let lastWeekOfYear = getISOWeekNumber(new Date(year, 11, 28));
|
||||
return `${year}-W${String(lastWeekOfYear).padStart(2, '0')}`;
|
||||
} else {
|
||||
week -= 1;
|
||||
return `${year}-W${String(week).padStart(2, '0')}`;
|
||||
}
|
||||
}
|
||||
|
||||
function getISOWeekNumber(date) {
|
||||
let day = new Date(date.getFullYear(), date.getMonth(), date.getDate());
|
||||
let dayNum = day.getDay() || 7;
|
||||
day.setDate(day.getDate() + 4 - dayNum);
|
||||
let yearStart = new Date(day.getFullYear(), 0, 1);
|
||||
return Math.ceil((((day - yearStart) / 86400000) + 1) / 7);
|
||||
}
|
||||
|
||||
let [year, week] = tp.file.title.split("-W").map(Number);
|
||||
let lastWeek = getPreviousWeek(year, week);
|
||||
let lastWeekPath = "10. Planner/12. Weekly/" + lastWeek;
|
||||
let section = "## 다음 주 계획";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let lwfile = tp.file.find_tfile(lastWeekPath);
|
||||
if(lwfile) {
|
||||
const content = await app.vault.read(lwfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n##', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
#### 이번주 계획
|
||||
-
|
||||
---
|
||||
|
||||
### 다음 주 계획
|
||||
-
|
||||
---
|
||||
### 이번 주 요약
|
||||
|요일| 날짜 | 내용 |
|
||||
|---|---|---|
|
||||
|월|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').format("MM-DD")`| ![[<%* const title0 = tp.file.title; const [year0, week0] = title0.split("-W"); const mondayOfWeek = moment().isoWeekYear(year0).isoWeek(week0).startOf('isoWeek').add(0, 'days').format("YYYY-MM-DD(ddd)"); tR += mondayOfWeek; %>#^summary]] |
|
||||
|화|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(1, 'days').format("MM-DD")`| ![[<%* const title1 = tp.file.title; const [year1, week1] = title1.split("-W"); const tuesdayOfWeek = moment().isoWeekYear(year1).isoWeek(week1).startOf('isoWeek').add(1, 'days').format("YYYY-MM-DD(ddd)"); tR += tuesdayOfWeek; %>#^summary]] |
|
||||
|수|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(2, 'days').format("MM-DD")`| ![[<%* const title2 = tp.file.title; const [year2, week2] = title2.split("-W"); const wednesdayOfWeek = moment().isoWeekYear(year2).isoWeek(week2).startOf('isoWeek').add(2, 'days').format("YYYY-MM-DD(ddd)"); tR += wednesdayOfWeek; %>#^summary]] |
|
||||
|목|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(3, 'days').format("MM-DD")`| ![[<%* const title3 = tp.file.title; const [year3, week3] = title3.split("-W"); const thursdayOfWeek = moment().isoWeekYear(year3).isoWeek(week3).startOf('isoWeek').add(3, 'days').format("YYYY-MM-DD(ddd)"); tR += thursdayOfWeek; %>#^summary]] |
|
||||
|금|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(4, 'days').format("MM-DD")`| ![[<%* const title4 = tp.file.title; const [year4, week4] = title4.split("-W"); const fridayOfWeek = moment().isoWeekYear(year4).isoWeek(week4).startOf('isoWeek').add(4, 'days').format("YYYY-MM-DD(ddd)"); tR += fridayOfWeek; %>#^summary]] |
|
||||
|토|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(5, 'days').format("MM-DD")`| ![[<%* const title5 = tp.file.title; const [year5, week5] = title5.split("-W"); const saturdayOfWeek = moment().isoWeekYear(year5).isoWeek(week5).startOf('isoWeek').add(5, 'days').format("YYYY-MM-DD(ddd)"); tR += saturdayOfWeek; %>#^summary]] |
|
||||
|일|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(6, 'days').format("MM-DD")`| ![[<%* const title6 = tp.file.title; const [year6, week6] = title6.split("-W"); const sundayOfWeek = moment().isoWeekYear(year5).isoWeek(week5).startOf('isoWeek').add(6, 'days').format("YYYY-MM-DD(ddd)"); tR += sundayOfWeek; %>#^summary]] |
|
||||
|
||||
---
|
||||
### 데일리 리뷰
|
||||
```dataviewjs
|
||||
const currentNoteTitle = dv.current().file.name;
|
||||
const weekNumberMatch = currentNoteTitle.match(/(\d{4}-W\d{2})/);
|
||||
|
||||
if (weekNumberMatch) {
|
||||
const weekNumber = weekNumberMatch[0];
|
||||
const dailyNoteFolder = '"10. Planner/11. Daily"';
|
||||
|
||||
dv.pages(dailyNoteFolder)
|
||||
.where(page => {
|
||||
const pageDate = moment(page.file.name, "YYYY-MM-DD(ddd)");
|
||||
return pageDate.isValid() && pageDate.isoWeek() === moment(weekNumber, "YYYY-[W]WW").isoWeek();
|
||||
})
|
||||
.forEach(page => {
|
||||
const dailyReview = page.daily_review || "없음";
|
||||
dv.paragraph(`**${page.file.name}**: ${dailyReview}`);
|
||||
});
|
||||
} else {
|
||||
dv.paragraph("이 노트의 제목에 ISO 주 정보가 포함되지 않았습니다.");
|
||||
}
|
||||
```
|
||||
93
Templater/Weekly_Note 템플릿.md
Normal file
93
Templater/Weekly_Note 템플릿.md
Normal file
@@ -0,0 +1,93 @@
|
||||
---
|
||||
weekly_summary:
|
||||
tags:
|
||||
- "#Weekly"
|
||||
---
|
||||
---
|
||||
### 지난 주 반성
|
||||
-
|
||||
---
|
||||
### 이번 주 계획
|
||||
#### 지난주 에서 가져온 계획
|
||||
<%*
|
||||
function getPreviousWeek(year, week) {
|
||||
if (week === 1) {
|
||||
year -= 1;
|
||||
let lastWeekOfYear = getISOWeekNumber(new Date(year, 11, 28));
|
||||
return `${year}-W${String(lastWeekOfYear).padStart(2, '0')}`;
|
||||
} else {
|
||||
week -= 1;
|
||||
return `${year}-W${String(week).padStart(2, '0')}`;
|
||||
}
|
||||
}
|
||||
|
||||
function getISOWeekNumber(date) {
|
||||
let day = new Date(date.getFullYear(), date.getMonth(), date.getDate());
|
||||
let dayNum = day.getDay() || 7;
|
||||
day.setDate(day.getDate() + 4 - dayNum);
|
||||
let yearStart = new Date(day.getFullYear(), 0, 1);
|
||||
return Math.ceil((((day - yearStart) / 86400000) + 1) / 7);
|
||||
}
|
||||
|
||||
let [year, week] = tp.file.title.split("-W").map(Number);
|
||||
let lastWeek = getPreviousWeek(year, week);
|
||||
let lastWeekPath = "10. Planner/12. Weekly/" + lastWeek;
|
||||
let section = "## 다음 주 계획";
|
||||
let should_include = false;
|
||||
let sectionContent = "";
|
||||
|
||||
let lwfile = tp.file.find_tfile(lastWeekPath);
|
||||
if(lwfile) {
|
||||
const content = await app.vault.read(lwfile);
|
||||
if(content.includes(section)) {
|
||||
let startIndex = content.indexOf(section) + section.length;
|
||||
let endIndex = content.indexOf('\n##', startIndex);
|
||||
endIndex = endIndex === -1 ? content.length : endIndex;
|
||||
sectionContent = content.substring(startIndex, endIndex).trim();
|
||||
should_include = sectionContent.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
tR += should_include ? sectionContent : "없습니다😀";
|
||||
%>
|
||||
#### 이번주 계획
|
||||
-
|
||||
---
|
||||
|
||||
### 다음 주 계획
|
||||
-
|
||||
---
|
||||
### 이번 주 요약
|
||||
|요일| 날짜 | 내용 |
|
||||
|---|---|---|
|
||||
|월|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').format("MM-DD")`| ![[<%* const title0 = tp.file.title; const [year0, week0] = title0.split("-W"); const mondayOfWeek = moment().isoWeekYear(year0).isoWeek(week0).startOf('isoWeek').add(0, 'days').format("YYYY-MM-DD(ddd)"); tR += mondayOfWeek; %>#^summary]] |
|
||||
|화|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(1, 'days').format("MM-DD")`| ![[<%* const title1 = tp.file.title; const [year1, week1] = title1.split("-W"); const tuesdayOfWeek = moment().isoWeekYear(year1).isoWeek(week1).startOf('isoWeek').add(1, 'days').format("YYYY-MM-DD(ddd)"); tR += tuesdayOfWeek; %>#^summary]] |
|
||||
|수|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(2, 'days').format("MM-DD")`| ![[<%* const title2 = tp.file.title; const [year2, week2] = title2.split("-W"); const wednesdayOfWeek = moment().isoWeekYear(year2).isoWeek(week2).startOf('isoWeek').add(2, 'days').format("YYYY-MM-DD(ddd)"); tR += wednesdayOfWeek; %>#^summary]] |
|
||||
|목|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(3, 'days').format("MM-DD")`| ![[<%* const title3 = tp.file.title; const [year3, week3] = title3.split("-W"); const thursdayOfWeek = moment().isoWeekYear(year3).isoWeek(week3).startOf('isoWeek').add(3, 'days').format("YYYY-MM-DD(ddd)"); tR += thursdayOfWeek; %>#^summary]] |
|
||||
|금|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(4, 'days').format("MM-DD")`| ![[<%* const title4 = tp.file.title; const [year4, week4] = title4.split("-W"); const fridayOfWeek = moment().isoWeekYear(year4).isoWeek(week4).startOf('isoWeek').add(4, 'days').format("YYYY-MM-DD(ddd)"); tR += fridayOfWeek; %>#^summary]] |
|
||||
|토|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(5, 'days').format("MM-DD")`| ![[<%* const title5 = tp.file.title; const [year5, week5] = title5.split("-W"); const saturdayOfWeek = moment().isoWeekYear(year5).isoWeek(week5).startOf('isoWeek').add(5, 'days').format("YYYY-MM-DD(ddd)"); tR += saturdayOfWeek; %>#^summary]] |
|
||||
|일|`$=moment("<% tp.file.title %>", "YYYY-[W]WW").startOf('isoWeek').add(6, 'days').format("MM-DD")`| ![[<%* const title6 = tp.file.title; const [year6, week6] = title6.split("-W"); const sundayOfWeek = moment().isoWeekYear(year5).isoWeek(week5).startOf('isoWeek').add(6, 'days').format("YYYY-MM-DD(ddd)"); tR += sundayOfWeek; %>#^summary]] |
|
||||
|
||||
---
|
||||
### 데일리 리뷰
|
||||
```dataviewjs
|
||||
const currentNoteTitle = dv.current().file.name;
|
||||
const weekNumberMatch = currentNoteTitle.match(/(\d{4}-W\d{2})/);
|
||||
|
||||
if (weekNumberMatch) {
|
||||
const weekNumber = weekNumberMatch[0];
|
||||
const dailyNoteFolder = '"10. Planner/11. Daily"';
|
||||
|
||||
dv.pages(dailyNoteFolder)
|
||||
.where(page => {
|
||||
const pageDate = moment(page.file.name, "YYYY-MM-DD(ddd)");
|
||||
return pageDate.isValid() && pageDate.isoWeek() === moment(weekNumber, "YYYY-[W]WW").isoWeek();
|
||||
})
|
||||
.forEach(page => {
|
||||
const dailyReview = page.daily_review || "없음";
|
||||
dv.paragraph(`**${page.file.name}**: ${dailyReview}`);
|
||||
});
|
||||
} else {
|
||||
dv.paragraph("이 노트의 제목에 ISO 주 정보가 포함되지 않았습니다.");
|
||||
}
|
||||
```
|
||||
49
Templater/Yearly_Note 템플릿-1.md
Normal file
49
Templater/Yearly_Note 템플릿-1.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
tags:
|
||||
- "#yearly"
|
||||
---
|
||||
---
|
||||
### 목표
|
||||
#### 건강
|
||||
#### 일
|
||||
#### 개인
|
||||
|
||||
---
|
||||
### 중요한 날
|
||||
|
||||
```dataview
|
||||
TABLE without id
|
||||
file.link as 날짜,
|
||||
achievement as 성과
|
||||
FROM "10. Planner/11. Daily"
|
||||
WHERE important_date = true AND contains(file.name, "<% tp.file.title %>")
|
||||
```
|
||||
|
||||
---
|
||||
### 읽은 책 리스트
|
||||
```dataview
|
||||
TABLE without id
|
||||
rows.reading_book as "책 제목",
|
||||
rows.date_daily as "읽은 날짜"
|
||||
FROM "10. Planner/11. Daily"
|
||||
WHERE contains(file.name, "<% tp.file.title %>") AND reading_book != null
|
||||
FLATTEN reading_book
|
||||
GROUP BY reading_book
|
||||
```
|
||||
---
|
||||
### 월간 리뷰
|
||||
|
||||
| 요일 | 내용 | |
|
||||
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |
|
||||
| <% tp.file.title %>-1월 | <%* const year01 = tp.file.title; const month01 = "01"; const monthlyNoteTitle01 = `${year01}-${month01}`; const reviewSection01 = `![[${monthlyNoteTitle01}#^review]]`; tR += reviewSection01; %> | |
|
||||
| <% tp.file.title %>-2월 | <%* const year02 = tp.file.title; const month02 = "02"; const monthlyNoteTitle02 = `${year02}-${month02}`; const reviewSection02 = `![[${monthlyNoteTitle02}#^review]]`; tR += reviewSection02; %> | |
|
||||
| <% tp.file.title %>-3월 | <%* const year03 = tp.file.title; const month03 = "03"; const monthlyNoteTitle03 = `${year03}-${month03}`; const reviewSection03 = `![[${monthlyNoteTitle03}#^review]]`; tR += reviewSection03; %> | |
|
||||
| <% tp.file.title %>-4월 | <%* const year04 = tp.file.title; const month04 = "04"; const monthlyNoteTitle04 = `${year04}-${month04}`; const reviewSection04 = `![[${monthlyNoteTitle04}#^review]]`; tR += reviewSection04; %> | |
|
||||
| <% tp.file.title %>-5월 | <%* const year05 = tp.file.title; const month05 = "05"; const monthlyNoteTitle05 = `${year05}-${month05}`; const reviewSection05 = `![[${monthlyNoteTitle05}#^review]]`; tR += reviewSection05; %> | |
|
||||
| <% tp.file.title %>-6월 | <%* const year06 = tp.file.title; const month06 = "06"; const monthlyNoteTitle06 = `${year06}-${month06}`; const reviewSection06 = `![[${monthlyNoteTitle06}#^review]]`; tR += reviewSection06; %> | |
|
||||
| <% tp.file.title %>-7월 | <%* const year07 = tp.file.title; const month07 = "07"; const monthlyNoteTitle07 = `${year07}-${month07}`; const reviewSection07 = `![[${monthlyNoteTitle07}#^review]]`; tR += reviewSection07; %> | |
|
||||
| <% tp.file.title %>-8월 | <%* const year08 = tp.file.title; const month08 = "08"; const monthlyNoteTitle08 = `${year08}-${month08}`; const reviewSection08 = `![[${monthlyNoteTitle08}#^review]]`; tR += reviewSection08; %> | |
|
||||
| <% tp.file.title %>-9월 | <%* const year09 = tp.file.title; const month09 = "09"; const monthlyNoteTitle09 = `${year09}-${month09}`; const reviewSection09 = `![[${monthlyNoteTitle09}#^review]]`; tR += reviewSection09; %> | |
|
||||
| <% tp.file.title %>-10월 | <%* const year10 = tp.file.title; const month10 = "10"; const monthlyNoteTitle10 = `${year10}-${month10}`; const reviewSection10 = `![[${monthlyNoteTitle10}#^review]]`; tR += reviewSection10; %> | |
|
||||
| <% tp.file.title %>-11월 | <%* const year11 = tp.file.title; const month11 = "11"; const monthlyNoteTitle11 = `${year11}-${month11}`; const reviewSection11 = `![[${monthlyNoteTitle11}#^review]]`; tR += reviewSection11; %> | |
|
||||
| <% tp.file.title %>-12월 | <%* const year12 = tp.file.title; const month12 = "12"; const monthlyNoteTitle12 = `${year12}-${month12}`; const reviewSection12 = `![[${monthlyNoteTitle12}#^review]]`; tR += reviewSection12; %> | |
|
||||
49
Templater/Yearly_Note 템플릿.md
Normal file
49
Templater/Yearly_Note 템플릿.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
tags:
|
||||
- "#yearly"
|
||||
---
|
||||
---
|
||||
### 목표
|
||||
#### 건강
|
||||
#### 일
|
||||
#### 개인
|
||||
|
||||
---
|
||||
### 중요한 날
|
||||
|
||||
```dataview
|
||||
TABLE without id
|
||||
file.link as 날짜,
|
||||
achievement as 성과
|
||||
FROM "10. Planner/11. Daily"
|
||||
WHERE important_date = true AND contains(file.name, "<% tp.file.title %>")
|
||||
```
|
||||
|
||||
---
|
||||
### 읽은 책 리스트
|
||||
```dataview
|
||||
TABLE without id
|
||||
rows.reading_book as "책 제목",
|
||||
rows.date_daily as "읽은 날짜"
|
||||
FROM "10. Planner/11. Daily"
|
||||
WHERE contains(file.name, "<% tp.file.title %>") AND reading_book != null
|
||||
FLATTEN reading_book
|
||||
GROUP BY reading_book
|
||||
```
|
||||
---
|
||||
### 월간 리뷰
|
||||
|
||||
| 요일 | 내용 | |
|
||||
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |
|
||||
| <% tp.file.title %>-1월 | <%* const year01 = tp.file.title; const month01 = "01"; const monthlyNoteTitle01 = `${year01}-${month01}`; const reviewSection01 = `![[${monthlyNoteTitle01}#^review]]`; tR += reviewSection01; %> | |
|
||||
| <% tp.file.title %>-2월 | <%* const year02 = tp.file.title; const month02 = "02"; const monthlyNoteTitle02 = `${year02}-${month02}`; const reviewSection02 = `![[${monthlyNoteTitle02}#^review]]`; tR += reviewSection02; %> | |
|
||||
| <% tp.file.title %>-3월 | <%* const year03 = tp.file.title; const month03 = "03"; const monthlyNoteTitle03 = `${year03}-${month03}`; const reviewSection03 = `![[${monthlyNoteTitle03}#^review]]`; tR += reviewSection03; %> | |
|
||||
| <% tp.file.title %>-4월 | <%* const year04 = tp.file.title; const month04 = "04"; const monthlyNoteTitle04 = `${year04}-${month04}`; const reviewSection04 = `![[${monthlyNoteTitle04}#^review]]`; tR += reviewSection04; %> | |
|
||||
| <% tp.file.title %>-5월 | <%* const year05 = tp.file.title; const month05 = "05"; const monthlyNoteTitle05 = `${year05}-${month05}`; const reviewSection05 = `![[${monthlyNoteTitle05}#^review]]`; tR += reviewSection05; %> | |
|
||||
| <% tp.file.title %>-6월 | <%* const year06 = tp.file.title; const month06 = "06"; const monthlyNoteTitle06 = `${year06}-${month06}`; const reviewSection06 = `![[${monthlyNoteTitle06}#^review]]`; tR += reviewSection06; %> | |
|
||||
| <% tp.file.title %>-7월 | <%* const year07 = tp.file.title; const month07 = "07"; const monthlyNoteTitle07 = `${year07}-${month07}`; const reviewSection07 = `![[${monthlyNoteTitle07}#^review]]`; tR += reviewSection07; %> | |
|
||||
| <% tp.file.title %>-8월 | <%* const year08 = tp.file.title; const month08 = "08"; const monthlyNoteTitle08 = `${year08}-${month08}`; const reviewSection08 = `![[${monthlyNoteTitle08}#^review]]`; tR += reviewSection08; %> | |
|
||||
| <% tp.file.title %>-9월 | <%* const year09 = tp.file.title; const month09 = "09"; const monthlyNoteTitle09 = `${year09}-${month09}`; const reviewSection09 = `![[${monthlyNoteTitle09}#^review]]`; tR += reviewSection09; %> | |
|
||||
| <% tp.file.title %>-10월 | <%* const year10 = tp.file.title; const month10 = "10"; const monthlyNoteTitle10 = `${year10}-${month10}`; const reviewSection10 = `![[${monthlyNoteTitle10}#^review]]`; tR += reviewSection10; %> | |
|
||||
| <% tp.file.title %>-11월 | <%* const year11 = tp.file.title; const month11 = "11"; const monthlyNoteTitle11 = `${year11}-${month11}`; const reviewSection11 = `![[${monthlyNoteTitle11}#^review]]`; tR += reviewSection11; %> | |
|
||||
| <% tp.file.title %>-12월 | <%* const year12 = tp.file.title; const month12 = "12"; const monthlyNoteTitle12 = `${year12}-${month12}`; const reviewSection12 = `![[${monthlyNoteTitle12}#^review]]`; tR += reviewSection12; %> | |
|
||||
12
Templater/업무_템플릿-1.md
Normal file
12
Templater/업무_템플릿-1.md
Normal file
@@ -0,0 +1,12 @@
|
||||
### 정신전력 평가후 부대일지 등록방법
|
||||
---
|
||||
#### 법규, 규정, 지침, 예규, 지시(기준)
|
||||
-
|
||||
#### 업무담당자(업무 상하계통)
|
||||
-
|
||||
#### 업무목표(업무 부대 기여도)
|
||||
-
|
||||
|
||||
#### 절차(방법)
|
||||
-
|
||||
#### 문제점 및 문제점극복방법(노하우)
|
||||
12
Templater/업무_템플릿.md
Normal file
12
Templater/업무_템플릿.md
Normal file
@@ -0,0 +1,12 @@
|
||||
### 정신전력 평가후 부대일지 등록방법
|
||||
---
|
||||
#### 법규, 규정, 지침, 예규, 지시(기준)
|
||||
-
|
||||
#### 업무담당자(업무 상하계통)
|
||||
-
|
||||
#### 업무목표(업무 부대 기여도)
|
||||
-
|
||||
|
||||
#### 절차(방법)
|
||||
-
|
||||
#### 문제점 및 문제점극복방법(노하우)
|
||||
37
Templater/용사_템플릿-1.md
Normal file
37
Templater/용사_템플릿-1.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
인터넷_중독:
|
||||
신인성검사_1:
|
||||
신인성검사_2:
|
||||
신인성검사_3:
|
||||
신인성검사_4:
|
||||
관계유형_1:
|
||||
관계유형_2:
|
||||
관계유형_3:
|
||||
관계유형_4:
|
||||
도움_배려:
|
||||
전역일:
|
||||
전입일:
|
||||
진급일:
|
||||
소속:
|
||||
특이사항:
|
||||
상병건강검진:
|
||||
이등병건강검진:
|
||||
---
|
||||
|
||||
|
||||
### 휴가 실시현황
|
||||
>기준
|
||||
>3단계로 나눠 총 24일중 1단계 : 6~10일, 2단계 : 6~10일, 3단계 : 12~4일, 최대 15일 가능
|
||||
>외출은 월당 2회, 외박은 분기당 1회, 평일외출은?
|
||||
>포상은 최대 6개월까지 사용가능(조금 늦어져도 사용가능)
|
||||
|
||||
| 휴가종류 | 1차 | 2차 | 3차 | 4차 | 5차 | 6차 | 근거 |
|
||||
| ---- | ---------------- | --- | --- | --- | --- | --- | --- |
|
||||
| 위로휴가 | 2024.7.16~25(5일) | | | | | | |
|
||||
| 연가 | | | | | | | |
|
||||
| 청원휴가 | | | | | | | |
|
||||
| 포상휴가 | | | | | | | |
|
||||
| 정기외출 | | | | | | | |
|
||||
| 정기외박 | | | | | | | |
|
||||
|
||||
|
||||
37
Templater/용사_템플릿.md
Normal file
37
Templater/용사_템플릿.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
인터넷_중독:
|
||||
신인성검사_1:
|
||||
신인성검사_2:
|
||||
신인성검사_3:
|
||||
신인성검사_4:
|
||||
관계유형_1:
|
||||
관계유형_2:
|
||||
관계유형_3:
|
||||
관계유형_4:
|
||||
도움_배려:
|
||||
전역일:
|
||||
전입일:
|
||||
진급일:
|
||||
소속:
|
||||
특이사항:
|
||||
상병건강검진:
|
||||
이등병건강검진:
|
||||
---
|
||||
|
||||
|
||||
### 휴가 실시현황
|
||||
>기준
|
||||
>3단계로 나눠 총 24일중 1단계 : 6~10일, 2단계 : 6~10일, 3단계 : 12~4일, 최대 15일 가능
|
||||
>외출은 월당 2회, 외박은 분기당 1회, 평일외출은?
|
||||
>포상은 최대 6개월까지 사용가능(조금 늦어져도 사용가능)
|
||||
|
||||
| 휴가종류 | 1차 | 2차 | 3차 | 4차 | 5차 | 6차 | 근거 |
|
||||
| ---- | ---------------- | --- | --- | --- | --- | --- | --- |
|
||||
| 위로휴가 | 2024.7.16~25(5일) | | | | | | |
|
||||
| 연가 | | | | | | | |
|
||||
| 청원휴가 | | | | | | | |
|
||||
| 포상휴가 | | | | | | | |
|
||||
| 정기외출 | | | | | | | |
|
||||
| 정기외박 | | | | | | | |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user