Custom Literature Note Title Template

What I’m trying to do

If have the plugin called “Citations” with the following Literature note title template: @{{citekey}}. This templates gives me entries of the form:
[[@Example_etal_1997]]
Now I want to changes to template, such that I get entries of the following form
[[@Example_etal_1997|$\phantom{!}^{\text{ref}}$]]
How do I make a template inside Citations, without copy/pasting “|$\phantom{!}^{\text{ref}}$” every time?

Things I have tried

Pasted the following code in to the “Literature note title template”:
@{{citekey}}|$\phantom{!}^{\text{ref}}$
But this does not work, since the “|” sign gets converted to a underscore.