Jump to content

Template:InfoBox Music: Difference between revisions

From Detective Conan Wiki
Tomarzig (talk | contribs)
m center
m Debolding
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="roundtable centered" style="width:100%; text-align:center; padding: 2px; margin-bottom: 10px; border: 1px solid #ccc;"
|-
! colspan="3" style="color: #ffffff; vertical-align: middle; font-size: small; background-color: #e268ef;" | <center>Chronology</center>
|-
| style="border: none; width: 30%; text-align: center;" | {{#if: {{{prev-song|}}} | <span style="font-size: 16px;">‹ </span> [[{{{prev-song}}}]] }}
| style="border-left: 1px solid #ccc; border-right: 1px solid #ccc; width: 12%; text-align: center;" | [[Music|'''List of Songs''']]
| style="border: none; width: 30%; text-align: center;" | {{#if: {{{next-song|}}} | [[{{{next-song}}}]] <span style="font-size: 16px;"> ›</span> }}
|}
<!--Conditional roudtable: only displays when EITHER prev-movie-song OR next-movie-song inserted-->
{{#if: {{{prev-movie-song|}}} {{{next-movie-song|}}} |
{{MovieThemesChronology|prev-movie-song={{{prev-movie-song}}}|next-movie-song={{{next-movie-song}}}}}
}}
<!-- Main infobox starts -->
{| 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"
|-
|-
Line 26: Line 39:
! Movie:
! Movie:
{{!}} {{{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>
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | <center>'''CD Info'''</center>
Line 52: Line 75:
{{!}} [[wikipedia:Oricon|{{{chart-peak}}}]]
{{!}} [[wikipedia:Oricon|{{{chart-peak}}}]]
{{!}}- }}
{{!}}- }}
{{#iferror: {{#expr:{{{prev-song|0}}} and {{{next-song|0}}}}}|
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} <center>'''Chronology'''</center>
{{!}}-
{{#if: {{{prev-song|}}} |
{{#if: {{{prev-song|}}} |
! Prev song:
}}
{{!}} [[{{{prev-song}}}|&laquo; {{{prev-song}}}]]
{{!}}-  }}
{{#if: {{{next-song|}}} |
{{#if: {{{next-song|}}} |
! Next song:
}}
{{!}} [[{{{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|}}} |
{{#if: {{{prev-movie-song|}}} |
! Prev movie song:
}}
{{!}} [[{{{prev-movie-song}}}|&laquo; {{{prev-movie-song}}}]]
{{!}}-  }}
{{#if: {{{next-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]]
|-
{{#if: {{{footnotes|}}} |
{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}}  }}
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}}  }}
Line 91: Line 99:
| 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          =     
Line 103: Line 120:
| footnotes      =    (Optional: will not show the row if omitted)
| footnotes      =    (Optional: will not show the row if omitted)
}}
}}
</pre>
</pre>[[Category:InfoBox templates]][[Category:Templates]]
[[Category:InfoBox templates]][[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 02:44, 9 June 2025

Chronology
List of Songs
{{{song}}}
Information
Original title:
Artist:
CD Info
CDs:
Tracks:
Original Cost:
CD Number:
Record Label:

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