Shiraz: Mail link in sticky footer

:wave: I want to put an email link with subject in my Shiraz sticky footer. The subject shall be the current tiddler’s title. I don’t know how to retrieve the tiddler’s title. I’m not very experienced with filters, variables etc. I did this for a try but it doesn’t work:

[[Link title|mailto:alias@domain.com&subject=someprefix-{{<currentTiddler>}}]]

Could anybody please help me with this?

would using the HTML <a> tag directly work in your situation (because it is considered an external link)?

<a href={{{ [[mailto:alias@domain.com&subject=someprefix-]addsuffix<currentTiddler>] }}}>Link title</a>

I feel there may be simpler ways, but this seems to work.
You could replace Link title with something else, using filters if needed, or field transclusions.

Within a filter (delimited by the square brackets above), you can recover the current tiddler’s tile using the currentTiddler variable. Variables are surrounded by angle brackets within a filter.

To leverage filter expressions somewhere in wikitext, one of the ways is to wrap the filter expression with triple curly brackets. This method normally renders the filter results as links, but in this scenario, it is not problematic.

It works! Thank you for explaining how variables and filters work together – helps me a lot :+1: