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.

111 lines
1.6 KiB

---
Alias: []
Tag: ["🧍", "Polo", "🎡"]
Date: 2022-09-16
DocType: "Person"
Hierarchy: "NonRoot"
TimeStamp:
location: [51.34378980192966,-0.2915408008813016]
CollapseMetaTable: true
Person:
LastName: Ryan
FirstName: Anderson
DoB:
Address: "Horton Country Park<br>Horton Lane<br>Epsom KT19 8PL<br>United Kingdom"
Phone: <a href="tel:+447950682858">+44 7950 682858</a>
Email:
Relation: "Polo Manager"
---
Parent:: [[@@London|London]], [[Epsom Polo Club]]
Parents::
Siblings:: [[Callum Anderson]]
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-RyanAndersonPersonEdit
```button
name Save
type command
action Save current file
id Save
```
^button-RyanAndersonPersonSave
&emsp;
# Ryan Anderson
&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;