Шаблон:Infobox Album/link
Из пројекта Википедија
ep
[уреди] Usage
This template is an auxiliar one and should be only used by the {{Албуми}} 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 Шаблон:Y mark is seen, it means that self test worked fine. if there is a Шаблон:N 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 Шаблон: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 | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Extended play}} | EP | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[EP]]}} | EP | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Extended play]]}} | EP | Шаблон:Infobox Album link | Шаблон:N |
Studio album | |||
{{Template:Infobox Album link|Studio album}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Studio album]]}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Албум]]}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Album}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Original studio album}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Studio}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|LP}} | Studio album | Шаблон:Infobox Album link | Шаблон:N |
Live album | |||
{{Template:Infobox Album link|Live album}} | Live album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Live album]]}} | Live album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Live}} | Live album | Шаблон:Infobox Album link | Шаблон:N |
Greatest hits | |||
{{Template:Infobox Album link|Greatest hits}} | Greatest hits | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Greatest hits]]}} | Greatest hits | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Greatest}} | Greatest hits | Шаблон:Infobox Album link | Шаблон:N |
Box set | |||
{{Template:Infobox Album link|Box set}} | Box set | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Box set]]}} | Box set | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Box}} | Box set | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Boxed set]]}} | Box set | Шаблон:Infobox Album link | Шаблон:N |
Compilation album | |||
{{Template:Infobox Album link|Compilation album}} | Compilation album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Compilation}} | Compilation album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Compilation album]]}} | Compilation album | Шаблон:Infobox Album link | Шаблон:N |
Remix album | |||
{{Template:Infobox Album link|Remix album}} | Remix album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Remix}} | Remix album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Remix]]}} | Remix album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Remix album]]}} | Remix album | Шаблон:Infobox Album link | Шаблон:N |
Cover album | |||
{{Template:Infobox Album link|Cover album}} | Cover album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Cover}} | Cover album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Cover album]]}} | Cover album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Cover version]]}} | Cover album | Шаблон:Infobox Album link | Шаблон:N |
Tribute album | |||
{{Template:Infobox Album link|Tribute album}} | Tribute album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Tribute}} | Tribute album | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Tribute album]]}} | Tribute album | Шаблон:Infobox Album link | Шаблон:N |
Soundtrack | |||
{{Template:Infobox Album link|Soundtrack}} | Soundtrack | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Movie soundtrack}} | Soundtrack | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Soundtrack]]}} | Soundtrack | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Soundtrack album]]}} | Soundtrack | Шаблон:Infobox Album link | Шаблон:N |
Television theme | |||
{{Template:Infobox Album link|Television theme}} | Television theme | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Television}} | Television theme | Шаблон:Infobox Album link | Шаблон:N |
Film score | |||
{{Template:Infobox Album link|Film score}} | Film score | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|Film}} | Film score | Шаблон:Infobox Album link | Шаблон:N |
{{Template:Infobox Album link|[[Film score]]}} | Film score | Шаблон:Infobox Album link | Шаблон:N |
Other cases | |||
{{Template:Infobox Album link|}} | Шаблон:Infobox Album link | Шаблон:N | |
{{Template:Infobox Album link|xyz|}} | xyz | Шаблон:Infobox Album link | Шаблон:N |