Difference between revisions of "Template:InfoBox Music"

From Detective Conan Wiki
(This was discussed in DCEN Discord. We all thought it was better to have the page as Opening X, then {{song}} as the Romaji title and then replace Title with English title and Original title. More info & easier to find)
m
 
(8 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
|-
 
|-
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | '''Information'''
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | <center>'''Information'''</center>
 
|-
 
|-
 
! width="100"|Original title:
 
! width="100"|Original title:
 
| {{{original-title|}}}
 
| {{{original-title|}}}
 
|-
 
|-
! English title:
 
 
{{#if: {{{english-title|}}} |
 
{{#if: {{{english-title|}}} |
 
! English title:
 
! English title:
Line 28: Line 27:
 
{{!}} {{{movie}}}
 
{{!}} {{{movie}}}
 
{{!}}- }}
 
{{!}}- }}
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | '''CD Info'''
+
{{#if:{{{video|}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} <center>'''Official Video'''</center>
 +
{{!}}-
 +
{{!}} colspan="2" style="text-align:center;" {{!}} {{#ev:{{{video-host|youtube}}}|{{{video}}}|271}}
 +
{{!}}- }}
 +
{{#if:{{{video-short|}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} <center>'''Official Video (Short Version)'''</center>
 +
{{!}}-
 +
{{!}} colspan="2" style="text-align:center;" {{!}} {{#ev:{{{video-host|youtube}}}|{{{video-short}}}|271}}
 +
{{!}}- }}
 +
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | <center>'''CD Info'''</center>
 
|-
 
|-
 
{{#if: {{{release-date|}}} |
 
{{#if: {{{release-date|}}} |
Line 54: Line 63:
 
{{!}}- }}
 
{{!}}- }}
 
{{#iferror: {{#expr:{{{prev-song|0}}} and {{{next-song|0}}}}}|
 
{{#iferror: {{#expr:{{{prev-song|0}}} and {{{next-song|0}}}}}|
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} '''Chronology'''
+
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} <center>'''Chronology'''</center>
 
{{!}}-  
 
{{!}}-  
 
{{#if: {{{prev-song|}}} |
 
{{#if: {{{prev-song|}}} |
Line 65: Line 74:
 
{{!}}-  }}|}}
 
{{!}}-  }}|}}
 
{{#iferror: {{#expr:{{{prev-movie-song|0}}} and {{{next-movie-song|0}}}}}|
 
{{#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'''
+
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} <center>'''Movie themes chronology'''</center>
 
{{!}}-  
 
{{!}}-  
 
{{#if: {{{prev-movie-song|}}} |
 
{{#if: {{{prev-movie-song|}}} |
Line 81: Line 90:
 
|}
 
|}
 
<noinclude>
 
<noinclude>
The following is a list of required or optional parameters for any of the songs:
+
The following is a list of required or optional parameters for any of the songs: <!--after thinking a bit, I think song is better that way, yeh-->
 
<pre>
 
<pre>
 
{{InfoBox Music
 
{{InfoBox Music
| song            =    (Romaji title, or english if it's the actual title. E.g. Lie Lie Lie)
+
| song            =    (OP/ED number.)  
 
| image          =
 
| image          =
 
| Original-title  =    (Title in kanji or katakana)
 
| Original-title  =    (Title in kanji or katakana)
Line 92: Line 101:
 
| 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)
 +
| video          =    (Optional. Link to official music video. 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-short    =    (Optional. Link to official short version of music video when the full
 +
                        version is not available. 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)
 
| cds            =     
 
| cds            =     
 
| tracks          =     
 
| tracks          =     

Latest revision as of 16:36, 15 May 2019

{{{song}}}
Information
Original 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            =    (OP/ED number.) 
| image           =
| Original-title  =    (Title in kanji or katakana)
| English-title   =    (Optional. English translated title, or just English when it's already in English )
| 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)
| video           =    (Optional. Link to official music video. 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-short     =    (Optional. Link to official short version of music video when the full 
                        version is not available. 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)
| 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)
}}