Difference between revisions of "MusicBob"
From Sega Retro
(Undo revision 494501 by Black Squirrel (talk)) |
|||
Line 2: | Line 2: | ||
<meta itemprop="image" content="{{{cover}}}"> | <meta itemprop="image" content="{{{cover}}}"> | ||
<meta itemprop="name" content="{{PAGENAME}}"> | <meta itemprop="name" content="{{PAGENAME}}"> | ||
− | {{#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}}}}{{#vardefine:type|3}}{{BobTablePlus| |
{{BobRowPlus | {{BobRowPlus | ||
| if={{{cover|}}} | | if={{{cover|}}} | ||
Line 11: | Line 11: | ||
{{BobRowPlus | {{BobRowPlus | ||
| if={{{title|}}} | | if={{{title|}}} | ||
− | | default=''<span itemprop="name">{{PAGENAME}}</span>'' | + | | default={{#switch:{{{type|}}}|single=<span itemprop="name">{{PAGENAME}}</span>|''<span itemprop="name">{{PAGENAME}}</span>''}} |
| content=''<span itemprop="name">{{{title}}}</span>'' | | content=''<span itemprop="name">{{{title}}}</span>'' | ||
| headline=yes | | headline=yes | ||
Line 66: | Line 66: | ||
| cover= | | cover= | ||
| title= | | title= | ||
+ | | type= | ||
| artist= | | artist= | ||
| composer= | | composer= |
Revision as of 00:53, 23 May 2020
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 ... }} }}