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.

115 lines
1.4 KiB

---
Alias: [""]
Tag: [""]
Date: <% tp.date.now("YYYY-MM-DD") %>
DocType: "Place"
Hierarchy: "NonRoot"
TimeStamp:
location:
Place:
Type:
SubType:
Style:
Location:
Country:
Status:
CollapseMetaTable: true
Phone: "044 223 17 87"
Email: ""
Website: "[Afghan Anar](https://www.afghananar.ch/)"
---
Parent::
&emsp;
```dataviewjs
let tempPhone = dv.current().Phone ? dv.current().Phone.replaceAll(" ", "") : '+000'
let tempMail = dv.current().Email ? dv.current().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 Save
type command
action Save current file
id Save
```
^button-<% tp.file.title %>Save
&emsp;
# <% tp.file.title %>
&emsp;
> [!summary]+
> Note Description
&emsp;
```toc
style: number
```
&emsp;
---
&emsp;
### 📇 Contact
&emsp;
> [!address] 🗺
> Horton Country Park
Horton Lane
Epsom KT19 8PL
United Kingdom
&emsp;
☎️ `= this.Phone`
📧 `= this.Email`
🌐 `= this.Website`
&emsp;
---
&emsp;
### 🗒 Notes
&emsp;
Loret ipsum
&emsp;
---
&emsp;
### 🔗 Other activity
&emsp;
```dataview
Table DocType as "Doc type" from [[<% tp.file.title %>]]
where !contains(file.name, "@@Travel")
sort DocType asc
```
&emsp;
&emsp;