Template:Track list/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
Line 26: Line 26:
}}</div>
}}</div>


<pre>
{{Pre|width=25%|{{{{fcb|#4169e1|Track list}}
{{Track list
   | {{font color|#933|Track 01}}
   | Track 01
   | {{font color|#933|Track 02}}
   | Track 02
   | {{font color|#933|Track 03}}
   | Track 03
   | {{font color|#933|Track 04}}
   | Track 04
   | {{font color|#933|Track 05}}
   | Track 05
   | {{font color|#933|Track 06}}
   | Track 06
   | {{font color|#933|Track 07}}
   | Track 07
   | {{font color|#933|Track 08}}
   | Track 08
   | {{font color|#933|Track 09}}
   | Track 09
   | {{font color|#933|Track 10}}
   | Track 10
}} }}
}}</pre>
{{clear}}{{br}}
{{clear}}{{br}}


Line 54: Line 53:
}}</div>
}}</div>


<pre>
{{Pre|width=25%|{{{{fcb|#4169e1|Tlist}}|{{fcb|#2e8b57|start}} {{=}} {{font color|#933|20}}
{{Tlist|start = 20
   | {{font color|#933|「オフの日」}}
   | 「オフの日」
   | {{font color|#933|「家でしか見られない顔」}}
   | 「家でしか見られない顔」
   | {{font color|#933|「練習」}}
   | 「練習」
   | {{font color|#933|「番組アンケート」}}
   | 「番組アンケート」
   | {{font color|#933|「キスの息継ぎ」}}
   | 「キスの息継ぎ」
   | {{font color|#933|「山瀬のヒヤヒヤ」}}
   | 「山瀬のヒヤヒヤ」
   | {{font color|#933|「三原の悪ふざけ」}}
   | 「三原の悪ふざけ」
   | {{font color|#933|「眠れない夜」}}
   | 「眠れない夜」
   | {{font color|#933|「やきもち」}}
   | 「やきもち」
}} }}</pre>
}}</pre>


'''Example of breaking a list to include non-numbered text'''
'''Example of breaking a list to include non-numbered text'''
Line 84: Line 82:
}}</div>
}}</div>


<pre>
{{Pre|width=25%|{{{{fcb|#4169e1|Track list}}
{{Track list|
   | {{font color|#933|「オフの日」}}
   | 「オフの日」
   | {{font color|#933|「家でしか見られない顔」}}
   | 「家でしか見られない顔」
   | {{font color|#933|「練習」}}
   | 「練習」
   | {{font color|#933|「番組アンケート」}}
   | 「番組アンケート」
   | {{font color|#933|「キスの息継ぎ」}}
   | 「キスの息継ぎ」
{{))}}
}}
::: ''' Story 2'''
::: ''' Story 2'''
{{Track list|start = 6
{{((}}{{fcb|#4169e1|Track list}}|{{fcb|#2e8b57|start}} {{=}} {{font color|#933|6}}
   | 「山瀬のヒヤヒヤ」
   | {{font color|#933|「山瀬のヒヤヒヤ」}}
   | 「三原の悪ふざけ」
   | {{font color|#933|「三原の悪ふざけ」}}
   | 「眠れない夜」
   | {{font color|#933|「眠れない夜」}}
   | 「やきもち」
   | {{font color|#933|「やきもち」}}
}}
}} }}
</pre>


: Note: You can indent the text (above example '''Story 2''') using the shown method or with the {{tl|space}} template. Just enter the number of spaces you would like to indent. Like: {{tji|space|15}}
: Note: You can indent the text (above example '''Story 2''') using the shown method or with the {{tl|space}} template. Just enter the number of spaces you would like to indent. Like: {{tji|space|15}}

Revision as of 22:18, 24 July 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. 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

  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

  1. 「オフの日」
  2. 「家でしか見られない顔」
  3. 「練習」
  4. 「番組アンケート」
  5. 「キスの息継ぎ」

                Story 2

  1. 「山瀬のヒヤヒヤ」
  2. 「三原の悪ふざけ」
  3. 「眠れない夜」
  4. 「やきもち」
{{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.

Template parameters

ParameterDescriptionTypeStatus
Startstart

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

Default
1
Stringoptional