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.

114 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:
Instagram:
Facebook:
Twitter:
---
Parent::
Parents::
Siblings::
Spouse::
Children::
&emsp;
```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 + ') &emsp; &emsp; [📧](mailto:' + tempMail + ') &emsp; &emsp; [🗺️](' + "https://waze.com/ul?ll=" + tempCoorSet[0] + "%2C" + tempCoorSet[1] + "&navigate=yes" + ')')
```
---
&emsp;
```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
&emsp;
# <% tp.file.title %>
&emsp;
> [!summary]+
> Person Description
&emsp;
```toc
style: number
```
&emsp;
---
&emsp;
### 📇 Summary
&emsp;
🎂 `=this.Person.DoB`
🗺 `=this.Person.Address`
`=this.Person.Phone`
📧 `=this.Person.Email`
&emsp;
---
&emsp;
### 🗒 Notes
&emsp;
&emsp;
---
&emsp;
### 🎂 Birthday
&emsp;
&emsp;
&emsp;