Template:Infobox Single: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Meg Taylor
(fix)
imported>Caesar Schinas
m (colours)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered" cellpadding="2" cellspacing="2" style="font-size: 90%; width:240px;; white"
<includeonly>{{Infobox
|-
| style     = padding:0;
! colspan="2" align="center" style="font-size:125%;width:152px;background-color:#FFA500;"| {{{name}}}
| labelstyle = background:#ffcc99; padding:0.1em 0.25em;
|-
{{#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:#FFCC99;" {{!}}'''Appears on'''
{{!}}{{{album}}}
{{!}}-
}}
{{#if:{{{published<includeonly|</includeonly}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Published by'''
{{!}}{{{published}}}
{{!}}-
}}
{{#if:{{{registration<includeonly|</includeonly}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Registration'''
{{!}}{{{registration}}}
{{!}}-
}}
{{#if:{{{released<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Release date'''
{{!}}{{{released}}}
{{!}}-
}}
{{#if:{{{recorded<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Recorded'''
{{!}}{{{recorded}}}
{{!}}-
}}
{{#if:{{{genre<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Genre'''
{{!}}{{{genre}}}
{{!}}-
}}
{{#if:{{{language<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Language'''
{{!}}{{{language}}}
{{!}}-
}}
{{#if:{{{length<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Length'''
{{!}}{{{length}}}
{{!}}-
}}
{{#if:{{{writer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Writer'''
{{!}}{{{writer}}}
{{!}}-
}}
{{#if:{{{composer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Composer'''
{{!}}{{{composer}}}
{{!}}-
}}
{{#if:{{{label<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Label'''
{{!}}{{{label}}}
{{!}}-
}}
{{#if:{{{producer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Producer'''
{{!}}{{{producer}}}
{{!}}-
}}
{{#if:{{{engineer<includeonly|</includeonly}}} |
{{!}} style="background-color:#FFCC99;" {{!}}'''Engineer'''
{{!}}{{{engineer}}}
{{!}}-
}}
|}<noinclude>


<noinclude>
| title      = {{{name|}}}
{{newtemplate
| titlestyle = background:#ffa500;
|description=Template for single infoboxes
 
|execution=<pre><nowiki>
| 1_data    = {{{image|}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{Infobox Single
| 1_datastyle = text-align:center;
|name        =  
 
|image      =  
| 2_label    = Appears on
|caption     =  
| 2_data    = {{{album|}}}
|album      =  
 
|published   =  
| 3_label    = B-side
|registration =
| 3_data     = {{{b-side|}}}
|released    =  
 
|recorded    =  
| 4_label    = Published by
|genre       =  
| 4_data    = {{{published|}}}
|language   =  
 
|length     =
| 5_label    = Registration
|writer      =
| 5_data    = {{{registration|}}}
|composer   =
 
|label      =
| 6_label    = Release date
|producer   =
| 6_data    = {{{released|}}}
|engineer   =
 
}}
| 7_label   = Format
</nowiki></pre>
| 7_data    = {{{format|}}}
|sample= see [[Whole Lotta Love]]
 
|caveats=All fields othan than "name" are optional
| 8_label    = Recorded
|authors=[[User:Meg Ireland|Meg Ireland]]
| 8_data    = {{{recorded|}}}
}}
 
</noinclude>
| 9_label   = Genre
| 9_data    = {{{genre|}}}
 
| 10_label  = Language
| 10_data    = {{{language|}}}
 
| 11_label  = Length
| 11_data    = {{{length|}}}
 
| 12_label  = Writer
| 12_data   = {{{writer|}}}
 
| 13_label  = Composer
| 13_data   = {{{composer|}}}
 
| 14_label  = Label
| 14_data   = {{{label|}}}
 
| 15_label  = Producer
| 15_data    = {{{producer|}}}
 
| 16_label  = Engineer
| 16_data    = {{{engineer|}}}
}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 04:46, 5 May 2009

This documentation is transcluded from Template:Infobox Single/doc (edit | history)

Usage

Copy the following code and fill in the blanks.

{{Infobox Single
|name         = 
|image        = 
|caption      = 
|album        = 
|b-side       = 
|published    = 
|registration = 
|released     = 
|format       = 
|recorded     = 
|genre        = 
|language     = 
|length       = 
|writer       = 
|composer     = 
|label        = 
|producer     = 
|engineer     = 
}}

All variables are optional. Any which are not filled in won't show up; there is no need to remove labels for unknown variables. Leave them and someone else might fill them in later.

Example

Whole Lotta Love
Wllsingle1969.JPG
1969 US single (album version)
Appears on Led Zeppelin II
Published by Superhype Music
Registration ASCAP 530162664
Release date 7 November 1969
Recorded 4-6 May 1969
Genre Psychedelic rock
Language English
Length Album version: 5 min 33 sec, Single version: 3 min 10 sec
Composer Jimmy Page, John Bonham, Robert Plant, John Paul Jones, Willie Dixon
Label Atlantic Records
Producer Jimmy Page
Engineer George Chkiantz and Eddie Kramer
{{Infobox Single
|name         = Whole Lotta Love
|image        = [[Image:Wllsingle1969.JPG]]
|caption      = 1969 US single (album version)
|album        = ''Led Zeppelin II''
|b-side       = 
|published    = Superhype Music
|registration = ASCAP 530162664
|released     = 7 November 1969
|format       = 
|recorded     = 4-6 May 1969
|genre        = Psychedelic rock
|language     = English
|length       = Album version: 5 min 33 sec, Single version: 3 min 10 sec
|writer       = 
|composer     = [[Jimmy Page]], John Bonham, Robert Plant, John Paul Jones, Willie Dixon
|label        = Atlantic Records
|producer     = Jimmy Page
|engineer     = George Chkiantz and Eddie Kramer
}}