Difference between revisions of "MusicBob"

From Sega Retro

Line 17: Line 17:
 
| style={{#ifeq:{{{type|}}}|single||font-style:italic}}
 
| style={{#ifeq:{{{type|}}}|single||font-style:italic}}
 
}}
 
}}
 +
{{#vardefine:companyrole|Publisher}}{{BobRowPlus
 +
| if={{{publisher|}}}
 +
| title=Publisher
 +
| content=<span itemprop="publisher">{{#if:{{#pos:{{{label|}}}|<div}}|{{{publisher}}}|{{company|{{{publisher|}}}|system=MUSIC|icons=no|inline=yes}}}}</span>
 +
}}{{#if:{{{publisher|}}}||[[Category:Music missing publisher]]}}
 
{{#vardefine:companyrole|RecordLabel}}{{BobRowPlus
 
{{#vardefine:companyrole|RecordLabel}}{{BobRowPlus
 
| if={{{label|}}}
 
| if={{{label|}}}
 
| title=Record label
 
| title=Record label
 
| content=<span itemprop="recordLabel">{{#if:{{#pos:{{{label|}}}|<div}}|{{{label}}}|{{company|{{{label|}}}|system=MUSIC|icons=no|inline=yes}}}}</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:Music missing record label]]}}
 
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
| if={{{distributor|}}}
 
| if={{{distributor|}}}
Line 75: Line 80:
 
| composer=
 
| composer=
 
| arranger=
 
| arranger=
 +
| publisher=
 
| label=
 
| label=
 +
| distributor=
 
| releases={{releasesMusic
 
| releases={{releasesMusic
 
...
 
...

Revision as of 06:53, 30 June 2021

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=
| type=
| artist=
| composer=
| arranger=
| publisher=
| label=
| distributor=
| releases={{releasesMusic
...
}}
| relatedto= <!--for Omni templates-->
}}