Template:Album Data: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| 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"
{| 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}}}]]
|- style="text-align: center;"
|- style="text-align: center;"
! style="background: #461919; color: #FFFFFF;" colspan=3|'''"{{{Title}}}"'''<br />An [[:Category:Merchandise|album]] of the ''{{{Series}}}'' series
! style="background: #461919; color: #FFFFFF;" colspan=3|'''"{{{title}}}"'''<br />An [[:Category:Merchandise|album]] of the ''{{#switch: {{{series|}}}
|- class="hiddenStructure{{{Albumno}}}"
| tos = [[Battlestar Galactica (TOS)|the Original series]]
| 1980 = [[Galactica 1980 series]]
| #default = [[Battlestar Galactica (RDM)|the Re-imagined series]]
}}''
|- class="hiddenStructure{{{albumno|}}}"
| style="white-space:nowrap;" | '''Album No.'''
| style="white-space:nowrap;" | '''Album No.'''
| colspan=2 | {{{Albumno}}}
| colspan=2 | {{{albumno}}}
|- class="hiddenStructure{{{Composer}}}" valign="top"
|- class="hiddenStructure{{{composer|}}}" valign="top"
| style="white-space:nowrap;" | '''Composer(s)'''
| style="white-space:nowrap;" | '''Composer(s)'''
| colspan=2 | {{{Composer}}}
| colspan=2 | {{{composer}}}
|- class="hiddenStructure{{{Artist}}}" valign="top"
|- class="hiddenStructure{{{artist|}}}" valign="top"
| style="white-space:nowrap;" | '''Artist(s)'''
| style="white-space:nowrap;" | '''Artist(s)'''
| colspan=2 | {{{Artist}}}
| colspan=2 | {{{artist}}}
|- class="hiddenStructure{{{Label}}}" valign="top"
|- class="hiddenStructure{{{label|}}}" valign="top"
| style="white-space:nowrap;" | '''Label'''
| style="white-space:nowrap;" | '''Label'''
| colspan=2 | {{{Label}}}
| colspan=2 | {{{label}}}
|- class="hiddenStructure{{{Tracks}}}" valign="top"
|- class="hiddenStructure{{{tracks|}}}" valign="top"
| style="white-space:nowrap;" | '''Tracks'''
| style="white-space:nowrap;" | '''Tracks'''
| colspan=2 | {{{Tracks}}}
| colspan=2 | {{{tracks}}}
|- class="hiddenStructure{{{Runtime}}}" valign="top"
|- class="hiddenStructure{{{runtime|}}}" valign="top"
| style="white-space:nowrap;" | '''Running Time'''
| style="white-space:nowrap;" | '''Running Time'''
| colspan=2 | {{{Runtime}}}
| colspan=2 | {{{runtime}}}
|- class="hiddenStructure{{{Discs}}}" valign="top"
|- class="hiddenStructure{{{discs|}}}" valign="top"
| style="white-space:nowrap;" | '''Discs'''
| style="white-space:nowrap;" | '''Discs'''
| colspan=2 | {{{Discs}}}
| colspan=2 | {{{discs}}}
|-class="hiddenStructure{{{Released}}}"
|-class="hiddenStructure{{{released|}}}"
| style="white-space:nowrap;" | '''Released'''
| style="white-space:nowrap;" | '''Released'''
|colspan=2 | {{{Released}}}
|colspan=2 | {{{released}}}
|- style="text-align:center;"
|- style="text-align:center;"
! style="background: #461919; color: #FFFFFF;" colspan="3" | Chronology
! style="background: #461919; color: #FFFFFF;" colspan="3" | Chronology
Line 36: Line 40:
|style="width: 33%;" | Next
|style="width: 33%;" | Next
|- style="text-align:center; font-size:smaller;"  
|- style="text-align:center; font-size:smaller;"  
|style="width: 33%;" | {{{Prev}}}
|style="width: 33%;" | {{{prev}}}
|style="width: 33%;" | {{{Title}}}
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{Next}}}
|style="width: 33%;" | {{{next}}}
|}
|}
</includeonly>
<noinclude>
<noinclude>
= Documentation =
= Documentation =
''Insert what this template is about.''
This template is used on ''Battlestar Wiki'' article s pages that deal with CDs of music. It provides lower case parameters only.


== Usage ==
== Usage ==
<pre>
<pre>
''Insert full usage here.''
{{Album Data
| image =
| alt=
| title=
| series=
| albumno=
| composer=
| artist=
| label=
| tracks=
| runtime=
| discs=
| released=
| prev=
| next=
}}
</pre>
</pre>


=== Required parameters ===
=== Required parameters ===
''Insert Required parameters''
* '''title''': The title.
* '''prev''': Prev DVD. Please wikify.
* '''next''': Next DVD. Please wikify.


=== Optional parameters ===
=== Optional parameters ===
''Insert 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'''.
** <code><nowiki>tos</nowiki></code> and <code><nowiki>1980</nowiki></code>.
* '''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.
* '''discs''': Number of discs included in the set
* '''released''': In [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked. This can also be a [[:Category:RDM DVD Release Dates|template]].


{| style="float: left; background: transparent;"
|<pre>
{{Album Data|
  Image =
| Alt=
| Title=
| Series=
| Albumno=
| Composer=
| Artist=
| Label=
| Tracks=
| Runtime=
| Discs=
| Released=
| Prev=
| Next=
}}
</pre>
|}
[[Category:Infobox|Album]]
[[Category:Infobox|Album]]
</noinclude>
</noinclude>

Revision as of 13:02, 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 and 1980.
  • 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.
  • 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. This can also be a template.