Template:Track list/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 47: Line 47:
|- style="vertical-align:middle;"
|- style="vertical-align:middle;"
| style="width: 45%" |  
| style="width: 45%" |  
{{Pre|{{{{tcn|Tlist}}<nowiki>|</nowiki>{{tcp|start}} {{=}} {{tcv|20}}
{{{{tcn|Tlist}}
  <nowiki>|</nowiki> {{tcp|start}} {{=}} {{tcv|20}}
   <nowiki>|</nowiki> {{tcv|「オフの日」}}
   <nowiki>|</nowiki> {{tcv|「オフの日」}}
   <nowiki>|</nowiki> {{tcv|「家でしか見られない顔」}}
   <nowiki>|</nowiki> {{tcv|「家でしか見られない顔」}}
Line 57: Line 58:
   <nowiki>|</nowiki> {{tcv|「眠れない夜」}}
   <nowiki>|</nowiki> {{tcv|「眠れない夜」}}
   <nowiki>|</nowiki> {{tcv|「やきもち」}}
   <nowiki>|</nowiki> {{tcv|「やきもち」}}
}} }}
}}
| style="text-align: center" | {{Rarr}}
| style="text-align: center" | {{Rarr}}
|{{Tlist|start = 20
|{{Tlist
  | start = 20
   | 「オフの日」
   | 「オフの日」
   | 「家でしか見られない顔」
   | 「家でしか見られない顔」
Line 74: Line 76:
'''Example of breaking a list to include non-numbered text'''
'''Example of breaking a list to include non-numbered text'''
{| style="width: 50%"
{| style="width: 50%"
|+ '''Use {{tl|Indent}} with a value of 5'''
|+ '''Use {{tlb|Indent}} with a value of 5'''
|- style="vertical-align:middle;"
|- style="vertical-align:middle;"
| style="width: 45%" |  
| style="width: 45%" |  
{{Pre|{{{{tcn|Track list}}
{{{{tcn|Track list}}
   <nowiki>|</nowiki> {{tcv|「オフの日」}}
   <nowiki>|</nowiki> {{tcv|「オフの日」}}
   <nowiki>|</nowiki> {{tcv|「家でしか見られない顔」}}
   <nowiki>|</nowiki> {{tcv|「家でしか見られない顔」}}
Line 83: Line 85:
   <nowiki>|</nowiki> {{tcv|「番組アンケート」}}
   <nowiki>|</nowiki> {{tcv|「番組アンケート」}}
   <nowiki>|</nowiki> {{tcv|「キスの息継ぎ」}}
   <nowiki>|</nowiki> {{tcv|「キスの息継ぎ」}}
   {{((}}{{tcn|in}}<nowiki>|</nowiki>{{tcv|5}}{{))}} <nowiki>''' Story 2'''</nowiki>
   {{{{tcn|in}}<nowiki>|</nowiki>{{tcv|5}}}} <nowiki>'''Story 2'''</nowiki>
   <nowiki>|</nowiki> {{tcv|「山瀬のヒヤヒヤ」}}
   <nowiki>|</nowiki> {{tcv|「山瀬のヒヤヒヤ」}}
   <nowiki>|</nowiki> {{tcv|「三原の悪ふざけ」}}
   <nowiki>|</nowiki> {{tcv|「三原の悪ふざけ」}}
   <nowiki>|</nowiki> {{tcv|「眠れない夜」}}
   <nowiki>|</nowiki> {{tcv|「眠れない夜」}}
   <nowiki>|</nowiki> {{tcv|「やきもち」}}
   <nowiki>|</nowiki> {{tcv|「やきもち」}}
}} }}
}}
| style="text-align: center" | {{Rarr}}
| style="text-align: center" | {{Rarr}}
|{{Track list|
|{{Track list
   | 「オフの日」
   | 「オフの日」
   | 「家でしか見られない顔」
   | 「家でしか見られない顔」
Line 96: Line 98:
   | 「番組アンケート」
   | 「番組アンケート」
   | 「キスの息継ぎ」
   | 「キスの息継ぎ」
   {{in|5}} ''' Story 2'''
   {{in|5}} '''Story 2'''
   | 「山瀬のヒヤヒヤ」
   | 「山瀬のヒヤヒヤ」
   | 「三原の悪ふざけ」
   | 「三原の悪ふざけ」
Line 105: Line 107:
{{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.
'''Example of creating a break in a long list with the same name for each entry'''
{| style="width: 50%"
|+ '''Use {{tlb|Indent}} with a value of 5'''
|- style="vertical-align:middle;"
| style="width: 45%" |
{{{{tcn|Track list}}
  <nowiki>|</nowiki> {{tcv|It's On Me}}
  <nowiki>|</nowiki> {{tcv|ドラマ:天使が堕ちた日}}
  {{{{tcn|in}}<nowiki>|</nowiki>{{tcv|5}}}} <nowiki>'''~'''</nowiki>
  <nowiki>|</nowiki> {{tcp|item3_value}} {{=}} {{tcv|19}}
  <nowiki>|</nowiki> {{tcv|ドラマ:天使が堕ちた日}}
  <nowiki>|</nowiki> {{tcv|LOST ANGEL}}
}}
| style="text-align: center" | {{Rarr}}
|{{Track list
  | It's On Me
  | ドラマ:天使が堕ちた日
  {{in|5}} ~
  | item3_value = 19
  | ドラマ:天使が堕ちた日
  | LOST ANGEL
}}
|}


== TemplateData ==
== TemplateData ==
Line 125: Line 152:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:List Templates]]
[[Category:CD page templates]]
[[Category:General Use Templates]]
[[Category:List templates]]
[[Category:General use templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 06:43, 2 February 2024

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


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

Example 1 - Normal Usage
{{Track list
  | Track 01
  | Track 02
  | Track 03
  | Track 04
  | Track 05
  | Track 06
  | Track 07
  | Track 08
  | Track 09
  | Track 10
}}
  1. Track 01
  2. Track 02
  3. Track 03
  4. Track 04
  5. Track 05
  6. Track 06
  7. Track 07
  8. Track 08
  9. Track 09
  10. Track 10
Example 2 - Using |start=
{{Tlist
 | start = 20
 | 「オフの日」
 | 「家でしか見られない顔」
 | 「練習」
 | 「番組アンケート」
 | 「キスの息継ぎ」
 | 「山瀬のヒヤヒヤ」
 | 「三原の悪ふざけ」
 | 「眠れない夜」
 | 「やきもち」
}}
  1. 「オフの日」
  2. 「家でしか見られない顔」
  3. 「練習」
  4. 「番組アンケート」
  5. 「キスの息継ぎ」
  6. 「山瀬のヒヤヒヤ」
  7. 「三原の悪ふざけ」
  8. 「眠れない夜」
  9. 「やきもち」

Example of breaking a list to include non-numbered text

Use {{Indent}} with a value of 5
{{Track list
 | 「オフの日」
 | 「家でしか見られない顔」
 | 「練習」
 | 「番組アンケート」
 | 「キスの息継ぎ」
 {{in|5}} '''Story 2'''
 | 「山瀬のヒヤヒヤ」
 | 「三原の悪ふざけ」
 | 「眠れない夜」
 | 「やきもち」
}}
  1. 「オフの日」
  2. 「家でしか見られない顔」
  3. 「練習」
  4. 「番組アンケート」
  5. 「キスの息継ぎ」
          Story 2
  6. 「山瀬のヒヤヒヤ」
  7. 「三原の悪ふざけ」
  8. 「眠れない夜」
  9. 「やきもち」

     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.


Example of creating a break in a long list with the same name for each entry

Use {{Indent}} with a value of 5
{{Track list
 | It's On Me
 | ドラマ:天使が堕ちた日
 {{in|5}} '''~'''
 | item3_value = 19
 | ドラマ:天使が堕ちた日
 | LOST ANGEL
}}
  1. It's On Me
  2. ドラマ:天使が堕ちた日
          ~
  3. ドラマ:天使が堕ちた日
  4. LOST ANGEL

TemplateData

Creates an ordered track list for CD pages.

Template parameters

ParameterDescriptionTypeStatus
Startstart

Label for the first item in the list; a positive integer

Default
1
Stringoptional