Template:Track list/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:


== Usage ==
== 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 {{para|start}} parameter with the next track number on the next list. [[#Example of breaking a list to include non-numbered text|See Below]]
This template creates an ordered Track List. [[#Example of breaking a list to include non-numbered text|See below]] on how to include text in the middle of the list that isn't a numbered item.


== Syntax ==
== Syntax ==
Line 66: Line 66:


'''Example of breaking a list to include non-numbered text'''
'''Example of breaking a list to include non-numbered text'''
* Use {{tl|Indent}} with a value of 5.
<div style="float:right;width:45%">
<div style="float:right;width:45%">
{{Track list|
{{Track list|
Line 73: Line 75:
   | 「番組アンケート」
   | 「番組アンケート」
   | 「キスの息継ぎ」
   | 「キスの息継ぎ」
}}
  {{in|5}} ''' Story 2'''
{{space|15}} ''' Story 2'''
{{Track list|start = 6
   | 「山瀬のヒヤヒヤ」
   | 「山瀬のヒヤヒヤ」
   | 「三原の悪ふざけ」
   | 「三原の悪ふざけ」
Line 88: Line 88:
   | {{font color|#933|「番組アンケート」}}
   | {{font color|#933|「番組アンケート」}}
   | {{font color|#933|「キスの息継ぎ」}}
   | {{font color|#933|「キスの息継ぎ」}}
{{))}}
  {{((}}{{fcb|#4169e1|in}}|{{font color|#933|5}}{{))}} <nowiki>''' Story 2'''</nowiki>
{{((}}{{fcb|#4169e1|space}}|{{font color|#933|15}}{{))}} <nowiki>''' Story 2'''</nowiki>
{{((}}{{fcb|#4169e1|Track list}}|{{fcb|#2e8b57|start}} {{=}} {{font color|#933|6}}
   | {{font color|#933|「山瀬のヒヤヒヤ」}}
   | {{font color|#933|「山瀬のヒヤヒヤ」}}
   | {{font color|#933|「三原の悪ふざけ」}}
   | {{font color|#933|「三原の悪ふざけ」}}
Line 96: Line 94:
   | {{font color|#933|「やきもち」}}
   | {{font color|#933|「やきもち」}}
}} }}
}} }}
{{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.


== TemplateData ==
== TemplateData ==

Revision as of 13:28, 17 August 2023

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

  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
{{Track list
  | Track 01
  | Track 02
  | Track 03
  | Track 04
  | Track 05
  | Track 06
  | Track 07
  | Track 08
  | Track 09
  | Track 10
}}


  1. 「オフの日」
  2. 「家でしか見られない顔」
  3. 「練習」
  4. 「番組アンケート」
  5. 「キスの息継ぎ」
  6. 「山瀬のヒヤヒヤ」
  7. 「三原の悪ふざけ」
  8. 「眠れない夜」
  9. 「やきもち」
{{Tlist|start = 20
  | 「オフの日」
  | 「家でしか見られない顔」
  | 「練習」
  | 「番組アンケート」
  | 「キスの息継ぎ」
  | 「山瀬のヒヤヒヤ」
  | 「三原の悪ふざけ」
  | 「眠れない夜」
  | 「やきもち」
}}

Example of breaking a list to include non-numbered text

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

Template parameters

ParameterDescriptionTypeStatus
Startstart

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

Default
1
Stringoptional