Difference between revisions of "Template:InfoBox Music"

From Detective Conan Wiki
m
m
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
 
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
 
|-
 
|-
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #E268EF;" |  '''{{{song}}}'''  
+
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #E268EF;" |  '''{{{song}}}''' <!-- Romaji title -->
 
|-  
 
|-  
 
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |  
 
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |  
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 
|-
 
|-
{{#if:{{{video|}}}|
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | <center>'''Information'''</center>
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} '''Video'''
+
|-
{{!}}-  
+
! width="100"|Original title:
{{!}} colspan="2" style="text-align:center;" {{!}} {{#ev:{{{video-host|youtube}}}|{{{video}}}|272}}
+
| {{{original-title|}}}
 +
|-
 +
{{#if: {{{english-title|}}} |
 +
! English title:
 +
{{!}} {{{english-title}}}
 
{{!}}- }}
 
{{!}}- }}
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | '''Information'''
 
|-
 
! width="100"|Title:
 
| {{{title|}}}
 
 
|-
 
|-
 
! Artist:
 
! Artist:
Line 27: Line 27:
 
{{!}} {{{movie}}}
 
{{!}} {{{movie}}}
 
{{!}}- }}
 
{{!}}- }}
 +
{{#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|}}} |
 
! 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 36: 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 45: Line 72:
 
! Next song:
 
! Next song:
 
{{!}} [[{{{next-song}}}|{{{next-song}}} &raquo;]]
 
{{!}} [[{{{next-song}}}|{{{next-song}}} &raquo;]]
 +
{{!}}-  }}|}}
 +
{{#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;" {{!}} <center>'''Movie themes chronology'''</center>
 +
{{!}}-
 +
{{#if: {{{prev-movie-song|}}} |
 +
! Prev movie song:
 +
{{!}} [[{{{prev-movie-song}}}|&laquo; {{{prev-movie-song}}}]]
 +
{{!}}-  }}
 +
{{#if: {{{next-movie-song|}}} |
 +
! Next movie song:
 +
{{!}} [[{{{next-movie-song}}}|{{{next-movie-song}}} &raquo;]]
 
{{!}}-  }}|}}
 
{{!}}-  }}|}}
 
| 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 52: 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            =    (Mainly used for enumeration. E.g. "Opening 3", "Closing 6", etc...)
+
| song            =    (OP/ED number.)  
 
| image          =
 
| image          =
| video          =    (Optional. This is the video "key" in the URL. E.g. for Youtube,
+
| Original-title  =    (Title in kanji or katakana)
                        it's what's after "watch?v=" and before the next "&" symbol if there's one)
+
| English-title  =    (Optional. English translated title, or just English when it's already in English )
| video-host      =    (Optional. Will default to "youtube". Other supported services are:
 
                        Dailymotion, FunnyOrDie, Google Video, sevenload, Revver)
 
| title          =
 
 
| artist          =  
 
| artist          =  
 
| episodes        =    (Optional. E.g. [[Anime#Season_2_-_Episodes_29-54|35-65]])
 
| episodes        =    (Optional. E.g. [[Anime#Season_2_-_Episodes_29-54|35-65]])
 
| 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            =   
 +
| 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)
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]
+
[[Category:InfoBox templates]][[Category:Templates]]
 
</noinclude>
 
</noinclude>

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)
}}