User:Nikki/Relationship editor docs

From MusicBrainz Wiki
Jump to navigationJump to search

Relationship types

Parent
Defines which relationship type the current relationship type will be displayed under. Leave blank for a top-level relationship.
Child order
Defines the order the relationships will be listed in. Relationships with the same child order will be sorted alphabetically.
Forward link phrase
The short forwards link phrase, e.g. "Wikipedia". Include all the attributes you're using, in the desired position(s) on the phrase, and surrounded by {}. If you want to display a name different from the attribute name, you can do so as {attribute:displayname}. If you want a word (not the attribute name) to change if an attribute is present, use {attribute:changedword|word}. For example, "has {attribute:an|a} {assistant} conductor"
Reverse link phrase
The short reverse link phrase, e.g. "Wikipedia page for". Include all the attributes you're using, etc.
Short link phrase
The long link phrase, e.g. "has a Wikipedia page at". Include all the attributes you're using, etc.
Description
A description of the relationship type. Leave blank for a grouping relationship type which can't be used. Include This relationship type is <strong>deprecated</strong> to prevent a deprecated relationship from being usable. Include a link to the relevant /doc/ page in all other cases.
Priority
Nobody knows what this is. Use 0.
Attributes
Tick the boxes for the attributes you want this relationship to have. Enter 0 and 1 for a checkbox, 0 and blank for an optional dropdown and 1 and blank for a compulsory dropdown. All other combinations are untested.