Template:Vol/Documentation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 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: | 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 | ||
|- | |- | ||
| | | 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 <code>Volume 1</code> 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 [[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> | ||
{{ | {{Vol/Header}} | ||
{{ | {{Vol|image=|vol=|publisher=|release={{Release|JP=|US=}}|isbn={{ISBN|number}}}} | ||
|} | |} | ||
</pre> | </pre> | ||
Line 26: | Line 38: | ||
===Examples=== | ===Examples=== | ||
<pre> | <pre> | ||
{{ | {{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}}}} | ||
|} | |} | ||
</pre> | </pre> | ||
{{ | {{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}}}} | ||
|} | |} | ||
<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) |
---|---|---|---|
Japan January 4, 2014 |
|||
Japan November 4, 2014 |