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.
116 lines
1.4 KiB
116 lines
1.4 KiB
---
|
|
|
|
Alias: [""]
|
|
Tag: [""]
|
|
Date: <% tp.date.now("YYYY-MM-DD") %>
|
|
DocType: "Person"
|
|
Hierarchy: "NonRoot"
|
|
TimeStamp:
|
|
location:
|
|
CollapseMetaTable: true
|
|
Person:
|
|
LastName:
|
|
FirstName:
|
|
DoB:
|
|
Address:
|
|
Phone:
|
|
Email:
|
|
Relation:
|
|
fc-calendar: "D2D Calendar"
|
|
fc-category: "Birthday"
|
|
fc-date:
|
|
day:
|
|
month:
|
|
|
|
---
|
|
|
|
Parent::
|
|
Parents::
|
|
Siblings::
|
|
Spouse::
|
|
Children::
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
let tempPhone = dv.current().Person.Phone ? dv.current().Person.Phone.replaceAll(" ", "") : '+000'
|
|
let tempMail = dv.current().Person.Email ? dv.current().Person.Email : ""
|
|
let tempCoorSet = dv.current().location ? dv.current().location : [0,0]
|
|
dv.el('center', '[📲](tel:' + tempPhone + ')     [📧](mailto:' + tempMail + ')     [🗺️](' + "https://waze.com/ul?ll=" + tempCoorSet[0] + "%2C" + tempCoorSet[1] + "&navigate=yes" + ')')
|
|
```
|
|
|
|
---
|
|
|
|
 
|
|
|
|
```button
|
|
name Edit Person parameters
|
|
type command
|
|
action MetaEdit: Run MetaEdit
|
|
id EditMetaData
|
|
```
|
|
^button-<% tp.file.title %>PersonEdit
|
|
|
|
```button
|
|
name Save
|
|
type command
|
|
action Save current file
|
|
id Save
|
|
```
|
|
^button-<% tp.file.title %>PersonSave
|
|
|
|
 
|
|
|
|
# <% tp.file.title %>
|
|
|
|
 
|
|
|
|
> [!summary]+
|
|
> Person Description
|
|
|
|
 
|
|
|
|
```toc
|
|
style: number
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### 📇 Summary
|
|
|
|
 
|
|
|
|
🎂 `=this.Person.DoB`
|
|
|
|
🗺 `=this.Person.Address`
|
|
|
|
☎ `=this.Person.Phone`
|
|
|
|
📧 `=this.Person.Email`
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### 🗒 Notes
|
|
|
|
 
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### 🎂 Birthday
|
|
|
|
 
|
|
|
|
 
|
|
  |