VAULTlajawi

Templates

My personal Obsidian templates

Obsidian Templates

My personal Obsidian templates.

Attachments.base

When embedded into a note, shows all attachments of that note in a cards view.

Usage

![[Attachments.base]]

Currently supported file types

png, jpg, jpeg, webp, gif, mp4, webm, mov, & mkv

Video files will show up, but sadly not with a thumbnail.

GIFs will have an animated thumbnail.

[!tip] You can add file types by changing the filter.

Related.base

When embedded into a note, shows notes related to the current one. Links and backlinks are always counted, and the rest is based on other factors. Go take a look in the formulas for a better understanding.

Usage

![[Related.base]]

Table-of-Contents-Index.base

Adds an interactive table of contents for the folder this note is in and up to 2 folders deeper. If a subfolder has an index note/folder note of its own, it will be shifted one indentation up.

Usage

![[Table-of-Contents-Index.base]]

[!tip] You can use the title property in the notes to change their display name in this base.

[!caution] Notes in subfolders which don't have a folder note, will show up indented under the wrong folder.

Example

The folder and file structure (left) will result in the table of contents (right) when the Base is embedded in the folder note Foobar.

Folder & File StructureResults in Table of Contents
.
└── Foobar/
    ├── Foobar (folder note, it has the same name)
    ├── Foo/
    │   ├── Foo (folder note)
    │   ├── Qux
    │   └── Quux
    ├── Bar/
    │   ├── Corge
    │   └── Grault
    └── Baz
  • Baz
  • Foo
    • Qux
    • Quux
  • Bar
    • Corge
    • Grault

[!warning] This base assumes folder structure. It is based on folder depth for indentations.

It is recommended to put this Base in a so called index note or folder note.

How to Install

  1. Download the ZIP or clone the repository
  2. Open the folder as a vault in Obsidian (File → Open Vault)
  3. Obsidian will prompt you to install required plugins

Stats

Stars

1

Forks

0

Last updated 3mo ago

Tags

obsidian