Template:CDheader: Difference between revisions

From JanWiki
Jump to navigation Jump to search
m (pic adjustment)
(added CD status)
Line 12: Line 12:
|playingtime=
|playingtime=
|coverpic=
|coverpic=
|jancollection=
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 36: Line 37:
|Playing time
|Playing time
|[[Playingtime::{{{playingtime}}}]]
|[[Playingtime::{{{playingtime}}}]]
|-
|Status
|{{#switch: {{{jancollection}}}
  |haveit=in Jan's collection[[CDstatus::haveit|:haveit]]
  |wantit=on Jan's wish list[[CDstatus::wantit|:wantit]]
  |dontwantit=Jan doesn't want this CD[[CDstatus::dontwantit|:dontwantit]]
  |[[CDstatus::unknown]]}}
|-
|-
|}
|}
{{#if: {{{coverpic|}}}|[[Image:{{{coverpic}}}|thumb|left|300px|{{{title}}}]]}}
{{#if: {{{coverpic|}}}|[[Image:{{{coverpic}}}|thumb|left|300px|{{{title}}}]]}}

Revision as of 11:58, 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. 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.

{{CDheader
|title=
|artist=
|year=
|wikipedialink=
|numberofsongs=
|playingtime=
|coverpic=
|jancollection=
}}

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



CD information

Artist {{{artist}}}
Title {{{title}}}
Year {{{year}}}
Number of songs {{{numberofsongs}}}
Playing time {{{playingtime}}}
Status unknown