Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Album Data: Difference between revisions

Template page
Shane (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
redundant "the" detected in RDM call
 
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{| class="infobox"
{| class="infobox"
|- 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|{{{title}}}}}}]]
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader " colspan="3" |'''"{{{title}}}"'''<br />An [[:Category:Merchandise|album]] of {{#switch: {{{series|}}}
! class="infoboxheader " colspan="3" |'''"{{{title}}}"'''<br />An [[:Category:Merchandise|album]] of {{#switch: {{{series|}}}
| tos = the ''[[Battlestar Galactica (TOS)|the Original series]]
| tos = the ''[[Battlestar Galactica (TOS)|the Original series]]
| 1980 = the ''[[Galactica 1980|Galactica 1980 series]]
| 1980 = the ''[[Galactica 1980|Galactica 1980 series]]
| caprica = the ''[[Caprica (series)|Caprica series]]
| none = an ''Unknown series
| none = an ''Unknown series
| mix = a ''Mix series
| mix = a ''Mix series
| #default = the ''[[Battlestar Galactica (RDM)|the Re-imagined series]]
| RDM
| rdm = the ''[[Battlestar Galactica (RDM)|Re-imagined series]]
| #default= the ''{{{series}}}
}}''
}}''
|- class="hiddenStructure{{{albumno|}}}"
|- class="hiddenStructure{{{albumno|}}}"
Line 20: Line 23:
| style="white-space:nowrap;" | '''Artist(s)'''
| style="white-space:nowrap;" | '''Artist(s)'''
| colspan="2" | {{{artist}}}
| colspan="2" | {{{artist}}}
|- class="hiddenStructure{{{producer|}}}" valign="top"
| style="white-space:nowrap;" | '''Producer(s)'''
| colspan="2" | {{{producer}}}
|- class="hiddenStructure{{{label|}}}" valign="top"
|- class="hiddenStructure{{{label|}}}" valign="top"
| style="white-space:nowrap;" | '''Label'''
| style="white-space:nowrap;" | '''Label'''
Line 45: Line 51:
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{next}}}
|style="width: 33%;" | {{{next}}}
|- class="hiddenStructure{{{amazon|}}}"
| class="infoboxheader" colspan="3" style="text-align:center;" | '''CD Version'''
|- class="hiddenStructure{{{amazon|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at Amazon''' – [http://www.am-redirect.com/link.php?&usasin={{{amazon}}}&gbasin={{{amazon}}}&usid=battlestarwik-20&gbid=battlestarwik-21 Purchase]
|- class="hiddenStructure{{{itunes|}}}"
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Download Version'''
|- class="hiddenStructure{{{itunes|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [[iTunes]]''' – [{{{itunes}}} Purchase]
|}
|}
</includeonly>
</includeonly>
Line 61: Line 75:
| composer=
| composer=
| artist=
| artist=
| producer=
| label=
| label=
| tracks=
| tracks=
Line 68: Line 83:
| prev=
| prev=
| next=
| next=
| amazon=
| itunes=
}}
}}
</pre>
</pre>
Line 79: Line 96:
* '''image''': Image of jpg. Just the filename.
* '''image''': Image of jpg. Just the filename.
* '''alt''': Alt. Text to show for the image.
* '''alt''': Alt. Text to show for the image.
* '''series''': Insert three letter code. Default is '''rdm'''.
* '''series''': Insert three letter code. Default is whatever is defined by the '''series''' call, assuming it is ''not'':
** <code><nowiki>tos</nowiki></code>, <code><nowiki>1980</nowiki></code>, <code><nowiki>none</nowiki></code>, and <code><nowiki>mix</nowiki></code>.
** <code><nowiki>rdm</nowiki></code>, <code><nowiki>tos</nowiki></code>, <code><nowiki>1980</nowiki></code>, <code><nowiki>caprica</nowiki></code>, <code><nowiki>none</nowiki></code>, and <code><nowiki>mix</nowiki></code>.
* '''albumno''': Number in which this album falls in cronology
* '''albumno''': Number in which this album falls in cronology
* '''composer''': Who is the composer of the CD. Can wikify.
* '''composer''': Who is the composer of the CD. Can wikify.
* '''artist''': Who is the composer of the CD. Can wikify.
* '''artist''': Who is the composer of the CD. Can wikify.
* '''producer''': Who is the producer of the CD. Can wikify.
* '''label''': Who distributes the album. Can wikify.
* '''label''': Who distributes the album. Can wikify.
* '''tracks''': How many tracks are on this particular CD.
* '''tracks''': How many tracks are on this particular CD.
Line 89: Line 107:
* '''discs''': Number of discs included in the set
* '''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.
* '''released''': In [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked.
* '''amazon:''' The unique Amazon.com number.
* '''itunes:''' The full iTunes link.
[[Category:Infobox|Album]]
[[Category:Infobox|Album]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 03:51, 21 January 2021


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=
| producer=
| label=
| tracks=
| runtime=
| discs=
| released=
| prev=
| next=
| amazon=
| itunes=
}}

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 whatever is defined by the series call, assuming it is not:
    • rdm, tos, 1980, caprica, 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.
  • producer: Who is the producer 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.
  • amazon: The unique Amazon.com number.
  • itunes: The full iTunes link.