Template:CDheader: Difference between revisions
Jump to navigation
Jump to search
m (property config) |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
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:") | 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. | * you can leave out the title if it is exactly the same as the pagename | ||
* 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 | |||
* 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 | |||
<pre><nowiki> | <pre><nowiki> | ||
{{CDheader | {{CDheader | ||
|title= | |title= | ||
|artist= | |artist= | ||
| | |releasedate= | ||
| | |rereleasedate= | ||
|format= | |||
|externallink= | |||
|numberofsongs= | |numberofsongs= | ||
|playingtime= | |playingtime= | ||
|coverpic= | |coverpic= | ||
|jancollection= | |jancollection= | ||
|case= | |||
|page= | |||
|slot= | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 20: | Line 30: | ||
==CD information== | ==CD information== | ||
[[Category:Album]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
|Artist | |Artist | ||
|[[Artist::{{{artist}}}]] | |[[Artist::{{{artist|Undefined!}}}]] | ||
|- | |- | ||
|Title | |Title | ||
|[[CDtitle::{{{title}}}]] | |{{#if: {{{title|}}} | [[CDtitle::{{{title}}}]] | [[CDtitle::{{PAGENAME}}]]}} | ||
|- | |||
|Issued on | |||
|[[Releasedate::{{{releasedate|not specified}}}]] | |||
|- | |- | ||
| | {{#if: {{{rereleasedate|}}} | | ||
|[[ | {{!}}Rereleased on | ||
{{!}}[[Rereleasedate::{{{rereleasedate}}}]] | |||
{{!}}-}} | |||
|format | |||
|[[Format::{{{format|not specified}}}]] | |||
|- | |- | ||
{{#if: {{{externallink|}}} | | |||
{{!}}Discogs page | |||
{{!}}[{{{externallink}}} Discogs link] | |||
{{!}}-}} | |||
|Number of songs | |Number of songs | ||
|[[Numberofsongs::{{{numberofsongs}}}]] | |[[Numberofsongs::{{{numberofsongs|not specified}}}]] | ||
|- | |- | ||
|Playing time | |Playing time | ||
|[[Playingtime::{{{playingtime}}}]] | |[[Playingtime::{{{playingtime|not specified}}}]] | ||
|- | |- | ||
|Status | |Status | ||
Line 44: | Line 65: | ||
|dontwantit=Jan doesn't want this CD[[CDstatus::dontwantit| ]] | |dontwantit=Jan doesn't want this CD[[CDstatus::dontwantit| ]] | ||
|[[CDstatus::unknown]]}} | |[[CDstatus::unknown]]}} | ||
|} | |} | ||
{{#if: {{{coverpic|}}}|[[Image:{{{coverpic}}}|thumb|left| | {{#if: {{{coverpic|}}}|[[Image:{{{coverpic}}}|thumb|left|150px|Cover art]]}} | ||
__SHOWFACTBOX__ |
Latest revision as of 16:42, 27 July 2015
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:
- you can leave out the title if it is exactly the same as the pagename
- 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= |case= |page= |slot= }}
An impression of the result of using this template can be seen below:
CD information
Artist | Undefined! |
Title | CDheader |
Issued on | not specified |
format | not specified |
Number of songs | not specified |
Playing time | not specified |
Status | unknown |