Hello there! I would like to know if there is any possibility to articulate an “if … else …” statement in the template field of the plugins options.
In my case I have the following problem: For example I have the following item in my Zotero database:
@incollection{Armstrong2007,
title = {The {{Fiction}} of {{Bourgeois Morality}} and the {{Paradox}} of {{Individualism}}},
shorttitle = {Bourgeois {{Morality}}},
booktitle = {The {{Novel}}: {{Forms}} and {{Themes}}},
author = {Armstrong, Nancy},
editor = {Moretti, Franco},
date = {2007},
volume = {2},
pages = {349--388},
publisher = {{Princeton University Press}},
}
I want to set up the literature note title template that it shows the following:
T - Armstrong2007 - Bourgeois Morality
Until here it works fine with:
T - {{citekey}} - {{entry.titleShort}}
My problem now is that not every item has a short title. Is it possible to write an expression that the template uses the short title if provided and else just the normal title?
Thanks in advance and all the best!