आकृति:Infobox album/color/doc
This is a documentation subpage for आकृति:Infobox album/color. It contains usage information, categories and other content that is not part of the original आकृति page. |
ई आकृति कऽ प्रयोग 167000+ पृष्ठसभमे कएल जा रहल अछि । पैग मात्रामे व्यवधान आ अनावश्यक सर्भर लोडसँ वचवाक लेल, कोनो भी परिवर्तनके पहिने ई आकृतिके /प्रयोगपृष्ठ उपपृष्ठ या अपन उपयोगकर्ता स्थान पर जाँचि कऽ देखी । जाँचल गेल परिवर्तनके ई आकृतिमे एक बेरमे जोड़ल जा सकैत अछि । अन्य उपयोगकर्ताक लेल, परिवर्तन करिसँ पहिने एहिसँ सम्बन्धित वार्तालाप वार्ता पृष्ठ पर करी । |
Important
[सम्पादन करी]When modifying this template, don't forget to update Template:Infobox album/link.
Usage
[सम्पादन करी]This is an auxiliary template used by the {{Infobox album}} template, as well as other templates used in it and {{Infobox song}}'s |misc=
parameter: {{Singles}}, {{Extra album cover}}, {{Extra chronology}}, {{Extra track listing}}, {{External music video}} and {{Audio sample}}. It should never be used on its own. The first parameter should be one of the codes from the table below, representing a type of album (parameter "Type"). The template returns the color that will be used.
Quick reference table
[सम्पादन करी]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:
| <nowiki>typename</nowiki> | 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.
Code | Expected | Obtained | Test |
---|---|---|---|
Studio album | |||
studio | lightsteelblue | lightsteelblue | आकृति:Y |
Studio album | lightsteelblue | lightsteelblue | आकृति:Y |
Double album | lightsteelblue | lightsteelblue | आकृति:Y |
[[Double album]] | lightsteelblue | lightsteelblue | आकृति:Y |
Demo album | |||
demo | lightsteelblue | lightsteelblue | आकृति:Y |
EP | |||
ep | lightsalmon | lightsalmon | आकृति:Y |
[[EP]] | lightsalmon | lightsalmon | आकृति:Y |
Live album | |||
live | burlywood | burlywood | आकृति:Y |
Live album | burlywood | burlywood | आकृति:Y |
Greatest hits | |||
greatest | darkseagreen | darkseagreen | आकृति:Y |
Greatest hits | darkseagreen | darkseagreen | आकृति:Y |
Remix album | |||
remix | darkseagreen | darkseagreen | आकृति:Y |
Remix album | darkseagreen | darkseagreen | आकृति:Y |
Box set | |||
box | darkseagreen | darkseagreen | आकृति:Y |
Box set | darkseagreen | darkseagreen | आकृति:Y |
Compilation album | |||
compilation | darkseagreen | darkseagreen | आकृति:Y |
Compilation album | darkseagreen | darkseagreen | आकृति:Y |
Cover album | |||
cover | lightsteelblue | lightsteelblue | आकृति:Y |
Cover album | lightsteelblue | lightsteelblue | आकृति:Y |
Tribute album | |||
tribute | lightsteelblue | lightsteelblue | आकृति:Y |
Tribute album | lightsteelblue | lightsteelblue | आकृति:Y |
Soundtrack | |||
soundtrack | gainsboro | gainsboro | आकृति:Y |
Television theme | |||
television | gainsboro | gainsboro | आकृति:Y |
Television theme | gainsboro | gainsboro | आकृति:Y |
Film score | |||
film | gainsboro | gainsboro | आकृति:Y |
Film score | gainsboro | gainsboro | आकृति:Y |
Cast album | |||
cast | gainsboro | gainsboro | आकृति:Y |
Cast album | gainsboro | gainsboro | आकृति:Y |
Cast recording | gainsboro | gainsboro | आकृति:Y |
Video album | |||
video | #99CCFF | #99CCFF | आकृति:Y |
dvd | #99CCFF | #99CCFF | आकृति:Y |
Other cases | |||
peachpuff | lightsteelblue | आकृति:N | |
xyz | peachpuff | peachpuff | आकृति:Y |
TemplateData
[सम्पादन करी]See the monthly error report for this template.
TemplateData for Infobox album/color
Colour selection template for {{Infobox album}} and associated templates.
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Type | 1 | Type of recording | स्ट्रिंग | आवश्यक |
Testing only | 2 | Custom colour value. Not necessary in almost all cases | अज्ञात | कालग्रस्त |