Difference between revisions of "MusicBob"
From Sega Retro
Line 2: | Line 2: | ||
<meta itemprop="image" content="{{{cover}}}"> | <meta itemprop="image" content="{{{cover}}}"> | ||
<meta itemprop="name" content="{{PAGENAME}}"> | <meta itemprop="name" content="{{PAGENAME}}"> | ||
− | {{#switch:{{{type|}}}|album=[[Category:Albums]]{{#vardefine:musictype|album}}|ep=[[Category:EPs]]{{#vardefine:musictype|ep}}|single=[[Category:Singles]]{{#vardefine:musictype|single}}|audiobook=[[Category:Audiobooks]]{{#vardefine:musictype|audiobook}}}}{{#if:{{{relatedto|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto|}}}|{{#ifeq:{{#var:musictype}}|audiobook|audiobook|music}}}}|}}{{#vardefine:type|3}}{{BobTablePlus| | + | {{#switch:{{{type|}}}|album=[[Category:Albums]]{{#vardefine:musictype|album}}|ep=[[Category:EPs]]{{#vardefine:musictype|ep}}|single=[[Category:Singles]]{{#vardefine:musictype|single}}|audiobook=[[Category:Audiobooks]]{{#vardefine:musictype|audiobook}}|[[Category:Update audio releases]]}}{{#if:{{{relatedto|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto|}}}|{{#ifeq:{{#var:musictype}}|audiobook|audiobook|music}}}}|}}{{#vardefine:type|3}}{{BobTablePlus| |
{{BobRowPlus | {{BobRowPlus | ||
| if={{{cover|}}} | | if={{{cover|}}} |
Revision as of 14:35, 13 June 2021
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= | label= | releases={{releasesMusic ... }} | relatedto= <!--for Omni templates--> }}