Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-6040

Extend link phrase syntax to allow depending on combination of attributes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      Right now there's no way of saying "if X or Y then do this" nor "if X and Y then do this". Clear usecase is adding vocals/instruments to member of rels, where it should display different things depending on whether there are "vocals or instruments" or "nothing" - but I'm sure there are more.

      Luks proposed "

      {vocal|instrument:(%)}

      where % is used to get the content of the attribute, for multiple attributes it would simply join the values"

            lukas Lukáš Lalinský
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package