Difference between revisions of "MusicBob"
From Sega Retro
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#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]]}}{{ | {{#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}}}}|}}{{ | #if:{{{relatedto|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto|}}}|{{#ifeq:{{#var:musictype}}|audiobook|audiobook|music}}}}|}}{{ | ||
− | #if:{{{relatedto2|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto2|}}}|{{#ifeq:{{#var:musictype}}|audiobook|audiobook|music}}}}|}}{{#vardefine:type|3}}{{BobTablePlus| | + | #if:{{{relatedto2|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto2|}}}|{{#ifeq:{{#var:musictype}}|audiobook|audiobook|music}}}}|}}{{#ifeq:{{#var:musictype}}|audiobook|{{#vardefine:type|7}}|{{#vardefine:type|3}}}}{{BobTablePlus| |
{{BobRowPlus | {{BobRowPlus | ||
| if={{{cover|}}} | | if={{{cover|}}} | ||
| align=center | | align=center | ||
| default=[[File:Notavailable.svg]]{{#ifeq:{{NAMESPACE}}|Template||[[Category:No music cover]]}} | | default=[[File:Notavailable.svg]]{{#ifeq:{{NAMESPACE}}|Template||[[Category:No music cover]]}} | ||
− | | content=[[File:{{{cover|}}}|320x240px]] | + | | content={{#if:{{{cover2|}}} |
+ | | {{tabs | ||
+ | | icon1={{#if:{{{tab1|}}}|{{{tab1|}}}|{{{cover|}}}}} | ||
+ | | icon2={{#if:{{{tab2|}}}|{{{tab2|}}}|{{{cover2|}}}}} | ||
+ | | icon3={{#if:{{{tab3|}}}|{{{tab3|}}}|{{{cover3|}}}}} | ||
+ | | icon4={{#if:{{{tab4|}}}|{{{tab4|}}}|{{{cover4|}}}}} | ||
+ | | icon5={{#if:{{{tab5|}}}|{{{tab5|}}}|{{{cover5|}}}}} | ||
+ | | content1=[[File:{{{cover}}}|320x240px]] | ||
+ | | content2=[[File:{{{cover2}}}|320x240px]] | ||
+ | | content3={{#if:{{{cover3|}}}|[[File:{{{cover3}}}|320x240px]]}} | ||
+ | | content4={{#if:{{{cover4|}}}|[[File:{{{cover4}}}|320x240px]]}} | ||
+ | | content5={{#if:{{{cover5|}}}|[[File:{{{cover5}}}|320x240px]]}} | ||
+ | | orientation=horizontal | ||
+ | | hidetitle=yes | ||
+ | | width=auto | ||
+ | | tabliststyle=margin:2px; | ||
+ | }} | ||
+ | | [[File:{{{cover}}}|320x240px]]}} | ||
}} | }} | ||
{{BobRowPlus | {{BobRowPlus | ||
Line 52: | Line 69: | ||
| if={{{composer|}}} | | if={{{composer|}}} | ||
| title=Composer | | title=Composer | ||
− | | content={{{composer|}}} | + | | content={{{composer|}}}[[Category:Old MusicBob field]] |
}} | }} | ||
{{BobRowPlus | {{BobRowPlus | ||
| if={{{arranger|}}} | | if={{{arranger|}}} | ||
| title=Arranger | | title=Arranger | ||
− | | content={{{arranger|}}} | + | | content={{{arranger|}}}[[Category:Old MusicBob field]] |
}} | }} | ||
{{BobRowPlus | {{BobRowPlus | ||
Line 91: | Line 108: | ||
| format= | | format= | ||
| artist= | | artist= | ||
− | |||
− | |||
| publisher= | | publisher= | ||
| label= | | label= |
Latest revision as of 06:19, 8 March 2023
Usage
This template is to be used on articles about albums. Place the following at the top of a page:
{{MusicBob | cover= | title= | type= | format= | artist= | publisher= | label= | distributor= | licensor= | releases={{releasesMusic ... }} | relatedto= <!--for Omni templates--> }}