模板:Extra track listing
| File:Lua-Logo.svg | 此模板使用Lua语言: |
A listing of the songs on an album or EP is usually done using the |tracks= field of {{Infobox song}}; for details, please see the infobox track listing examples. However, if the infobox |chronology= prevents its use, this template should be used instead to add a track listing.
Please note: track listings should not be added to infoboxes if there is a navigation template or navbox at the bottom of the article which already lists the songs.
Code[编辑]
This template is used with the |misc= parameter of the infobox template. It should not be used on its own. If this template is substituted, it will return a cleaned-up copy of itself with unnecessary parameters removed and deprecated parameters replaced. Parameter indentation will also automatically be fixed.
| 《That Album》收录曲 | |
|---|---|
11 tracks
| |
{{Infobox song
...
| misc = {{Extra track listing
| album =
| type =
| tracks =
}}
Parameters[编辑]
album[编辑]
Enter the name of the album or EP to produce the header. It will be generated using italics followed by "track listing"; for example, That Album track listing or What EP track listing.
type[编辑]
Enter song for all Infobox song types to generate a light blue background; for singles, enter single for khaki.
| 代码(中文) | 代码(英文) | 显示 |
|---|---|---|
| 专辑 | studio | 艺术家的录音室专辑 |
| 小样 | demo | 艺术家的样本唱片 |
| 细碟 | EP | 艺术家的EP |
| 迷你专辑 | mini album | 艺术家的迷你专辑 |
| 单曲专辑 | single album | 艺术家的单曲专辑 |
| 现场 | live | 艺术家的现场专辑 |
| 精选 | greatest | 艺术家的精选辑 |
| 混音专辑 | remix | 艺术家的混音专辑 |
| 套装 | box | 艺术家的套装专辑 |
| 合辑 | compilation | 艺术家的合辑 |
| 混音带 | mixtape | 艺术家的混音带 |
| 翻唱 | cover | 艺术家的翻唱专辑 |
| 致敬 | tribute | 艺术家的致敬专辑 |
| 原声带 | soundtrack | 艺术家的原声带 |
| 电视 | television | 艺术家的电视主题音乐 |
| 电影 | film | 艺术家的电影配乐 |
| 印象 | image | 艺术家的印象专辑 |
| 演员 | cast | 艺术家的演员录音 |
| 录像带 | video | 艺术家的音乐视频 |
| 其他 | other | 艺术家的其他 |
tracks[编辑]
Add the template that has the album track listing, such as {{Rumours tracks}}, {{Nevermind tracks}}, etc.
Notes[编辑]
This template is for use in the |misc= field. It will not work in infobox song |tracks=.
TemplateData[编辑]
<templatedata> { "params": { "type": { "label": "Type", "description": "sets the header color", "example": "Song, single, etc.", "default": "peachpuff", "required": true }, "tracks": { "label": "Tracks", "description": "add the track listing template for the album or EP here", "type": "string", "required": true }, "album": { "aliases": [ "chronology" ], "label": "Album", "description": "name of the album or EP", "example": "track listing is automatically added after", "type": "string", "required": true } },
"description": "For use with| Extra track listing | |
|---|---|
| 歌曲 |
"paramOrder": [ "album", "type", "tracks" ] } </templatedata>