Template:Album Data: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:  
{{#if: {{#if: {{{title|}}} | {{#if: {{{next|}}} | {{#if: {{{prev|}}} | 1 }} }} }}
    {{#if: {{{title|}}} | {{#if: {{{next|}}} | 1 }} | {{#if: {{{prev|}}} | 1 }} }}
| <!-- THEN: --> {| class="toccolors" width="350px" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right; border: 1px solid #a60003;" align="center"
    | <!-- THEN: --> {| class="toccolors" width="350px" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right; border: 1px solid #a60003;" align="center"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan=3 | [[Image:{{{image}}}|200px|{{{alt}}}]]
| colspan=3 | [[Image:{{{image}}}|200px|{{{alt}}}]]
Line 49: Line 48:
|}
|}
| <!-- ELSE: --> Error on call {{tl|Album Data}}: Parameters '''title''', '''next''', and '''prev''' ''must'' be specified.
| <!-- ELSE: --> Error on call {{tl|Album Data}}: Parameters '''title''', '''next''', and '''prev''' ''must'' be specified.
}}
}}
}}
</includeonly>
</includeonly>

Revision as of 13:38, 8 August 2006


Documentation

This template is used on Battlestar Wiki article s pages that deal with CDs of music. It provides lower case parameters only.

Usage

{{Album Data
| image =
| alt= 
| title=
| series=
| albumno=
| composer=
| artist=
| label=
| tracks=
| runtime=
| discs=
| released=
| prev=
| next=
}}

Required parameters

  • title: The title.
  • prev: Prev DVD. Please wikify.
  • next: Next DVD. Please wikify.

Optional parameters

  • image: Image of jpg. Just the filename.
  • alt: Alt. Text to show for the image.
  • series: Insert three letter code. Default is rdm.
    • tos, 1980, none, and mix.
  • albumno: Number in which this album falls in cronology
  • composer: Who is the composer of the CD. Can wikify.
  • artist: Who is the composer of the CD. Can wikify.
  • label: Who distributes the album. Can wikify.
  • tracks: How many tracks are on this particular CD.
  • runtime: Number of minutes that all the CD discs run. In HH:MM:SS format.
  • discs: Number of discs included in the set
  • released: In ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked.