Template:Vol/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:Book Vol List/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(8 intermediate revisions by 2 users not shown)
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: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 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 [[Template:Release]].  
|-
|-
| 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 [[Template:Release]].
|-
| isbn || The volume's [[Wikipedia:ISBN|ISBN]]. Use [[Template:ISBN]] to link to its [[Special:BookSources]] page.
 
If the volume has also been published outside of Japan and has different ISBNs, use [[Template:Release]] to list each ISBN.
|}
|}


===Code===
===Code===
'''Minimal code'''
<pre>
{{Vol/Header}}
{{Vol|image=|vol=|publisher=|release=|isbn=}}
|}
</pre>
'''With Release and ISBN templates'''
<pre>
<pre>
{{Book Volume List/Header}}
{{Vol/Header}}
{{Book Vol List|[[File:File name|120px]]{{clear}}Volume Number|2|3|4}}
{{Vol|image=|vol=|publisher=|release={{Release|JP=|US=}}|isbn={{ISBN|number}}}}
|}
|}
</pre>
</pre>
Line 26: Line 38:
===Examples===
===Examples===
<pre>
<pre>
{{Book Vol List/Header}}
{{Vol/Header}}
{{Book Vol List|[[File:SMT4DG Vol1 Cover.jpg|120px]]{{clear}}Volume 1|Shueisha|{{Release|JP=January 4, 2014}}|ISBN-13: 978-4088708997}}
{{Vol|image=SMT4DG Vol1 Cover.jpg|vol=Volume 1|publisher=Shueisha|release={{Release|JP=January 4, 2014}}|isbn={{ISBN|978-4088708997}}}}
{{Book Vol List|[[File:SMT4DG Vol2 Cover.jpg|120px]]{{clear}}Volume 2|Shueisha|{{Release|JP=November 4, 2014}}|ISBN-13: 978-4088801865}}
{{Vol|image=SMT4DG Vol2 Cover.jpg|vol=Volume 2|publisher=Shueisha|release={{Release|JP=November 4, 2014}}|isbn={{ISBN|978-4088801865}}}}
|}
|}
</pre>
</pre>


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


{{Documentation Footer}}
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 16:55, 19 December 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 Template:Release.
release The release date of the volume. Use Template:Release.
isbn The volume's ISBN. Use Template:ISBN to link to its Special:BookSources page.

If the volume has also been published outside of Japan and has different ISBNs, use Template:Release to list each ISBN.

Code

Minimal code

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

With Release and ISBN templates

{{Vol/Header}}
{{Vol|image=|vol=|publisher=|release={{Release|JP=|US=}}|isbn={{ISBN|number}}}}
|}

Examples

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