Template:Infobox Song: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Meg Taylor
(fix)
imported>Caesar Schinas
(Modify to make use of Template:Infobox)
Line 1: Line 1:
{| class="infobox bordered" cellpadding="2" cellspacing="2" style="font-size: 90%; width:240px;; white"
<includeonly>{{Infobox
|-
| title      = {{{name|}}}
! colspan="2" align="center" style="font-size:125%;text-align:center;width:240px;background-color:#FFD700;"| {{{name}}}
| titlestyle = background:#FFD700;
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;padding-bottom:.5em;background:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{!}}-
}}
{{#if:{{{album<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Appears on'''
{{!}}{{{album}}}
{{!}}-
}}
{{#if:{{{published<includeonly|</includeonly}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Published by'''
{{!}}{{{published}}}
{{!}}-
}}
{{#if:{{{registration<includeonly|</includeonly}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Registration'''
{{!}}{{{registration}}}
{{!}}-
}}
{{#if:{{{released<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Release date'''
{{!}}{{{released}}}
{{!}}-
}}
{{#if:{{{recorded<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Recorded'''
{{!}}{{{recorded}}}
{{!}}-
}}
{{#if:{{{genre<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Genre'''
{{!}}{{{genre}}}
{{!}}-
}}
{{#if:{{{language<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Language'''
{{!}}{{{language}}}
{{!}}-
}}
{{#if:{{{length<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Length'''
{{!}}{{{length}}}
{{!}}-
}}
{{#if:{{{writer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Writer'''
{{!}}{{{writer}}}
{{!}}-
}}
{{#if:{{{composer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Composer'''
{{!}}{{{composer}}}
{{!}}-
}}
{{#if:{{{label<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Label'''
{{!}}{{{label}}}
{{!}}-
}}
{{#if:{{{producer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Producer'''
{{!}}{{{producer}}}
{{!}}-
}}
{{#if:{{{engineer<includeonly|</includeonly}}} |
{{!}} style="background-color:#FAFAD2;" {{!}}'''Engineer'''
{{!}}{{{engineer}}}
{{!}}-
}}
|}<noinclude>


<noinclude>
| labelstyle = background:#FAFAD2;
{{newtemplate
 
|description=Template for song infoboxes
| 1_data    = {{{image|}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|execution=<pre><nowiki>
 
{{Infobox Song
| 2_label    = Appears on
|name        =  
| 2_data    = {{{album|}}}
|image      =  
 
|caption    =  
| 3_label    = Published by
|album      =  
| 3_data    = {{{published|}}}
|published  =  
 
|registration =
| 4_label    = Registration
|released   =  
| 4_data    = {{{registration|}}}
|recorded    =  
 
|genre       =  
| 5_label    = Release date
|language    =  
| 5_data    = {{{released|}}}
|length     =
 
|writer      =
| 6_label   = Recorded
|composer   =
| 6_data    = {{{recorded|}}}
|label      =
 
|producer   =
| 7_label   = Genre
|engineer   =
| 7_data    = {{{genre|}}}
}}
 
</nowiki></pre>
| 8_label    = Language
|sample= see [[Dazed and Confused (Led Zeppelin song)]]
| 8_data    = {{{language|}}}
|caveats=All fields othan than "name" are optional
 
|authors=[[User:Meg Ireland|Meg Ireland]]
| 9_label   = Length
}}
| 9_data    = {{{length|}}}
</noinclude>
 
| 10_label  = Writer
| 10_data   = {{{writer|}}}
 
| 11_label  = Composer
| 11_data   = {{{composer|}}}
 
| 12_label  = Label
| 12_data   = {{{label|}}}
 
| 13_label  = Producer
| 13_data    = {{{producer|}}}
 
| 14_label  = Engineer
| 14_data    = {{{engineer|}}}
}<noinclude>{{TlDoc}}</noinclude>

Revision as of 02:57, 5 May 2009