Files
kepano-obsidian/Templates/City Template.md
2024-01-06 14:53:17 -08:00

54 lines
686 B
Markdown

---
category:
- "[[Places]]"
type:
- "[[Cities]]"
tags:
- places
- cities
places: []
rating:
created: {{date}}
last:
location:
- "35.021041"
- "135.7556075"
---
## Trips
```dataview
table without id
file.link as Trip,
start as Start,
end as End
where
contains(category, [[Trips]]) and
contains(places, this.file.link)
sort file.name desc
```
## Map
```leaflet
id: kyoto
minZoom: 10
maxZoom: 20
defaultZoom: 12
markerTag:
- places
height: 400px
coordinates: [[Kyoto]]
```
## Places
```dataview
table without id
file.link as Place,
rating as Rating,
type as Type
where
contains(category, [[Places]]) and
contains(places, this.file.link)
sort rating desc
```