Difference between revisions of "MusicBob"

From Sega Retro

(Undo revision 720157 by SorachiJirachi (talk): didn't seem to work as I'd hoped)
Tag: Undo
Line 20: Line 20:
 
| if={{{publisher|}}}
 
| if={{{publisher|}}}
 
| title=Publisher
 
| title=Publisher
| content=<span itemprop="publisher">{{#if:{{#pos:{{{label|}}}|<div}}|{{{publisher}}}|{{company|{{{publisher|}}}|system=MUSIC|icons=no|inline=yes}}}}</span>
+
| content=<span itemprop="publisher">{{#if:{{#pos:{{{label|}}}|<div}}|{{{publisher}}}|{{company|{{{publisher|}}}|icons=no|inline=yes}}}}</span>
 
}}
 
}}
 
{{#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|}}}|icons=no|inline=yes}}}}</span>
 
}}{{#if:{{{publisher|}}}{{{label|}}}||[[Category:Music missing record label]]}}
 
}}{{#if:{{{publisher|}}}{{{label|}}}||[[Category:Music missing record label]]}}
 
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
| if={{{distributor|}}}
 
| if={{{distributor|}}}
 
| title=Distributor
 
| title=Distributor
| content=<span itemprop="distributor">{{company|{{{distributor|}}}|system=MUSIC||icons=no|inline=yes}}</span>
+
| content=<span itemprop="distributor">{{company|{{{distributor|}}}||icons=no|inline=yes}}</span>
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus

Revision as of 04:57, 1 December 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=
| licensor=
| releases={{releasesMusic
...
}}
| relatedto= <!--for Omni templates-->
}}