Never mind the alias2 and 3 there, those were for some temporary workaround and I neglected to delete them.
But it’s not necessary to install and customize that plugin if you have set up working Templates (core plugin) or Templater (third party plugin) templates.
Mind you, the latter (Templater) is more easily customized and can have JavaScript functions incorporated. – See more in forum threads.
From your screenshots, something doesn’t look right and I actually don’t think your Properties/YAML are in fact, Properties/YAML … (it really doesn’t look like it )
I think you might have an empty line between the very first 3 dashes --- indicating the start of the YAML block in Source Mode… which would prevent the YAML block to be parsed, displayed and used as Properties… (meaning that, for Obsidian, at the moment and if you have indeed a rogue empty line at the top of your template/note, this is just some normal markdown content but not a frontmatter block with keys and values to query…)
Your template should look like this in Source Mode:
Right, it’s not valid YAML. Otherwise it still should have worked (possibly, not sure whether alias can still be used).
The first three dashes of valid YAML must be on the very first line of the note. Then the YAML keys and values on each line, then three dashes again to close the YAML block.
That’s all there is to it.
I am not entirely sure how that now works either …
I still have an alias key in one of my test vaults… I mean, it appears as:
---
alias:
---
… in Source Mode … but it’s displayed as aliases in Properties (in Live Preview)
As long as it’s empty, the alias key seem to be considered as another distinct key in the vault but as soon as I add a value to the alias key from Properties in Live Preview, it seems to be merged with the aliases key .
The opposite though doesn’t seem to have the same effect: adding a value to an alias key in YAML in Source Mode doesn’t merge the key with aliases …
In fact, when it’s done, the older, valid value for aliases is not counted or working anymore but it’s still there in source mode.
Best not to confuse anyone around here.
A general pointer about properties is that you can use any YAML key name such as didItakeouttheTrash, but for core properties such as aliases, cssclasses, tags to work as expected one needs to use the plural forms shown in the Docs.
thanks everyone! something is wrong indeed. So i leave one line fr (no other text is there, see screenshot 1), otherwise, it immediately aligned into this “properties” thing (see screenshot 2)