模板:Infobox album/color/doc
外观
重要提示
[编辑]当修改本模板时,请一并更新Template:Infobox album/link。
使用方式
[编辑]本模板仅供 {{Infobox album}} 搭配使用。根据在该模板中输入的专辑类型,本模板会将之转换为对应的颜色。
可用的代码
[编辑]Template:Infobox album/doc/type
功能测试
[编辑]如果栏位显示出来的内容与预期结果不符,本模板可能已经损坏,以下的表格可以测试本模板是否有损坏。若出现 Template:Y 符号,则代表自我测试结果正常;若出现 Template:N 符号,则表示自我测试失败。当您编辑本模板时,发布页面后请按下Template:键盘按钮(或刷新),并确认是否通过所有的自我测试。若您要增加新的类型至模板中,请记得使用以下格式:
| <nowiki>类型名称</nowiki>
| 类型颜色
| {{Template:Infobox album/color|类型颜色}}
| {{#ifeq:{{Template:Infobox album/color|类型名称}}|类型颜色|{{y}}|{{n}}}}
将“类型名称”替换为类型的名称(例如:相声专辑),“类型颜色”替换为类型要显示的颜色英文(例如:brown)。参见Wikipedia:信息框颜色以获取更多信息。
注意:有时候测试可能在预览时看起来通过,但发布之后却会失败,无论页面的缓存(快取)被清空多少次。在这种情况下,请按下这个链接来刷新页面。若情况依然无法解决,请在讨论页中注明,以便让其他编辑者能够注意到更动之处。
| 模板使用 | 预期结果 | 实际结果 | 测试 |
|---|---|---|---|
| 录音室专辑 | |||
| studio | lightsteelblue | lightsteelblue | Template:Y |
| Studio album | lightsteelblue | lightsteelblue | Template:Y |
| 專輯 | lightsteelblue | lightsteelblue | Template:Y |
| 专辑 | lightsteelblue | lightsteelblue | Template:Y |
| 錄音室專輯 | lightsteelblue | lightsteelblue | Template:Y |
| 录音室专辑 | lightsteelblue | lightsteelblue | Template:Y |
| 样本唱片 | |||
| demo | lightsteelblue | lightsteelblue | Template:Y |
| 小樣 | lightsteelblue | lightsteelblue | Template:Y |
| 小样 | lightsteelblue | lightsteelblue | Template:Y |
| 双碟唱片 | |||
| Double album | lightsteelblue | lightsteelblue | Template:Y |
| [[Double album]] | lightsteelblue | lightsteelblue | Template:Y |
| 雙碟唱片 | lightsteelblue | lightsteelblue | Template:Y |
| [[雙碟唱片]] | lightsteelblue | lightsteelblue | Template:Y |
| 双碟唱片 | lightsteelblue | lightsteelblue | Template:Y |
| [[双碟唱片]] | lightsteelblue | lightsteelblue | Template:Y |
| EP | |||
| ep | lightsalmon | lightsalmon | Template:Y |
| [[EP]] | lightsalmon | lightsalmon | Template:Y |
| 細碟 | lightsalmon | lightsalmon | Template:Y |
| [[細碟]] | lightsalmon | lightsalmon | Template:Y |
| 细碟 | lightsalmon | lightsalmon | Template:Y |
| [[细碟]] | lightsalmon | lightsalmon | Template:Y |
| 现场专辑 | |||
| live | burlywood | burlywood | Template:Y |
| Live album | burlywood | burlywood | Template:Y |
| 現場 | burlywood | burlywood | Template:Y |
| 现场 | burlywood | burlywood | Template:Y |
| 現場專輯 | burlywood | burlywood | Template:Y |
| 现场专辑 | burlywood | burlywood | Template:Y |
| 精选辑 | |||
| greatest | darkseagreen | darkseagreen | Template:Y |
| Greatest hits | darkseagreen | darkseagreen | Template:Y |
| 精選 | darkseagreen | darkseagreen | Template:Y |
| 精选 | darkseagreen | darkseagreen | Template:Y |
| 精選輯 | darkseagreen | darkseagreen | Template:Y |
| 精选辑 | darkseagreen | darkseagreen | Template:Y |
| 混音专辑 | |||
| remix | darkseagreen | darkseagreen | Template:Y |
| Remix album | darkseagreen | darkseagreen | Template:Y |
| 混音 | darkseagreen | darkseagreen | Template:Y |
| 混音專輯 | darkseagreen | darkseagreen | Template:Y |
| 混音专辑 | darkseagreen | darkseagreen | Template:Y |
| 套装专辑 | |||
| box | darkseagreen | darkseagreen | Template:Y |
| Box set | darkseagreen | darkseagreen | Template:Y |
| 套裝 | darkseagreen | darkseagreen | Template:Y |
| 套装 | darkseagreen | darkseagreen | Template:Y |
| 套裝專輯 | darkseagreen | darkseagreen | Template:Y |
| 套装专辑 | darkseagreen | darkseagreen | Template:Y |
| 合辑 | |||
| compilation | darkseagreen | darkseagreen | Template:Y |
| Compilation album | darkseagreen | darkseagreen | Template:Y |
| 合輯 | darkseagreen | darkseagreen | Template:Y |
| 合辑 | darkseagreen | darkseagreen | Template:Y |
| 混音带 | |||
| mixtape | darkseagreen | darkseagreen | Template:Y |
| 混音帶 | darkseagreen | darkseagreen | Template:Y |
| 混音带 | darkseagreen | darkseagreen | Template:Y |
| 翻唱专辑 | |||
| cover | thistle | thistle | Template:Y |
| Cover album | thistle | thistle | Template:Y |
| 翻唱 | thistle | thistle | Template:Y |
| 翻唱專輯 | thistle | thistle | Template:Y |
| 翻唱专辑 | thistle | thistle | Template:Y |
| 致敬专辑 | |||
| tribute | thistle | thistle | Template:Y |
| Tribute album | thistle | thistle | Template:Y |
| 致敬 | thistle | thistle | Template:Y |
| 致敬專輯 | thistle | thistle | Template:Y |
| 致敬专辑 | thistle | thistle | Template:Y |
| 原声带 | |||
| soundtrack | gainsboro | gainsboro | Template:Y |
| 原聲帶 | gainsboro | gainsboro | Template:Y |
| 原声带 | gainsboro | gainsboro | Template:Y |
| 电视主题音乐 | |||
| television | gainsboro | gainsboro | Template:Y |
| Television theme | gainsboro | gainsboro | Template:Y |
| 電視 | gainsboro | gainsboro | Template:Y |
| 电视 | gainsboro | gainsboro | Template:Y |
| 電視主題 | gainsboro | gainsboro | Template:Y |
| 电视主题 | gainsboro | gainsboro | Template:Y |
| 电影配乐 | |||
| film | gainsboro | gainsboro | Template:Y |
| Film score | gainsboro | gainsboro | Template:Y |
| 電影 | gainsboro | gainsboro | Template:Y |
| 电影 | gainsboro | gainsboro | Template:Y |
| 電影配樂 | gainsboro | gainsboro | Template:Y |
| 电影配乐 | gainsboro | gainsboro | Template:Y |
| 印象专辑 | |||
| image | gainsboro | gainsboro | Template:Y |
| Image album | gainsboro | gainsboro | Template:Y |
| Impression soundtrack | gainsboro | gainsboro | Template:Y |
| Impression album | gainsboro | gainsboro | Template:Y |
| 印象 | gainsboro | gainsboro | Template:Y |
| 印象專輯 | gainsboro | gainsboro | Template:Y |
| 印象专辑 | gainsboro | gainsboro | Template:Y |
| 演员录音 | |||
| cast | gainsboro | gainsboro | Template:Y |
| Cast album | gainsboro | gainsboro | Template:Y |
| Cast recording | gainsboro | gainsboro | Template:Y |
| 演員 | gainsboro | gainsboro | Template:Y |
| 演员 | gainsboro | gainsboro | Template:Y |
| 演員錄音 | gainsboro | gainsboro | Template:Y |
| 演员录音 | gainsboro | gainsboro | Template:Y |
| 演員專輯 | gainsboro | gainsboro | Template:Y |
| 演员专辑 | gainsboro | gainsboro | Template:Y |
| 音乐视频 | |||
| video | #99CCFF | #99CCFF | Template:Y |
| dvd | #99CCFF | #99CCFF | Template:Y |
| 錄影帶 | #99CCFF | #99CCFF | Template:Y |
| 录像带 | #99CCFF | #99CCFF | Template:Y |
| 其他 | |||
| peachpuff | peachpuff | Template:Y | |
| xyz | peachpuff | peachpuff | Template:Y |
模板数据
[编辑]{{Infobox album}}及其他关联模板的颜色选择器。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 类型 | 1 | 专辑类型 | 字符串 | 必需 |
| 测试专用 | 2 | 自定义颜色代码,在大多数情况下无需使用 | 未知 | 弃用 |