Template:Vol/Documentation: Difference between revisions

Jump to navigation Jump to search
m (RustyVanBurace moved page Template:Book Vol List/Documentation to Template:Volume List/Documentation without leaving a redirect)
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:Book Vol 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: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.


==Usage==
==Usage==
Line 8: Line 8:
! Parameter !! Description
! Parameter !! Description
|-
|-
| 1 || The image cover of the volume and volume number. The cover must be displayed at 120px. A line break should also be inserted between the cover and volume number. Format: <code><nowiki>[[File:File name|120px]]{{clear}}Volume Number</nowiki></code>
| image || The file name of the volume's cover. The cover will automatically be displayed at 120px.
|-
|-
| 2 || The publisher(s) of the volume. If the volume has also been published outside of Japan, use the [[Template:Release|Release]] template.  
| vol || The volume's number. Unless it has a specific title, format this as <code>Volume 1</code> and so on.
|-
|-
| 3 || The release date of the volume. Use the Release template.
| publisher || The publisher(s) of the volume. If the volume has also been published outside of Japan, use the [[Template:Release|Release]] template.  
|-
|-
| 4 || The [[Wikipedia:ISBN|ISBN]]s (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.
| release || The release date of the volume. Use the Release template.
|-
| isbn || The [[Wikipedia:ISBN|ISBN]]s (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===
===Code===
<pre>
<pre>
{{Book Volume List/Header}}
{{Volume List/Header}}
{{Book Vol List|[[File:File name|120px]]{{clear}}Volume Number|2|3|4}}
{{Volume List|image=|vol=|publisher=|release=|isbn=}}
|}
|}
</pre>
</pre>
Line 26: Line 28:
===Examples===
===Examples===
<pre>
<pre>
{{Book Vol List/Header}}
{{Volume List/Header}}
{{Book Vol List|[[File:SMT4DG Vol1 Cover.jpg|120px]]{{clear}}Volume 1|Shueisha|{{Release|JP=January 4, 2014}}|ISBN-13: 978-4088708997}}
{{Volume List|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn=ISBN-13: 978-4088708997}}
{{Book Vol List|[[File:SMT4DG Vol2 Cover.jpg|120px]]{{clear}}Volume 2|Shueisha|{{Release|JP=November 4, 2014}}|ISBN-13: 978-4088801865}}
{{Volume List|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn=ISBN-13: 978-4088801865}}
|}
|}
</pre>
</pre>


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

{{Volume List/Header}}
{{Volume List|image=|vol=|publisher=|release=|isbn=}}
|}

Examples

{{Volume List/Header}}
{{Volume List|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}}
|}

Template:Volume List/Header Template:Volume List Template:Volume List |}


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