Post Reply 
Prefix on tags
03-03-2021, 09:06
Post: #1
Prefix on tags
Is it possible to add a fixed prefix to a tag?
the idea is to add a something to identify the role
For example:
the Conductor is Herbert con Karajan, I should like to read it as
© Herbert con Karajan
Thank you
Find all posts by this user
Quote this message in a reply
03-03-2021, 10:37 (This post was last modified: 03-03-2021 10:38 by simbun.)
Post: #2
RE: Prefix on tags
The only way I know how to achieve something like this would be to use displayFormat.

As an example:
tagFormat: Title.displayFormat={$title^@$subtitle^ (^)}
Find all posts by this user
Quote this message in a reply
03-03-2021, 11:30 (This post was last modified: 03-03-2021 11:30 by stefano_mbp.)
Post: #3
RE: Prefix on tags
I tried but I cannot add a "fixed" prefix to a single tag
If I understand in example I obtain a string like this "Title (@ Subtitle)"
but what I should want is "(@) Title"
Find all posts by this user
Quote this message in a reply
03-03-2021, 11:37 (This post was last modified: 03-03-2021 11:41 by simbun.)
Post: #4
RE: Prefix on tags
The example I gave is displayed as "@Title (Subtitle)"
For a single tag it would be: Title.displayFormat={$title^(@) }

The ^^^ are applied to the tag preceeding their usage, and delimited by the next tag.

$tag-list^prefix^suffix^separator
Find all posts by this user
Quote this message in a reply
03-03-2021, 11:44
Post: #5
RE: Prefix on tags
For (@) Title, use:

Title.displayFormat={$title^(@) }
Find all posts by this user
Quote this message in a reply
04-03-2021, 09:18
Post: #6
RE: Prefix on tags
It works, thank you
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)