(Undo revision 621316 by CyborgKing (talk)) Tag: sourceedit |
(Infobox updated using the portable infobox migration tool) |
||
Line 1: | Line 1: | ||
+ | <infobox theme="musicbox"> |
||
− | <includeonly>{| border="0" cellspacing="0" cellpadding="2" style="float:right; margin:0 0 .5em 1em; width:250px; background: transparent; border-radius:8px 8px 0px 0px; border:2px solid #33194d; font-size:smaller; line-height:1.5;" |
||
+ | <title source="Title"><default>{{PAGENAME}}</default></title> |
||
− | |- |
||
+ | <image source="Image"/> |
||
− | !colspan="2" style="color:white; background:#663399; border-bottom: 1px solid #33194d; border-radius:6px 6px 0px 0px; font-size:1.5em;"|'''{{{Title|{{PAGENAME}}}}}''' |
||
+ | <group> |
||
− | |- |
||
+ | <header>'''Artist(s)'''</header> |
||
− | {{#if: {{{Image|}}}| |
||
+ | <data source="Band"><label>'''Band'''</label></data> |
||
− | !colspan="2" style="padding:0; background:transparent; color:transparent;"{{!}}<span id="tooltipstart"></span>[[File:{{{Image}}}|{{{Imagewidth|250}}}px|center]]<span id="tooltipend"></span> |
||
+ | <data source="Composer"><label>'''Composer(s)'''</label></data> |
||
− | {{!}}- |
||
+ | <data source="Vocalists"><label>'''Vocalists(s)'''</label></data> |
||
+ | </group> |
||
+ | <group> |
||
+ | <header>'''Statistics'''</header> |
||
+ | <data source="Album"><label>'''Album'''</label></data> |
||
+ | <data source="Track"><label>'''Track #'''</label></data> |
||
+ | <data source="Time"><label>'''Time'''</label></data> |
||
+ | <data source="Genre"><label>'''Genre'''</label></data> |
||
+ | <data source="Instruments"><label>'''Instruments'''</label></data> |
||
+ | </group> |
||
+ | <group> |
||
+ | <header>{{#if: {{{Audio2|}}}|'''Versions'''}}</header> |
||
+ | <data source="Audio"><label>'''{{{AudioLabel}}}'''</label></data> |
||
+ | <data source="Audio2"><label>'''{{{Audio2Label}}}'''</label></data> |
||
+ | <data source="Audio3"><label>'''{{{Audio3Label}}}'''</label></data> |
||
+ | <data source="Audio4"><label>'''{{{Audio4Label}}}'''</label></data> |
||
+ | <data source="Audio5"><label>'''{{{Audio5Label}}}'''</label></data> |
||
+ | <data source="Audio6"><label>'''{{{Audio6Label}}}'''</label></data> |
||
+ | <data source="Audio7"><label>'''{{{Audio7Label}}}'''</label></data> |
||
+ | <data source="Audio8"><label>'''{{{Audio8Label}}}'''</label></data> |
||
+ | <data source="Audio9"><label>'''{{{Audio9Label}}}'''</label></data> |
||
+ | <data source="Audio10"><label>'''{{{Audio10Label}}}'''</label></data> |
||
+ | </group> |
||
+ | </infobox> |
||
+ | <noinclude> |
||
+ | == Usage & preview == |
||
+ | Type in this: |
||
+ | |||
+ | <pre> |
||
+ | {{MusicBox |
||
+ | |Title= |
||
+ | |Image= |
||
+ | |Imagewidth= |
||
+ | |Band= |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | |Time= |
||
⚫ | |||
⚫ | |||
+ | |Audio2Label= |
||
+ | |Audio2= |
||
}} |
}} |
||
+ | |||
− | |- |
||
+ | </pre> |
||
− | {{#if: {{{Band|}}}{{{Composer|}}}{{{Vocalists|}}}| |
||
+ | |||
− | !colspan="2" style="text-align:left; font-weight:normal; border-bottom: 1px solid #33194d; border-top: 1px solid #33194d; background:#663399; color:white"{{!}}<center>'''Artist(s)'''</center> |
||
+ | to see this: |
||
− | {{!}}- |
||
+ | |||
+ | {{MusicBox |
||
+ | |Title=This is a test |
||
+ | |Image=This is a test |
||
+ | |Imagewidth=This is a test |
||
+ | |Band=This is a test |
||
+ | |Composer=This is a test |
||
+ | |Vocalists=This is a test |
||
+ | |Album=This is a test |
||
+ | |Track=This is a test |
||
+ | |Time=This is a test |
||
+ | |Genre=This is a test |
||
+ | |Instruments=This is a test |
||
+ | |Audio2Label=Test label |
||
+ | |Audio2=This is a test |
||
}} |
}} |
||
+ | |||
− | {{#if: {{{Band|}}}| |
||
+ | |||
− | {{!}} style="background-color: #663399; color:white; width:25%; border-bottom: 1px solid #33194d;"{{!}}'''Band''' |
||
+ | [{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above] |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent; width:55%;"{{!}} |
||
+ | </noinclude> |
||
− | {{{Band}}} |
||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Composer|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d; "{{!}}'''Composer(s)''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
⚫ | |||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Vocalists|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d;"{{!}}'''Vocalists(s)''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
⚫ | |||
− | {{!}}- |
||
− | }} |
||
− | |- |
||
− | {{#if: {{{Album|}}}{{{Track|}}}{{{Time|}}}{{{Genre|}}}{{{Instruments|}}}| |
||
− | !colspan="2" style="text-align:left; font-weight:normal; border-bottom: 1px solid #33194d; border-top: 1px solid #33194d; background:#663399; color:white"{{!}}<center>'''Statistics'''</center> |
||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Album|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d;"{{!}}'''Album''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
⚫ | |||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Track|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d;"{{!}}'''Track #''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
⚫ | |||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Time|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d;"{{!}}'''Time''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
− | {{{Time}}} |
||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Genre|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d;"{{!}}'''Genre''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
⚫ | |||
− | {{!}}- |
||
− | }} |
||
− | {{#if: {{{Instruments|}}}| |
||
− | {{!}}style="background-color: #663399; color:white; border-bottom: 1px solid #33194d;"{{!}}'''Instruments''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
⚫ | |||
− | {{!}}- |
||
− | }} |
||
− | |- |
||
− | {{#if: {{{Audio2|}}}| |
||
− | !colspan="2" style="text-align:left; font-weight:normal; border-bottom: 1px solid #33194d; border-top: 1px solid #33194d; background:#663399; color:white"{{!}}<center>'''Versions'''</center> |
||
− | {{!}}- |
||
− | }} |
||
− | {{#while: |
||
− | |{{{Audio{{#var: i}}|}}} |
||
− | |<nowiki/> |
||
− | {{!}} style="background-color: #663399; border-bottom: 1px solid #33194d; color:white;"{{!}}'''{{{Audio{{#var: i}}Label}}}''' |
||
− | {{!}} class="infoboxcell" style="border-bottom: 1px solid #33194d; background: transparent"{{!}} |
||
− | {{{Audio{{#var: i}}}}} |
||
− | {{!}}- |
||
− | {{#vardefine: i|{{#expr: {{#var: i|1}} + 1}}}} |
||
− | }} |
||
− | |- |
||
− | |}[[Category:Music]][[Category:A to Z]]</includeonly> |
||
− | <noinclude>[[Category:Infobox templates]]</noinclude> |
Revision as of 12:06, 23 October 2015
Usage & preview
Type in this:
{{MusicBox |Title= |Image= |Imagewidth= |Band= |Composer= |Vocalists= |Album= |Track= |Time= |Genre= |Instruments= |Audio2Label= |Audio2= }}
to see this: