Template:CDheader: Difference between revisions

From JanWiki
Jump to navigation Jump to search
m (smaller pic + factbox)
(extra properties)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
This template creates an easy way to enter all information on a particular CD into the wiki. Usage: paste the following code in the wiki and provide the necessary data. If you've uploaded a cover picture, give its bare name under "coverpic" (do not prepend "Image:" or "File:")<br>
This template creates an easy way to enter all information on a particular CD into the wiki. Usage: paste the following code in the wiki and provide the necessary data. Pointers:
Note: do not fuck with data relevant to Jan's CD collection - he is not too keen on that.
* for ''[[Property::format|format]]'', give only one of the allowed values
* only give the rereleaseyear if the CD is reissued with different tracks, mixes e.d. relative to the original album.
* If you've uploaded a cover picture, give its bare name under "coverpic" (do not prepend "Image:" or "File:")
Note: do not fuck with data relevant to Jan's CD collection - he is not too keen on that. The ''jancollection'' property must be given by Jan only
<pre><nowiki>
<pre><nowiki>
{{CDheader
{{CDheader
|title=
|title=
|artist=
|artist=
|year=
|format=
|releasedate=
|rereleasedate=
|wikipedialink=
|wikipedialink=
|numberofsongs=
|numberofsongs=
Line 29: Line 34:
|[[CDtitle::{{{title}}}]]
|[[CDtitle::{{{title}}}]]
|-
|-
|Year
|Issued on
|[[Year::{{{year}}}]]
|[[Releasedate::{{{releasedate}}}]]
|-
|-
{{#if: {{{rereleasedate|}}} |
{{{!}}}Rereleased on
{{{!}}}[[Rereleasedate::{{{rereleasedate}}}]]
{{{!}}}-}}
|format
|[[Format::{{{format}}}]]
|-
{{#if: {{{wikipedialink|}}} |
{{{!}}}External link
{{{!}}}[wikipedialink link]
{{{!}}}-}}
|Number of songs
|Number of songs
|[[Numberofsongs::{{{numberofsongs}}}]]
|[[Numberofsongs::{{{numberofsongs}}}]]

Revision as of 21:32, 13 September 2009

This template creates an easy way to enter all information on a particular CD into the wiki. Usage: paste the following code in the wiki and provide the necessary data. Pointers:

  • for format, give only one of the allowed values
  • only give the rereleaseyear if the CD is reissued with different tracks, mixes e.d. relative to the original album.
  • If you've uploaded a cover picture, give its bare name under "coverpic" (do not prepend "Image:" or "File:")

Note: do not fuck with data relevant to Jan's CD collection - he is not too keen on that. The jancollection property must be given by Jan only

{{CDheader
|title=
|artist=
|format=
|releasedate=
|rereleasedate=
|wikipedialink=
|numberofsongs=
|playingtime=
|coverpic=
|jancollection=
}}

An impression of the result of using this template can be seen below:



CD information

Artist {{{artist}}}
Title {{{title}}}
Issued on {{{releasedate}}}
format {{{format}}}
Number of songs {{{numberofsongs}}}
Playing time {{{playingtime}}}
Status unknown