Template:Infobox Music: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
mNo edit summary
No edit summary
 
(47 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div>
<infobox theme="infobox">
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
    <title source="name"><default>''{{dab away|{{PAGENAME}}}}''</default></title>
| bgcolor=white align="center" colspan="2" | {{{image|}}}
   
|- valign="top"
    <navigation><div style="text-align:center">{{#if:{{{type|}}}|{{{type}}}}}</div></navigation>
| align="center" colspan=2 bgcolor="#336699" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{name}}}'''
   
|- valign="top"
<image source="image">
{{#if:{{{artist|}}}|
<caption source="caption">
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Artist:'''
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{artist}}}
</caption>
}}
</image>
|- valign="top"
<image source="image2">
{{#if:{{{publisher|}}}|
<caption source="caption2">
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publisher:'''
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{publisher}}}
</caption>
}}
</image>
|- valign="top"
{{#if:{{{release date|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Release Date:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{release date}}}
}}
|- valign="top"
{{#if:{{{format|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Format:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{format}}}
}}
|- class{{{previous story}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{previous story|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Previous Release:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{previous release}}}
}}
|- class{{{next story}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{next story|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Following Release:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{next release}}}
}}
|}
</div></includeonly><noinclude>
==Usage==
Copy and paste '''all''' of the text below onto whichever article page it is needed for (even if some fields are not needed copy '''all''' of the text).
<pre>
{{Infobox Music
|name            =
|image           =
|artist          =
|publisher        =
|release date    =
|format          =
|previous release =
|next release    =
}}
</pre>


==Description of fields==
<!-- Data -->
<pre>
{{Infobox Music
|name            = Name/Title of music
|image            = Image of music cover or identifying image at 250px
|artist          = Artist of music / Primary performer of music
|publisher        = Publisher of music
|release date    = Release date of music
|format          = Format the music was released in
|previous release = Any previous release
|next release    = Any following release
}}
</pre>


[[Category:Infoboxes|Music]]</noinclude>
    <data source="aka"><label>Other titles:</label></data>
    <data source="artist"><label>Artist:</label></data>
<data source="composer"><label>Composer:</label></data>
<data source="orchestrator"><label>Orchestrator:</label></data>
<data source="orchestra"><label>Orchestra:</label></data>
<data source="arranger"><label>Arranger:</label></data>
<data source="vocals"><label>Vocals:</label></data>
<data source="genre"><label>Genre:</label></data>
<data source="type2"><label>Type:</label></data>
<data source="publisher"><label>Publisher:</label></data>
<data source="label"><label>Label:</label></data>
<data source="appearances"><label>Features in:</label></data>
    <data source="isbn"><label>ISBN:</label><format><span class="mn" style="color:#000"<!--necessary to define color for DOL scheme-->>{{{isbn}}}</format></data>
<data source="release date"><label>Release date:</label></data>
<data source="format"><label>Format:</label></data>
<data source="length"><label>Track length:</label></data>
<data source="album"><label>Album:</label></data>
<data source="album length"><label>Length of album:</label></data>
    <group layout="horizontal">   
<data source="itunes"><format><span style="color:#000">[http://itunes.apple.com/{{{itunes}}} on iTunes]</span></format></data>
    </group>
    <group layout="horizontal">
<data source="spotify"><format><span style="color:#000">[http://open.spotify.com/track/{{{spotify}}} on Spotify]</span></format></data>
    </group>
    <group layout="horizontal">
<data source="spotify track"><format><span style="color:#000">[http://open.spotify.com/track/{{{spotify track}}} on Spotify]</span></format></data>
    </group>
    <group layout="horizontal">
<data source="spotify album"><format><span style="color:#000">[http://open.spotify.com/album/{{{spotify album}}} on Spotify]</span></format></data>
    </group>
 
 
<!-- Video -->
 
      <group>
      <header>Official advertisement</header>
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
      </group>
 
      <group>
      <header>Another official advertisement</header>
      <data source="trailer2"><format>{{video|{{{trailer2}}}|250px|center}}</format></data>
      </group>
 
      <group>
      <header>{{{clip name|Memorable moment}}}</header>
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
      </group>
     
      <group>
      <header>{{{clip2 name|Another memorable moment}}}</header>
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
      </group>
     
      <group>
      <header>{{{clip3 name|One more memorable moment}}}</header>
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
        </group>
     
        <group>
        <header>{{{fullvid name|Full video}}}</header>
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
</group>
     
        <group>
        <header>{{{music video name|Official music video}}}</header>
      <data source="music video"><format>{{video|{{{music video}}}|250px|center}}</format></data>
</group>
 
        <group>
        <header>{{{bts name|Behind the scenes video}}}</header>
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
</group>
 
        <group>
        <header>More behind the scenes stuff</header>
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
</group>
 
<group>
<header>Another behind the scenes moment</header>
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
</group>
 
<!-- Audio -->
 
<group layout="horizontal">
        <header>Official audio trailer</header>
  <data source="soundcloudtrailer"><format>{{soundcloud|{{{soundcloudtrailer}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Another official audio trailer</header>
  <data source="soundcloudtrailer2"><format>{{soundcloud|{{{soundcloudtrailer2}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Music suite</header>
  <data source="musicsuite"><format>{{soundcloud|{{{musicsuite}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Music sample</header>
  <data source="sample"><label>{{{sample name|}}}</label><format>{{soundcloud|{{{sample}}}}}</format></data>
</group>
<group layout="horizontal">
        <header>Behind the scenes interview</header>
<data source="soundcloudbts"><format>{{soundcloud|{{{soundcloudbts}}}}}</format></data>
    </group>
<group layout="horizontal">
        <header>Audio commentary</header>
<data source="audio commentary"><format>{{soundcloud|{{{audio commentary}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Full audio</header>
<data source="fullaud"><format>{{soundcloud|{{{fullaud}}}}}</format></data>
</group>
 
<!-- Navigation -->
    <group layout="horizontal">
    <header>Navigation</header>
    <header><div class="story-nav">{{{series}}}</div></header>
    <data source="prev"><label>&larr; Previous</label><format>''{{da|{{{prev}}}}}''</format></data>
    <data source="next"><label>Next &rarr;</label><format>''{{da|{{{next}}}}}''</format></data>
    </group>
 
    <group layout="horizontal">
    <header><div class ="story-nav">{{{series2}}}</div></header>
    <data source="prev2"><format>''{{da|{{{prev2}}}}}''</format></data>
    <data source="next2"><format>''{{da|{{{next2}}}}}''</format></data>
    </group>
 
    <group layout="horizontal">
    <header><div class="story-nav">{{{series3}}}</div></header>
    <data source="prev3"><format>''{{da|{{{prev3}}}}}''</format></data>
    <data source="next3"><format>''{{da|{{{next3}}}}}''</format></data>
    </group>
 
</infobox>
<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>

Latest revision as of 19:59, 19 February 2024

Instructions for {{Infobox Music}}

Copy and paste all of the text below onto whichever article page it is needed for (even if some fields are not needed copy all of the text).

{{Infobox Music
|name             = 
|image            = 
|type             = 
|artist           = 
|composer         = 
|orchestrator     = 
|orchestra        = 
|arranger         = 
|vocals           = 
|appearances      = 
|album            = 
|publisher        = 
|label            = 
|isbn             = 
|release date     = 
|type2            = 
|format           = 
|length           = 
|prev             = 
|next             = 
}}