FANDOM


{{{1}}}

Usage

This template is an auxiliar one and should be only used by the {{Infobox Album}} template. Based on the type of album this template receives, it returns the wikified version of the text.

Valid arguments

  • EP
  • Studio album
  • Live album
  • Greatest hits
  • Box set
  • Compilation album
  • Remix album
  • Cover album
  • Tribute album
  • Soundtrack
  • Television theme
  • Film score

Unit test

If at any time the Expected and Obtained columns do not match, this template can be considered broken. This table makes the template automatically check itself. If a Yes check mark is seen, it means that self test worked fine. if there is a X mark mark, it means the test failed. Whenever you make a modification to the template, please save the page, hit CTRL+F5, and check if all the self tests have passed. If you add a new type to the template, remember to add the type using this format:

| {{Template:Infobox Album link|typename}}
| typereplace
| {{Template:Infobox Album link|typename}}
| {{#ifeq:{{Template:Infobox Album link|typename}}|typereplace|{{y}}|{{n}}}}

Replace typename with the new type name (in example, Epic soundtrack), and typereplace with the text that will appear as album type (in example, [[Soundtrack|Epic soundtrack]]).

Note: Sometimes the test may pass while previewing the page, but once saved the test would fail, no matter how many times the cache is cleared. In this case, please click Template:Purge to purge the cache. If that doesn't solve the problem, please post a note in the Talk page of the template and an editor will review the changes.

Template usage Expected Obtained Test
Extended play
{{Template:Infobox Album link|EP}} EP EP Yes check
{{Template:Infobox Album link|Extended play}} EP Extended play X mark
{{Template:Infobox Album link|[[EP]]}} EP EP X mark
{{Template:Infobox Album link|[[Extended play]]}} EP Extended play X mark
Studio album
{{Template:Infobox Album link|Studio album}} Studio album Studio album X mark
{{Template:Infobox Album link|[[Studio album]]}} Studio album Studio album X mark
{{Template:Infobox Album link|[[Album]]}} Studio album Studio album X mark
{{Template:Infobox Album link|Album}} Studio album Studio album X mark
{{Template:Infobox Album link|Original studio album}} Studio album Studio album X mark
{{Template:Infobox Album link|Studio}} Studio album Studio album X mark
{{Template:Infobox Album link|LP}} Studio album LP X mark
Live album
{{Template:Infobox Album link|Live album}} Live album Live album X mark
{{Template:Infobox Album link|[[Live album]]}} Live album Live album X mark
{{Template:Infobox Album link|Live}} Live album Live album X mark
Greatest hits
{{Template:Infobox Album link|Greatest hits}} Greatest hits Greatest hits X mark
{{Template:Infobox Album link|[[Greatest hits]]}} Greatest hits Greatest hits X mark
{{Template:Infobox Album link|Greatest}} Greatest hits Greatest hits X mark
Box set
{{Template:Infobox Album link|Box set}} Box set Box set X mark
{{Template:Infobox Album link|[[Box set]]}} Box set Box set X mark
{{Template:Infobox Album link|Box}} Box set Box set X mark
{{Template:Infobox Album link|[[Boxed set]]}} Box set Box set X mark
Compilation album
{{Template:Infobox Album link|Compilation album}} wikipedia:Compilation album Compilation album X mark
{{Template:Infobox Album link|Compilation}} wikipedia:Compilation album Compilation album X mark
{{Template:Infobox Album link|[[Compilation album]]}} Compilation Compilation album X mark
Remix album
{{Template:Infobox Album link|Remix album}} Remix album Remix album X mark
{{Template:Infobox Album link|Remix}} Remix album Remix album X mark
{{Template:Infobox Album link|[[Remix]]}} Remix album Remix album X mark
{{Template:Infobox Album link|[[Remix album]]}} Remix album Remix album X mark
Cover album
{{Template:Infobox Album link|Cover album}} Cover album Cover album X mark
{{Template:Infobox Album link|Cover}} Cover album Cover album X mark
{{Template:Infobox Album link|[[Cover album]]}} Cover album Cover album X mark
{{Template:Infobox Album link|[[Cover version]]}} Cover album Cover album X mark
Tribute album
{{Template:Infobox Album link|Tribute album}} Tribute album Tribute album X mark
{{Template:Infobox Album link|Tribute}} Tribute album Tribute album X mark
{{Template:Infobox Album link|[[Tribute album]]}} Tribute album Tribute album X mark
Soundtrack
{{Template:Infobox Album link|Soundtrack}} Soundtrack Soundtrack X mark
{{Template:Infobox Album link|Movie soundtrack}} Soundtrack Soundtrack X mark
{{Template:Infobox Album link|[[Soundtrack]]}} Soundtrack Soundtrack X mark
{{Template:Infobox Album link|[[Soundtrack album]]}} Soundtrack Soundtrack X mark
Television theme
{{Template:Infobox Album link|Television theme}} Television theme Television theme X mark
{{Template:Infobox Album link|Television}} Television theme Television theme X mark
Film score
{{Template:Infobox Album link|Film score}} Film score Film score X mark
{{Template:Infobox Album link|Film}} Film score Film score X mark
{{Template:Infobox Album link|[[Film score]]}} Film score Film score X mark
Other cases
{{Template:Infobox Album link|}} Yes check
{{Template:Infobox Album link|xyz|}} xyz xyz Yes check
Small Wikipedia logo This page uses content from Wikipedia. The original article was at :Template:Infobox_Album/link. The list of authors can be seen in the page history. As with The One Wiki to Rule Them All, the text of Wikipedia is available under the Commons Attribution-Share Alike license.
Community content is available under CC-BY-SA unless otherwise noted.