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
.obsidian/workspace.json .obsidian/workspace.json
.obsidian/themes .obsidian/themes
.obsidian/plugins
.obsidian/community-plugins.json
# Exclude macOS Finder (System Explorer) View States # Exclude macOS Finder (System Explorer) View States
.DS_Store .DS_Store

View File

@@ -47,7 +47,6 @@
"start": "date", "start": "date",
"shares": "number", "shares": "number",
"variety": "text", "variety": "text",
"ratingImdb": "number",
"price": "number", "price": "number",
"author": "multitext" "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: 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 - [Periodic notes](https://github.com/liamcain/obsidian-periodic-notes) for my daily notes
- [Leaflet](https://github.com/javalent/obsidian-leaflet) for maps - [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 - cities
location: location:
rating: rating:
created: created: {{date}}
"{ date }": last:
last: ""
--- ---
## Trips ## Trips

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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