Difference between revisions of "MusicBob"

From Sega Retro

Line 16: Line 16:
 
| align=center
 
| align=center
 
}}
 
}}
{{BobRowPlus
+
{{#vardefine:companyrole|RecordLabel}}{{BobRowPlus
 
| if={{{label|}}}
 
| if={{{label|}}}
 
| title=Record label
 
| title=Record label
| content=<span itemprop="recordLabel">{{#vardefine:companyrole|RecordLabel}}{{#if:{{#pos:{{{label|}}}|<div}}|{{{label}}}|{{company|{{{label|}}}|system=MUSIC|icons=no|inline=yes}}}}{{#vardefine:companyrole|}}</span>
+
| content=<span itemprop="recordLabel">{{#if:{{#pos:{{{label|}}}|<div}}|{{{label}}}|{{company|{{{label|}}}|system=MUSIC|icons=no|inline=yes}}}}</span>
 
}}{{#if:{{{label|}}}||[[Category:Albums with missing catalog or label]]}}
 
}}{{#if:{{{label|}}}||[[Category:Albums with missing catalog or label]]}}
{{BobRowPlus
+
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
| if={{{distributor|}}}
 
| if={{{distributor|}}}
 
| title=Distributor
 
| title=Distributor
| content=<span itemprop="distributor">{{#vardefine:companyrole|Distributor}}{{company|{{{distributor}}}|system=MUSIC||icons=no|inline=yes}}{{#vardefine:companyrole|}}</span>
+
| content=<span itemprop="distributor">{{company|{{{distributor}}}|system=MUSIC||icons=no|inline=yes}}</span>
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus

Revision as of 16:07, 4 May 2019

Notavailable.svg
MusicBob

Usage

This template is to be used on articles about albums. Place the following at the top of a page:

{{MusicBob
| cover=
| title=
| artist=
| composer=
| arranger=
| label=
| releases={{releasesMusic
...
}}
}}