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: | 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 | ||
|- | |- | ||
| | | 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 the [[Template:Release|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> | ||
{{ | {{Volume List/Header}} | ||
{{ | {{Volume List|image=|vol=|publisher=|release=|isbn=}} | ||
|} | |} | ||
</pre> | </pre> | ||
Line 26: | Line 28: | ||
===Examples=== | ===Examples=== | ||
<pre> | <pre> | ||
{{ | {{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}} | ||
|} | |} | ||
</pre> | </pre> | ||
{{ | {{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}} | ||
|} | |} | ||
{{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.