Template:Track list/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Examples) |
mNo edit summary |
||
Line 12: | Line 12: | ||
== Examples == | == Examples == | ||
{| style="width: 30%" | |||
{{Track list | |+ '''Example 1 - Normal Usage''' | ||
|- style="vertical-align:middle;" | |||
| style="width: 45%" | | |||
{{Pre|{{{{tcn|Track list}} | |||
<nowiki>|</nowiki> {{tcv|Track 01}} | |||
<nowiki>|</nowiki> {{tcv|Track 02}} | |||
<nowiki>|</nowiki> {{tcv|Track 03}} | |||
<nowiki>|</nowiki> {{tcv|Track 04}} | |||
<nowiki>|</nowiki> {{tcv|Track 05}} | |||
<nowiki>|</nowiki> {{tcv|Track 06}} | |||
<nowiki>|</nowiki> {{tcv|Track 07}} | |||
<nowiki>|</nowiki> {{tcv|Track 08}} | |||
<nowiki>|</nowiki> {{tcv|Track 09}} | |||
<nowiki>|</nowiki> {{tcv|Track 10}} | |||
}} }} | |||
| style="text-align: center" | {{Rarr}} | |||
|{{Track list | |||
| Track 01 | | Track 01 | ||
| Track 02 | | Track 02 | ||
Line 24: | Line 40: | ||
| Track 09 | | Track 09 | ||
| Track 10 | | Track 10 | ||
}} | }} | ||
|} | |||
{{ | {| style="width: 50%" | ||
|+ '''Example 2 - Using {{para|start}}''' | |||
| {{tcv| | |- style="vertical-align:middle;" | ||
| {{tcv| | | style="width: 45%" | | ||
| {{tcv| | {{Pre|{{{{tcn|Tlist}}<nowiki>|</nowiki>{{tcp|start}} {{=}} {{tcv|20}} | ||
| {{tcv| | <nowiki>|</nowiki> {{tcv|「オフの日」}} | ||
| {{tcv| | <nowiki>|</nowiki> {{tcv|「家でしか見られない顔」}} | ||
| {{tcv| | <nowiki>|</nowiki> {{tcv|「練習」}} | ||
| {{tcv| | <nowiki>|</nowiki> {{tcv|「番組アンケート」}} | ||
| {{tcv| | <nowiki>|</nowiki> {{tcv|「キスの息継ぎ」}} | ||
| {{tcv| | <nowiki>|</nowiki> {{tcv|「山瀬のヒヤヒヤ」}} | ||
<nowiki>|</nowiki> {{tcv|「三原の悪ふざけ」}} | |||
<nowiki>|</nowiki> {{tcv|「眠れない夜」}} | |||
<nowiki>|</nowiki> {{tcv|「やきもち」}} | |||
}} }} | }} }} | ||
| style="text-align: center" | {{Rarr}} | |||
|{{Tlist|start = 20 | |||
{{Tlist|start = 20 | |||
| 「オフの日」 | | 「オフの日」 | ||
| 「家でしか見られない顔」 | | 「家でしか見られない顔」 | ||
Line 51: | Line 69: | ||
| 「眠れない夜」 | | 「眠れない夜」 | ||
| 「やきもち」 | | 「やきもち」 | ||
}} | }} | ||
|} | |||
'''Example of breaking a list to include non-numbered text''' | '''Example of breaking a list to include non-numbered text''' | ||
{| style="width: 50%" | |||
|+ '''Use {{tl|Indent}} with a value of 5''' | |||
|- style="vertical-align:middle;" | |||
{{Track list| | | style="width: 45%" | | ||
{{Pre|{{{{tcn|Track list}} | |||
<nowiki>|</nowiki> {{tcv|「オフの日」}} | |||
<nowiki>|</nowiki> {{tcv|「家でしか見られない顔」}} | |||
<nowiki>|</nowiki> {{tcv|「練習」}} | |||
<nowiki>|</nowiki> {{tcv|「番組アンケート」}} | |||
<nowiki>|</nowiki> {{tcv|「キスの息継ぎ」}} | |||
{{((}}{{tcn|in}}<nowiki>|</nowiki>{{tcv|5}}{{))}} <nowiki>''' Story 2'''</nowiki> | |||
<nowiki>|</nowiki> {{tcv|「山瀬のヒヤヒヤ」}} | |||
<nowiki>|</nowiki> {{tcv|「三原の悪ふざけ」}} | |||
<nowiki>|</nowiki> {{tcv|「眠れない夜」}} | |||
<nowiki>|</nowiki> {{tcv|「やきもち」}} | |||
}} }} | |||
| style="text-align: center" | {{Rarr}} | |||
|{{Track list| | |||
| 「オフの日」 | | 「オフの日」 | ||
| 「家でしか見られない顔」 | | 「家でしか見られない顔」 | ||
Line 80: | Line 101: | ||
| 「眠れない夜」 | | 「眠れない夜」 | ||
| 「やきもち」 | | 「やきもち」 | ||
}} | }} | ||
|} | |||
{{space|5}}Note: Indent the text (above example '''Story 2''') using the shown method or using {{tl|Block indent}} with {{para|left|4}}, like {{tlc|bi|left {{=}} 4|Text}}. | {{space|5}}Note: Indent the text (above example '''Story 2''') using the shown method or using {{tl|Block indent}} with {{para|left|4}}, like {{tlc|bi|left {{=}} 4|Text}}. | ||
{{in|10}}Do {{fc|red|not}} use {{tl|br}} because it does not indent the text enough. | {{in|10}}Do {{fc|red|not}} use {{tl|br}} because it does not indent the text enough. |
Revision as of 08:23, 19 August 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. See below on how to include text in the middle of the list that isn't a numbered item.
Syntax
- Simple
- {{Track list
|entry1 |entry2 |...}} - Offset starting value
- {{Track list
|start=start number |entry1 |entry2 |...}}
Examples
{{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
{{Track list | 「オフの日」 | 「家でしか見られない顔」 | 「練習」 | 「番組アンケート」 | 「キスの息継ぎ」 {{in|5}} ''' Story 2''' | 「山瀬のヒヤヒヤ」 | 「三原の悪ふざけ」 | 「眠れない夜」 | 「やきもち」 }} |
→ |
|
Note: Indent the text (above example Story 2) using the shown method or using {{Block indent}} with |left=4
, like {{bi|left = 4|Text}}
.
Do not use {{br}} because it does not indent the text enough.
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 |