Template:Vol/Documentation: Difference between revisions

Jump to navigation Jump to search
m (RustyVanBurace moved page Template:Volume List/Documentation to Template:Vol/Documentation without leaving a redirect: Shorter title.)
No edit summary
Line 1: Line 1:
==Purpose==
==Purpose==
Used to create tables for listing volumes on book or manga pages, using both a header template and multiple row templates. [[Template:Volume 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 volumes on book or manga pages, using both a header template and multiple row templates. [[Template:Vol/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line.


==Usage==
==Usage==
Line 21: Line 21:
===Code===
===Code===
<pre>
<pre>
{{Volume List/Header}}
{{Vol/Header}}
{{Volume List|image=|vol=|publisher=|release=|isbn=}}
{{Vol|image=|vol=|publisher=|release=|isbn=}}
|}
|}
</pre>
</pre>
Line 28: Line 28:
===Examples===
===Examples===
<pre>
<pre>
{{Volume List/Header}}
{{Vol/Header}}
{{Volume List|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn=ISBN-13: 978-4088708997}}
{{Vol|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn=ISBN-13: 978-4088708997}}
{{Volume List|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn=ISBN-13: 978-4088801865}}
{{Vol|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn=ISBN-13: 978-4088801865}}
|}
|}
</pre>
</pre>


{{Volume List/Header}}
{{Vol/Header}}
{{Volume List|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn=ISBN-13: 978-4088708997}}
{{Vol|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn=ISBN-13: 978-4088708997}}
{{Volume List|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn=ISBN-13: 978-4088801865}}
{{Vol|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn=ISBN-13: 978-4088801865}}
|}
|}


{{Documentation Footer}}
{{Documentation Footer}}

Revision as of 17:09, 14 September 2023

Purpose

Used to create tables for listing volumes on book or manga pages, using both a header template and multiple row templates. Template:Vol/Header is placed at the top of the table, and the table must be closed by appending |} on the following line.

Usage

Parameter Description
image The file name of the volume's cover. The cover will automatically be displayed at 120px.
vol The volume's number. Unless it has a specific title, format this as Volume 1 and so on.
publisher The publisher(s) of the volume. If the volume has also been published outside of Japan, use the Release template.
release The release date of the volume. Use the Release template.
isbn The ISBNs (ISBN-10 and/or ISBN-13) of the volume, appropriately labeled. If the volume has also been published outside of Japan, use the Release template.

Code

{{Vol/Header}}
{{Vol|image=|vol=|publisher=|release=|isbn=}}
|}

Examples

{{Vol/Header}}
{{Vol|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn=ISBN-13: 978-4088708997}}
{{Vol|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn=ISBN-13: 978-4088801865}}
|}
Volume Publisher(s) Release ISBN(s)
Volume 1
Shueisha
Japan January 4, 2014
ISBN-13: 978-4088708997
Volume 2
Shueisha
Japan November 4, 2014
ISBN-13: 978-4088801865


This is the template documentation page for Template:Vol. It should be transcluded onto the template page.