Template:Track list/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 124: | Line 124: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Formatting Templates]] | [[Category:Formatting Templates]] | ||
[[Category:General | [[Category:General Use Templates]] | ||
}}}}</includeonly> | }}}}</includeonly> |
Revision as of 00:14, 22 June 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This template uses Lua: |
Usage
This template creates an ordered Track List. If you would like to include text in the middle of the list that isn't a numbered item you will need to break the list into separate template calls and use the |start=
parameter with the next track number on the next list. See Below
Syntax
- Simple
- {{Track list
|entry1 |entry2 |...}} - Offset starting value
- {{Track list
|start=start number |entry1 |entry2 |...}}
Examples
- Track 01
- Track 02
- Track 03
- Track 04
- Track 05
- Track 06
- Track 07
- Track 08
- Track 09
- Track 10
{{Track list | Track 01 | Track 02 | Track 03 | Track 04 | Track 05 | Track 06 | Track 07 | Track 08 | Track 09 | Track 10 }}
- 「オフの日」
- 「家でしか見られない顔」
- 「練習」
- 「番組アンケート」
- 「キスの息継ぎ」
- 「山瀬のヒヤヒヤ」
- 「三原の悪ふざけ」
- 「眠れない夜」
- 「やきもち」
{{Tlist|start = 20 | 「オフの日」 | 「家でしか見られない顔」 | 「練習」 | 「番組アンケート」 | 「キスの息継ぎ」 | 「山瀬のヒヤヒヤ」 | 「三原の悪ふざけ」 | 「眠れない夜」 | 「やきもち」 }}
Example of breaking a list to include non-numbered text
- 「オフの日」
- 「家でしか見られない顔」
- 「練習」
- 「番組アンケート」
- 「キスの息継ぎ」
Story 2
- 「山瀬のヒヤヒヤ」
- 「三原の悪ふざけ」
- 「眠れない夜」
- 「やきもち」
{{Track list| | 「オフの日」 | 「家でしか見られない顔」 | 「練習」 | 「番組アンケート」 | 「キスの息継ぎ」 }} ::: ''' Story 2''' {{Track list|start = 6 | 「山瀬のヒヤヒヤ」 | 「三原の悪ふざけ」 | 「眠れない夜」 | 「やきもち」 }}
- Note: You can indent the text (above example Story 2) using the shown method or with the {{space}} template. Just enter the number of spaces you would like to indent. Like: {{space
|15}}
TemplateData
Creates an ordered track list for CD pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Start | start | Label for the first item in the list; a positive integer
| String | optional |