Difference between revisions of "Template:InfoBox Music"

From Detective Conan Wiki
m
(Added CD Info section. Added full support for episode/movie duality.)
Line 27: Line 27:
 
{{!}} {{{movie}}}
 
{{!}} {{{movie}}}
 
{{!}}- }}
 
{{!}}- }}
 +
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | '''CD Info'''
 +
|-
 
{{#if: {{{release-date|}}} |
 
{{#if: {{{release-date|}}} |
 
! Release date:
 
! Release date:
 
{{!}} {{{release-date}}}
 
{{!}} {{{release-date}}}
 
{{!}}- }}
 
{{!}}- }}
 +
! CDs:
 +
| {{{cds|}}}
 +
|-
 +
! Tracks:
 +
| {{{tracks|}}}
 +
|-
 +
! Original Cost:
 +
| {{{cost|}}}
 +
|-
 +
! CD Number:
 +
| {{{number|}}}
 +
|-
 +
! Record Label:
 +
| {{{record-label|}}}
 +
|-
 
{{#if: {{{chart-peak|}}} |
 
{{#if: {{{chart-peak|}}} |
 
! Oricon chart peak:  
 
! Oricon chart peak:  
Line 45: Line 62:
 
! Next song:
 
! Next song:
 
{{!}} [[{{{next-song}}}|{{{next-song}}} »]]
 
{{!}} [[{{{next-song}}}|{{{next-song}}} »]]
 +
{{!}}-  }}|}}
 +
{{#iferror: {{#expr:{{{prev-movie-song|0}}} and {{{next-movie-song|0}}}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} '''Movie themes chronology'''
 +
{{!}}-
 +
{{#if: {{{prev-movie-song|}}} |
 +
! Prev movie song:
 +
{{!}} [[{{{prev-movie-song}}}|« {{{prev-movie-song}}}]]
 +
{{!}}-  }}
 +
{{#if: {{{next-movie-song|}}} |
 +
! Next movie song:
 +
{{!}} [[{{{next-movie-song}}}|{{{next-movie-song}}} »]]
 
{{!}}-  }}|}}
 
{{!}}-  }}|}}
 
| colspan="2" style="font-size: smaller; text-align:center; border-top: 1px dotted #aaaaaa" | [[Music|List of songs]]
 
| colspan="2" style="font-size: smaller; text-align:center; border-top: 1px dotted #aaaaaa" | [[Music|List of songs]]
Line 66: Line 94:
 
| movie          =    (Optional. E.g. [[The Last Wizard of the Century|3]])
 
| movie          =    (Optional. E.g. [[The Last Wizard of the Century|3]])
 
| release-date    =    (Optional)
 
| release-date    =    (Optional)
 +
| cds            =   
 +
| tracks          =   
 +
| cost            =   
 +
| number          =   
 +
| record-label    =   
 
| chart-peak      =    (Optional)
 
| chart-peak      =    (Optional)
 
| prev-song      =    (Optional)
 
| prev-song      =    (Optional)
 
| next-song      =    (Optional)
 
| next-song      =    (Optional)
 +
| prev-movie-song =    (Optional)
 +
| next-movie-song =    (Optional)
 
| footnotes      =    (Optional: will not show the row if omitted)
 
| footnotes      =    (Optional: will not show the row if omitted)
 
}}
 
}}

Revision as of 02:10, 5 January 2010

{{{song}}}
Information
Title:
Artist:
CD Info
CDs:
Tracks:
Original Cost:
CD Number:
Record Label:
List of songs

The following is a list of required or optional parameters for any of the songs:

{{InfoBox Music
| song            =    (Mainly used for enumeration. E.g. "Opening 3", "Closing 6", etc...)
| image           =
| video           =    (Optional. This is the video "key" in the URL. E.g. for Youtube, 
                        it's what's after "watch?v=" and before the next "&" symbol if there's one)
| video-host      =    (Optional. Will default to "youtube". Other supported services are: 
                        Dailymotion, FunnyOrDie, Google Video, sevenload, Revver)
| title           = 
| artist          = 
| episodes        =    (Optional. E.g. [[Anime#Season_2_-_Episodes_29-54|35-65]])
| movie           =    (Optional. E.g. [[The Last Wizard of the Century|3]])
| release-date    =    (Optional)
| cds             =    
| tracks          =    
| cost            =    
| number          =    
| record-label    =    
| chart-peak      =    (Optional)
| prev-song       =    (Optional)
| next-song       =    (Optional)
| prev-movie-song =    (Optional)
| next-movie-song =    (Optional)
| footnotes       =    (Optional: will not show the row if omitted)
}}