模板: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>