თარგი:ინფოდაფა ალბომი/ფერის შემრჩევი - ვიკიპედია

# თარგი:ინფოდაფა ალბომი/ფერის შემრჩევი

### ვიკიპედიიდან

## [რედაქტირება] Important

When modifying this template, don't forget to update Template:Infobox Album/link. Thanks.

## [რედაქტირება] Usage

This template is an auxiliary one and should be only used by the {{Infobox Album}} template. Based on the type of album this template receives, it returns the color that will be used.

### [რედაქტირება] Quick reference table

Types | Color | Codes
--- | --- | ---
bgcolor="თარგი:Infobox Album/color" |EPs | თარგი:Infobox Album/color | ep
bgcolor="თარგი:Infobox Album/color" |Original studio albums | თარგი:Infobox Album/color | studio
bgcolor="თარგი:Infobox Album/color" |Live albums and live EPs | თარგი:Infobox Album/color | live
bgcolor="თარგი:Infobox Album/color"|Greatest hits | თარგი:Infobox Album/color | greatest
bgcolor="თარგი:Infobox Album/color"|Remixes | თარგი:Infobox Album/color | remix
bgcolor="თარგი:Infobox Album/color"|Box sets | თარგი:Infobox Album/color | box
bgcolor="თარგი:Infobox Album/color"|Other Compilations | თარგი:Infobox Album/color | compilation
bgcolor="თარგი:Infobox Album/color"|Cover albums | თარგი:Infobox Album/color | cover
bgcolor="თარგი:Infobox Album/color" |Tribute albums | თარგი:Infobox Album/color | tribute
bgcolor="თარგი:Infobox Album/color"|Soundtracks | თარგი:Infobox Album/color | soundtrack
bgcolor="თარგი:Infobox Album/color"|Television themes | თარგი:Infobox Album/color | television
bgcolor="თარგი:Infobox Album/color"|Film Scores | თარგი:Infobox Album/color | film
bgcolor="თარგი:Infobox Album/color"|Unknown type | თარგი:Infobox Album/color | N/A

### [რედაქტირება] Valid arguments

- EP
- Studio album
- Live album
- Greatest hits
- Box set
- Compilation album
- Remix album
- Cover
- 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 color|typename}}
    | typecolor
    | {{Template:Infobox Album color|typename}}
    | {{#ifeq:{{Template:Infobox Album color|typename}}|typecolor|{{y}}|{{n}}}}

Replace typename with the new type name (in example, Epic soundtrack), and typecolor with the color assigned to the type (in example, brown). See Wikipedia:Colours and Wikipedia:Infobox colours for additional information.

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 თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test თარგი:Infobox Album/color/unit test
--- | --- | --- | ---

Retrieved from "http://ka.wikipedia.org../../../%E1%83%98/%E1%83%9C/%E1%83%A4/%E1%83%97%E1%83%90%E1%83%A0%E1%83%92%E1%83%98%7E%E1%83%98%E1%83%9C%E1%83%A4%E1%83%9D%E1%83%93%E1%83%90%E1%83%A4%E1%83%90_%E1%83%90%E1%83%9A%E1%83%91%E1%83%9D%E1%83%9B%E1%83%98_%E1%83%A4%E1%83%94%E1%83%A0%E1%83%98%E1%83%A1_%E1%83%A8%E1%83%94%E1%83%9B%E1%83%A0%E1%83%A9%E1%83%94%E1%83%95%E1%83%98_922e.html"

კატეგორია: Template implementation details

##### Views

- თარგი
- განხილვა
- მიმდინარე შესწორება

##### ძიება