Template:MusicBrainz meta: Difference between revisions
Appearance
Content deleted Content added
CyberSkull (talk | contribs) for consistency with MusicBrainz, `mbid` is now preferred over `id`. `id` will still work and will not be flagged as a deprecated parameter at this time. |
|||
(8 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
[ |
[https://musicbrainz.org/{{{type|{{{1}}}}}}/{{{mbid|{{{id|{{{2}}}}}}}}} {{{name|{{{3}}}}}}]<!-- |
||
-->{{#if:{{{wdc-property|}}}|{{WikidataCheck|property={{{wdc-property}}}|value={{{mbid|{{{id|{{{2|{{{wdc-value|}}}}}}}}}}}}|category={{#if:{{{wdc-category|}}}|{{{wdc-category}}}|{{#ifeq:{{{type|{{{1}}}}}}|release-group|MusicBrainz release group|MusicBrainz {{{type|{{{1}}}}}}}}}}|namespaces={{{wdc-namespaces|0}}} }} | }}<!-- |
-->{{#if:{{{wdc-property|}}}|{{WikidataCheck|property={{{wdc-property}}}|value={{{mbid|{{{id|{{{2|{{{wdc-value|}}}}}}}}}}}}|category={{#if:{{{wdc-category|}}}|{{{wdc-category}}}|{{#ifeq:{{{type|{{{1}}}}}}|release-group|MusicBrainz release group|MusicBrainz {{{type|{{{1}}}}}}}}}}|namespaces={{{wdc-namespaces|0}}} }} | }}<!-- |
||
--><includeonly><!-- |
|||
⚫ | -- |
||
⚫ | |||
⚫ | |||
-->{{#if:{{{name|{{{3|}}}}}}||<span class="error"> ⚠ "<code>name</code>" is missing!</span>{{Main other|[[Category:MusicBrainz templates used with incorrect or deprecated parameters]]}}|}}|}}<!-- |
|||
⚫ | |||
--></includeonly><!-- |
|||
--><noinclude> |
--><noinclude> |
Latest revision as of 18:42, 22 June 2023
This template is used on approximately 5,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses the common URL format for MusicBrainz links, and is only intended to be used as a meta template.
Usage
{{MusicBrainz meta|type=|mbid=|name=}}
Wikidata
Several parameters for WikiData have also been included. All {{WikidataCheck}} parameters are supported with the wdc-
prefix. wdc-value
is the only parameter needed to add Wikidata support.
Tracking category
Category:MusicBrainz templates used with incorrect or deprecated parameters (0)
See also
- Template:MusicBrainz artist (links, talk)
- Template:MusicBrainz label (links, talk)
- Template:MusicBrainz meta (links, talk)
- Template:MusicBrainz recording (links, talk)
- Template:MusicBrainz release group (links, talk)
- Template:MusicBrainz release (links, talk)
- Template:MusicBrainz work (links, talk)
- MusicBrainz