Some more templates and database pages

This commit is contained in:
Steph Ango
2023-09-12 16:00:27 -07:00
parent 5f3ea0aebb
commit 087cb0e56f
22 changed files with 114 additions and 28 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,8 @@
# obsidian
.obsidian/workspace.json
.obsidian/themes
.obsidian/plugins
.obsidian/community-plugins.json
# Exclude macOS Finder (System Explorer) View States
.DS_Store

View File

@@ -47,7 +47,6 @@
"start": "date",
"shares": "number",
"variety": "text",
"ratingImdb": "number",
"price": "number",
"author": "multitext"
}

9
Books.md Normal file
View File

@@ -0,0 +1,9 @@
## Favorites
```dataview
table without id file.link as Book, author as Author, year as Year, rating as Rating, created as Added, last as "Last read", genre as Genre
from #books
where !contains(file.name, "Template") and rating > 5
sort rating desc, date asc
limit 100
```

6
Companies.md Normal file
View File

@@ -0,0 +1,6 @@
```dataview
table without id file.link as Company, people as People
from #companies
where !contains(file.name, "Template")
sort file.mtime desc
```

7
Meetings.md Normal file
View File

@@ -0,0 +1,7 @@
```dataview
table without id file.link as Meeting, type as Type, people as People, date as Date
from #meetings
where !contains(file.name,"Template")
sort date desc
limit 100
```

18
Movies.md Normal file
View File

@@ -0,0 +1,18 @@
## Favorites
```dataview
table without id file.link as Movie, year as "Year", ratingImdb as "Rating", last as "Last seen", director as "Director"
from #movies
where rating > 9
sort rating desc
```
## Last seen
```dataview
table without id file.link as Movie, year as "Year", rating as "Rating", last as "Last seen", director as "Director"
from #movies
where last != "" and !contains(file.name, "Template")
sort last desc
limit 100
```

6
People.md Normal file
View File

@@ -0,0 +1,6 @@
```dataview
table without id file.link as Person, filter(file.tags, (t) => t !="#people") as Tags
from #people
where !contains(file.name,"Template") and !contains(file.tags,"people/type")
sort file.name asc
```

13
Places.md Normal file
View File

@@ -0,0 +1,13 @@
```leaflet
id: places
markerTag: places
maxZoom:15
height:50%
```
```dataview
table without id file.link as Place, location as "Location", type as Type, rating as "Rating"
from #places
where !contains(file.tags,"places/types") and !contains(file.name,"Template")
sort last desc
```

View File

@@ -1,4 +1,6 @@
An Obsidian vault containing some of my templates and settings.
An Obsidian vault containing my vault structure, as well as my templates and settings. See also [my theme Minimal](https://github.com/kepano/obsidian-minimal).
## Templates
Some of my templates depend on plugins I use:
@@ -6,4 +8,36 @@ Some of my templates depend on plugins I use:
- [Periodic notes](https://github.com/liamcain/obsidian-periodic-notes) for my daily notes
- [Leaflet](https://github.com/javalent/obsidian-leaflet) for maps
See also [my theme Minimal](https://github.com/kepano/obsidian-minimal).
The `.obsidian/types.json` file shows which properties are assigned to which types. Many have short names that are meant for me to remember, e.g. `start` instead of `startdate`.
## Folder structure
I use very few folders. I keep the root of my vault directory for things that I have created, such as journal entries
- **Attachments** for images, PDFs, etc
- **Clippings** for articles and other pages captured with my [Web Clipper](https://stephango.com/obsidian-web-clipper)
- **Daily** for my daily notes, all in `YYYY-MM-DD.md` format
- **References** for anything that refers to something that exists outside of my vault, e.g. books, movies, places, people, podcasts, etc.
- **Templates** for templates. This is actually nested under "Meta" in my personal vault, but I've moved it to the top-level for clarity. Meta also contains my personal style guide and other random things that are about the vault.
## Categories and tagging
I primarily use the category property, e.g. `category: [[Movies]]` to organize and navigate my vault. Some rules I follow:
- Always pluralize categories and tags
- Use `YYYY-MM-DD` everywhere
-
## Rating system
Anything with a `rating` is a number that goes from 1 to 7
- 7 **Perfect**, must try, life-changing, go out of your way to seek this out
- 6 — **Excellent**, worth repeating
- 5 — **Good**, don't go out of your way, but enjoyable
- 4 — **Passable**, works in a pinch
- 3 — **Bad**, don't do this if you can
- 2 — **Atrocious**, actively avoid, repulsive
- 1 — **Evil**, life-changing in a bad way
Why this scale? I like the 7 scale better than 4 or 5 stars because I need more granularity at the top, for the good experiences, and 10 is too many.

View File

@@ -8,9 +8,8 @@ tags:
- cities
location:
rating:
created:
"{ date }":
last: ""
created: {{date}}
last:
---
## Trips

View File

@@ -5,8 +5,7 @@ tags:
- clippings
author: []
url: ""
created:
"{ date }":
created: {{date}}
published:
topics: []
---

View File

@@ -5,7 +5,7 @@ type: "[[Conferences]]"
series:
start:
end:
loc:
location:
tags:
- events
- conferences

View File

@@ -6,5 +6,5 @@ tags:
type:
start:
end:
loc:
location:
---

View File

@@ -3,7 +3,7 @@ category:
- "[[Hosting]]"
start:
end:
loc:
location:
people: []
tags:
- hosting

View File

@@ -5,9 +5,8 @@ tags:
- note
- journal
- meditation
created:
"{ date }":
loc: []
created: {{date}}
location: []
topics: []
---

View File

@@ -4,7 +4,7 @@ category:
type: []
date: {{date}}
org:
loc:
location:
people: []
topics: []
tags:

View File

@@ -5,13 +5,10 @@ cover:
genre: []
director:
cast: []
ratingImdb:
rating:
year:
last:
"{ date }":
last: {{date}}
imdbId:
scoreRT:
via:
tags:
- movies

View File

@@ -5,8 +5,7 @@ tags:
- posts
author: "[[Me]]"
url:
created:
"{ date }":
created: {{date}}
published:
topics:
- ""

View File

@@ -6,13 +6,12 @@ tags:
type: []
address:
rating:
created:
"{ date:YYYY-MM-DD }":
created: "{{date}}"
url:
year:
price:
sqft:
lotsqft:
loc: []
location: []
status:
---

View File

@@ -1,8 +1,9 @@
---
category:
- "[[Places]]"
type: "[[Restaurants]]"
loc:
type:
- "[[Restaurants]]"
location:
rating:
created: {{date}}
last: {{date}}

View File

@@ -4,7 +4,6 @@ category:
genre: []
year:
cast: []
ratingImdb:
rating:
created: {{date}}
last: {{date}}

View File

@@ -3,7 +3,7 @@ category:
- "[[Trips]]"
start:
end:
loc:
location:
tags:
- trips
---