Template:Infobox Album: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Meg Taylor
(content)
 
imported>Caesar Schinas
(Changing to make use of Template:Infobox)
 
(3 intermediate revisions by one other user 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" style="font-size:125%;text-align:center; background-color:#CC6600;"| {{{name}}}
| labelstyle = background:#DAA520; 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:{{{type<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Album type'''
{{!}}{{{type}}}
{{!}}-
}}
{{#if:{{{artist<includeonly|</includeonly}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Artist'''
{{!}}{{{artist}}}
{{!}}-
}}
{{#if:{{{released<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Release date'''
{{!}}{{{released}}}
{{!}}-
}}
{{#if:{{{recorded<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Recorded'''
{{!}}{{{recorded}}}
{{!}}-
}}
{{#if:{{{genre<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Genre'''
{{!}}{{{genre}}}
{{!}}-
}}
{{#if:{{{language<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Language'''
{{!}}{{{language}}}
{{!}}-
}}
{{#if:{{{length<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Length'''
{{!}}{{{length}}}
{{!}}-
}}
{{#if:{{{label<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Label'''
{{!}}{{{label}}}
{{!}}-
}}
{{#if:{{{catalogue<includeonly|</includeonly}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Catalogue'''
{{!}}{{{catalogue}}}
{{!}}-
}}
{{#if:{{{producer<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Producer'''
{{!}}{{{producer}}}
{{!}}-
}}
{{#if:{{{engineer<includeonly|</includeonly}}} |
{{!}} style="background-color:#DAA520;" {{!}}'''Engineer'''
{{!}}{{{engineer}}}
{{!}}-
}}
|}<noinclude>


<noinclude>
| title      = {{{name|}}}
{{newtemplate
| titlestyle = background:#CC6600;
|description=Template for album infoboxes
 
|execution=<pre><nowiki>
| 1_data    = {{{image|}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{Infobox Album
| 1_datastyle = text-align:center;
|name        =  
 
|image      =  
| 2_label    = Type
|caption     =  
| 2_data     = {{{type|}}}
|album type  =  
 
|artist     =  
| 3_label    = Artist
|released    =  
| 3_data    = {{{artist|}}}
|recorded    =  
 
|genre       =  
| 4_label    = Release Date
|language    =  
| 4_data    = {{{released|}}}
|length     =  
 
|label       =
| 5_label   = Recorded
|catalogue   =
| 5_data    = {{{recorded|}}}
|producer   =
 
|engineer   =
| 6_label   = Genre
}}
| 6_data    = {{{genre|}}}
</nowiki></pre>
 
|sample= see [[Led Zeppelin IV]]
| 7_label    = Language
|caveats=All fields othan than "name" are optional
| 7_data    = {{{language|}}}
|authors=[[User:Meg Ireland|Meg Ireland]]
 
}}
| 8_label   = Length
</noinclude>
| 8_data    = {{{length|}}}
 
| 9_label    = Label
| 9_data    = {{{label|}}}
 
| 10_label   = Catalogue
| 10_data   = {{{catalogue|{{{catalog|}}}}}}
 
| 11_label  = Producer
| 11_data   = {{{producer|}}}
 
| 12_label  = Engineer
| 12_data    = {{{engineer|}}}
}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 04:57, 5 May 2009

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

Usage

Copy the following code and fill in the blanks.

{{Infobox Album
|name        = 
|image       = 
|caption     = 
|album type  = 
|artist      = 
|released    = 
|recorded    = 
|genre       = 
|language    = 
|length      = 
|label       =
|catalogue   =
|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

Led Zeppelin IV
LZIValbum1971.jpg
Type Studio album
Artist Led Zeppelin
Release Date 8 November 1971 (US), 12 November 1971 (UK)
Recorded December 1970 – August 1971 at
Island Studios, London, United Kingdom;
Headley Grange, Hampshire, with The Rolling Stones Mobile Studio;
Sunset Sound, Los Angeles, California.
Mixed at Island Studios, London;
Olympic Studios, London.
Genre Hard rock, blues rock, folk rock
Language English
Length 42 min 34 sec
Label Atlantic Records
Catalogue Atlantic SD 7208 (US), Atlantic 2401 012 (UK)
Producer Jimmy Page
Engineer Andy Johns
{{Infobox Album
|name        = Led Zeppelin IV
|image       = [[Image:LZIValbum1971.jpg]]
|caption     = 
|type        = Studio album
|artist      = [[Led Zeppelin]]
|released    = 8 November 1971 (US), 12 November 1971 (UK)
|recorded    = <small>December 1970 – August 1971 at<br>Island Studios[...]</small>
|genre       = Hard rock, blues rock, folk rock
|language    = English
|length      = 42 min 34 sec
|label       = Atlantic Records
|catalogue   = Atlantic SD 7208 (US), Atlantic 2401 012 (UK)
|producer    = [[Jimmy Page]]
|engineer    = Andy Johns
}}