Template:Album page machine/doc: Difference between revisions

update to year coding
No edit summary
(update to year coding)
Line 3: Line 3:
==Template code, with responses filled in==
==Template code, with responses filled in==
This template looks like an oversized infobox, but it generates the bare bones of a full album page (including an infobox). The following textbox displays what one would input into a blank Weezerpedia [[:Category:Albums|album page]]. It includes filled in responses that are mostly non-sensical. "release d" means release day (i.e. [[June 14]]), release y means release year, and number answers "what number in the artist's chronology is this?" Answers to the latter could be debut, sophomore, third, etc. the "t" values are track names, and the "l" values are track length.
This template looks like an oversized infobox, but it generates the bare bones of a full album page (including an infobox). The following textbox displays what one would input into a blank Weezerpedia [[:Category:Albums|album page]]. It includes filled in responses that are mostly non-sensical. "release d" means release day (i.e. [[June 14]]), release y means release year, and number answers "what number in the artist's chronology is this?" Answers to the latter could be debut, sophomore, third, etc. the "t" values are track names, and the "l" values are track length.
Note: do not put the release year in brackets as an internal link. The template will do this for you. This is set up this way because the year you input also populates a category that gets added to pages made with this machine: <nowiki>[[Category:YEAR releases]]</nowiki>. If you add brackets, that category name will get disrupted. For example, typing <nowiki>[[1996]]</nowiki> into this slot of the template will give you <nowiki>[[Category:[[1996]] releases]]</nowiki> as the category, which disrupts the Category formatting.


<pre>
<pre>
Line 10: Line 12:
|album art=Weezer Pinkerton.jpg
|album art=Weezer Pinkerton.jpg
|release d=September 1
|release d=September 1
|release y=1996
|release y=1996 ---> do not put this in brackets i.e. ''<nowiki>[[1996]]</nowiki>''
|genre=Alt rock
|genre=Alt rock
|length=25:45
|length=25:45