Template:CDheader: Difference between revisions
Jump to navigation
Jump to search
m (call to ! fixed) |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| 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: | ||
* 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 | * 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:") | * 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 12: | ||
|title= | |title= | ||
|artist= | |artist= | ||
|releasedate= | |releasedate= | ||
|rereleasedate= | |rereleasedate= | ||
| | |format= | ||
|externallink= | |||
|numberofsongs= | |numberofsongs= | ||
|playingtime= | |playingtime= | ||
|coverpic= | |coverpic= | ||
|jancollection= | |jancollection= | ||
|case= | |||
|page= | |||
|slot= | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 25: | 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 | |Issued on | ||
|[[Releasedate::{{{releasedate}}}]] | |[[Releasedate::{{{releasedate|not specified}}}]] | ||
|- | |- | ||
{{#if: {{{rereleasedate|}}} | | {{#if: {{{rereleasedate|}}} | | ||
| Line 41: | Line 47: | ||
{{!}}-}} | {{!}}-}} | ||
|format | |format | ||
|[[Format::{{{format}}}]] | |[[Format::{{{format|not specified}}}]] | ||
|- | |- | ||
{{#if: {{{ | {{#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 59: | 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|150px| | {{#if: {{{coverpic|}}}|[[Image:{{{coverpic}}}|thumb|left|150px|Cover art]]}} | ||
__SHOWFACTBOX__ | __SHOWFACTBOX__ | ||
Latest revision as of 15: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 |