Template:Chapter List/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:Chapter List/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Text replacement - "{{Documentation Footer}}" to "<noinclude>Category:Template Documentation</noinclude>")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Purpose==
==Purpose==
Used to create tables for listing chapters of a book or manga. [[Template:Chapter List/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line.
Used to create tables for listing chapters of a book or manga. [[Template:Chapter List/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line.
If a book or manga has been officially localized in English, use [[Template:Chapter List EN]] instead.


==Usage==
==Usage==
Line 10: Line 12:
| ch || The chapter number.
| ch || The chapter number.
|-
|-
| title || The title of the chapter.
| title || The Japanese title of the chapter.
|-
| transl || A direct translation or transliteration of the title.
|-
|-
| descr || A '''brief''' summary of the chapter.  
| descr || A '''brief''' summary of the chapter. No more than a small paragraph long.
|}
|}


Line 18: Line 22:
<pre>
<pre>
{{Chapter List/Header}}
{{Chapter List/Header}}
{{Chapter List|ch=|title=|descr=}}
{{Chapter List|ch=|title=|transl=|descr=}}
|}
|}
</pre>
</pre>
{{Documentation Footer}}
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 03:40, 10 October 2023

Purpose

Used to create tables for listing chapters of a book or manga. Template:Chapter List/Header is placed at the top of the table, and the table must be closed by appending |} on the following line.

If a book or manga has been officially localized in English, use Template:Chapter List EN instead.

Usage

Parameter Description
ch The chapter number.
title The Japanese title of the chapter.
transl A direct translation or transliteration of the title.
descr A brief summary of the chapter. No more than a small paragraph long.

Code

{{Chapter List/Header}}
{{Chapter List|ch=|title=|transl=|descr=}}
|}