Difference between revisions of "Template:BBC Music artist"
Jump to navigation
Jump to search
imported>Zyxw m (Zyxw moved page Template:BBCMusic artist to Template:BBC Music artist: match name of source BBC Music) |
imported>Zyxw (Trim any leading spaces in parameter 1 that would break URL. Add fix for empty name parameter.) |
||
| Line 1: | Line 1: | ||
| − | [https://www.bbc.co.uk/music/artists/{{{1|{{{id}}}}}} {{{2|{{{name|{{ | + | [https://www.bbc.co.uk/music/artists/{{Trim|{{{1|{{{id}}}}}}}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[BBC Music]]<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:09, 17 March 2019
This template provides a link to the specified artist's BBC Music page. BBC Music pulls its data from MusicBrainz.
Usage
- Unnamed parameters
{{BBC Music artist | ID }}{{BBC Music artist | ID | NAME }}
- Named parameters
{{BBC Music artist | id= ID }}{{BBC Music artist | id= ID | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
* {{BBC Music artist | 46e5aa54-d0a2-4121-8ad8-e5d6147c0c08 | Murray Gold }}
Output:
Named parameters
URL:
Usage:
* {{BBC Music artist | id= 31e7b30b-f960-408f-908b-c8e277308eab | name= Susumu Hirasawa }}
Output:
See also
| The above documentation is transcluded from Template:BBC Music artist/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |