Difference between revisions of "Template:InfoBox CD"

From Detective Conan Wiki
(Created page with '{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2" |- | class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; p...')
 
m (Added new category.)
(2 intermediate revisions by one other user 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;" |  '''{{{name}}}'''
 
|-  
 
|-  
 
| 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;" |  
Line 29: Line 31:
 
! Record Label:
 
! Record Label:
 
| {{{record-label|}}}
 
| {{{record-label|}}}
 +
|-
 +
{{#iferror: {{#expr:{{{prev-cd|0}}} and {{{next-cd|0}}}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} '''Chronology'''
 +
{{!}}-
 +
{{#if: {{{prev-cd|}}} |
 +
! Prev CD:
 +
{{!}} [[{{{prev-cd}}}|« {{{prev-cd}}}]]
 +
{{!}}-  }}
 +
{{#if: {{{next-cd|}}} |
 +
! Next CD:
 +
{{!}} [[{{{next-cd}}}|{{{next-cd}}} »]]
 +
{{!}}-  }}|}}
 +
| colspan="2" style="font-size: smaller; text-align:center; border-top: 1px dotted #aaaaaa" | [[Music|List of songs and CDs]]
 
|-
 
|-
 
{{#if: {{{footnotes|}}} |
 
{{#if: {{{footnotes|}}} |
Line 46: Line 61:
 
| number          =     
 
| number          =     
 
| record-label    =     
 
| record-label    =     
 +
| prev-cd        =    (Optional)
 +
| next-cd        =    (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>

Revision as of 01:57, 16 June 2011

{{{name}}}
Information
Title:
Artist:
Release date:
CDs:
Tracks:
Original Cost:
CD Number:
Record Label:
List of songs and CDs

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

{{InfoBox CD
| image           =    
| title           = 
| artist          =    
| release-date    =    
| cds             =    
| tracks          =    
| cost            =    
| number          =    
| record-label    =    
| prev-cd         =    (Optional)
| next-cd         =    (Optional)
| footnotes       =    (Optional: will not show the row if omitted)
}}