Template:CDheader: Difference between revisions

From JanWiki
Jump to navigation Jump to search
m (call to ! fixed)
m (fixed externallink)
Line 2: Line 2:
[[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. Pointers:
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:
* only give the rereleaseyear if the CD is reissued with different tracks, mixes e.d. relative to the original album.
* for ''[[Property::format|format]]'', give only one of the allowed values
* 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 have an external link to an album's review, e.g. a Wikipedia page, put the link in, complete with http://
* If you've uploaded a cover picture, give its bare name under "coverpic" (do not prepend "Image:" or "File:")
* 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
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
Line 10: Line 11:
|title=
|title=
|artist=
|artist=
|format=
|releasedate=
|releasedate=
|rereleasedate=
|rereleasedate=
|wikipedialink=
|format=
|externallink=
|numberofsongs=
|numberofsongs=
|playingtime=
|playingtime=
Line 43: Line 44:
|[[Format::{{{format}}}]]
|[[Format::{{{format}}}]]
|-
|-
{{#if: {{{wikipedialink|}}} |
{{#if: {{{externallink|}}} |
{{!}}External link
{{!}}External link
{{!}}[wikipedialink link]
{{!}}[{{{externallink}}} link]
{{!}}-}}
{{!}}-}}
|Number of songs
|Number of songs

Revision as of 21:37, 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:

  • only give the rereleaseyear if the CD is reissued with different tracks, mixes e.d. relative to the original album.
  • for format, give only one of the allowed values
  • if you have an external link to an album's review, e.g. a Wikipedia page, put the link in, complete with http://
  • 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=
|releasedate=
|rereleasedate=
|format=
|externallink=
|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