Stampa:Infobox album/lidhja

Nga Wikipedia, enciklopedia e lirë
Jump to navigation Jump to search

{{{1}}}

Usage[Redakto nëpërmjet kodit]

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[Redakto nëpërmjet kodit]

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

Unit test[Redakto nëpërmjet kodit]

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 mark is seen, it means that self test worked fine. if there is a No 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:

| {{Infobox album/lidhja|typename}}
| typereplace
| {{Infobox album/lidhja|typename}}
| {{#ifeq:{{Infobox album/lidhja|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 this link

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
{{Stampa:Infobox album/lidhja|EP}} EP EP Yes
{{Stampa:Infobox album/lidhja|Extended play}} EP Extended play No
{{Stampa:Infobox album/lidhja|[[EP]]}} EP EP Yes
{{Stampa:Infobox album/lidhja|[[Extended play]]}} EP Extended play No
Studio album
{{Stampa:Infobox album/lidhja|Studio album}} Studio album Studio album Yes
{{Stampa:Infobox album/lidhja|[[Studio album]]}} Studio album Studio album Yes
{{Stampa:Infobox album/lidhja|[[Album]]}} Studio album Studio album Yes
{{Stampa:Infobox album/lidhja|Album}} Studio album Studio album Yes
{{Stampa:Infobox album/lidhja|Original studio album}} Studio album Studio album Yes
{{Stampa:Infobox album/lidhja|Studio}} Studio album Studio album Yes
{{Stampa:Infobox album/lidhja|LP}} Studio album LP No
Live album
{{Stampa:Infobox album/lidhja|Live album}} Live album Live album Yes
{{Stampa:Infobox album/lidhja|[[Live album]]}} Live album Live album Yes
{{Stampa:Infobox album/lidhja|Live}} Live album Live album Yes
Greatest hits
{{Stampa:Infobox album/lidhja|Greatest hits}} Greatest hits Greatest hits Yes
{{Stampa:Infobox album/lidhja|[[Greatest hits]]}} Greatest hits Greatest hits Yes
{{Stampa:Infobox album/lidhja|Greatest}} Greatest hits Greatest hits Yes
Box set
{{Stampa:Infobox album/lidhja|Box set}} Box set Box set Yes
{{Stampa:Infobox album/lidhja|[[Box set]]}} Box set Box set Yes
{{Stampa:Infobox album/lidhja|Box}} Box set Box set Yes
{{Stampa:Infobox album/lidhja|[[Boxed set]]}} Box set Box set Yes
Compilation album
{{Stampa:Infobox album/lidhja|Compilation album}} Compilation album Compilation album Yes
{{Stampa:Infobox album/lidhja|Compilation}} Compilation album Compilation album Yes
{{Stampa:Infobox album/lidhja|[[Compilation album]]}} Compilation album Compilation album Yes
Remix album
{{Stampa:Infobox album/lidhja|Remix album}} Remix album Remix album Yes
{{Stampa:Infobox album/lidhja|Remix}} Remix album Remix album Yes
{{Stampa:Infobox album/lidhja|[[Remix]]}} Remix album Remix album Yes
{{Stampa:Infobox album/lidhja|[[Remix album]]}} Remix album Remix album Yes
Cover album
{{Stampa:Infobox album/lidhja|Cover album}} Cover album Cover album Yes
{{Stampa:Infobox album/lidhja|Cover}} Cover album Cover album Yes
{{Stampa:Infobox album/lidhja|[[Cover album]]}} Cover album Cover album Yes
{{Stampa:Infobox album/lidhja|[[Cover version]]}} Cover album Cover album Yes
Tribute album
{{Stampa:Infobox album/lidhja|Tribute album}} Tribute album Tribute album Yes
{{Stampa:Infobox album/lidhja|Tribute}} Tribute album Tribute album Yes
{{Stampa:Infobox album/lidhja|[[Tribute album]]}} Tribute album Tribute album Yes
Soundtrack
{{Stampa:Infobox album/lidhja|Soundtrack}} Soundtrack Soundtrack Yes
{{Stampa:Infobox album/lidhja|Movie soundtrack}} Soundtrack Soundtrack Yes
{{Stampa:Infobox album/lidhjak|[[Soundtrack]]}}Stampa:Infobox album/lidhja Soundtrack Soundtrack Yes
{{Stampa:Infobox album/lidhja|[[Soundtrack album]]}} Soundtrack Soundtrack Yes
Television theme
{{Stampa:Infobox album/lidhja|Television theme}} Television theme Television theme Yes
{{Stampa:Infobox album/lidhja|Television}} Television theme Television theme Yes
Film score
{{Stampa:Infobox album/lidhja|Film score}} Film score Film score Yes
{{Stampa:Infobox album/lidhja|Film}} Film score Film score Yes
{{Stampa:Infobox album/lidhja|[[Film score]]}} Film score Film score Yes
Other cases
{{Stampa:Infobox album/lidhja|}} Yes
{{Stampa:Infobox album/lidhja|xyz|}} xyz xyz Yes