How to Create a Life Progress Bar in Obsidian Using Template Variables

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 12

  • @Fawstah
    @Fawstah Рік тому +2

    This is such a weird wild encapsulation of my interests. Ty for sharing!

  • @OlofHervieu
    @OlofHervieu Рік тому

    Thanks for this ... was exactely what I was looking for

  • @EduardoCarrilloNET
    @EduardoCarrilloNET 3 місяці тому +1

    For some reason the date variable wasn't being updated when I applied the template to the daily note. So, I made an adjustment to how I got the date.
    Because the daily note's name also has the full date in the same format YYYY-MM-DD, I first got the file name in a variable and then transfered that to the today variable. This is what it looks like:
    const fileName = dv.current().file.name;
    const today = dv.date(fileName);
    After that, the rest of the code block worked just fine.

  • @AndrewBloch-u4h
    @AndrewBloch-u4h Рік тому

    I am not finding the specific code in your template folder. Maybe I'm not seeing what it is called?

    • @MikeSchmitz
      @MikeSchmitz  Рік тому

      It’s under the title “Memento Mori” - I just double-checked the vault, looks like it’s there but if you can’t find send me an email and I’ll get you the file, mike@obsidianuniversity.com

  • @darkvoid--
    @darkvoid-- Рік тому

    hi my friend.
    the template only worked with YYYY-MM-DD. Is it possible to exchange and use DD-MM-YYYY? I changed it but it didn't work, despite the date of the plugins being the same.

    • @MikeSchmitz
      @MikeSchmitz  Рік тому

      You're right, I can't get it to work when changing the date format to DD-MM-YYYY either. Unfortunately, I don't know enough about Dataview to really troubleshoot what the issue is though. Sorry 😞

  • @ultimathule1000
    @ultimathule1000 Рік тому +1

    Not "momento" but MEMENTO" ...
    Momento is a short unit of time.
    Memento is "to remember".
    Two different things.

    • @MikeSchmitz
      @MikeSchmitz  Рік тому +1

      Thanks for pointing this out, think I got it right in the code but misspelled it for the chapter. Should be fixed now.

    • @Jaes596
      @Jaes596 Місяць тому

      tomato tomato bro two of the same things