Template:Graphic novel list/headerofja
外观
卷數 | 發售日期 | ISBN |
---|
![]() | 本模板含有複雜而精密的扩展语法。 編輯本模板前,建議您先熟悉解析器函數与本模板的设计思路、运作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行測試。 |
Usage
[编辑]This template is part of a family of templates, and should be used in conjunction with {{Graphic novel list/header}} and {{Graphic novel list/footer}}, like so:
{{Graphic novel list/header | parameter = value }} {{Graphic novel list | parameter = value }} {{Graphic novel list/footer}}
Parameters
[编辑]Parameter | Use |
---|---|
{{Graphic novel list/header}} All of this template's parameters are optional. | |
譯本 | Values: "yes" (case-sensitive) When this parameter is set to "yes", this template will produce a three- or four-column view, ideal for displaying information when only the original language has a release. Setting this to anything else or omitting it entirely will produce a four- or five-column view, ideal for displaying information about original-language and licensed-language releases. |
語言 | Values: any This is the language of origin. In three-column views, this defaults to nothing; in five-column views, this defaults to "Original". |
語言2 | Values: any This is the licensed language. This displays only in five-column views, where it defaults to "English". |
寬度 | Values: an integer number greater than zero or a percentage from 0% to 100% Determines the 寬度 of the table. Defaults to "98%". |
顏色 | Values: a hex color value of the form "RGB" or "RRGGBB" To separate the header from the main body of the table, a three-pixel colored border is added to the bottom; this determines the color of the border. Defaults to "CCF". |
顯示標題 | Values: "yes" (case-sensitive) When this parameter is set to "yes", this template will produce a four-column view, ideal for displaying information when the individual volumes have names. Setting this to anything else or omitting it entirely will produce a three- or five-column view, ideal for displaying information about volumes without names. |
Clear | Values: "no" When this parameter is set, this template will not automatically clear floating tables and divs (this effect can also be achieved by setting a custom 寬度). |
{{Graphic novel list}} | |
集數 VolumeNumber |
Values: any valid HTML ID (A-Z, a-z, 0-9, _, -, :, .), usually numeric A volume number. This parameter also creates an HTML anchor which can be linked to from other pages, prefixed with "vol"; for example, [[List of chapters#vol01]] .
|
系列 (Optional) |
Values: any valid HTML ID A non-printing parameter which is prefixed to the HTML anchor ID defined by 集數; for example, if defined as "alt" with a 集數 of "02", the anchor becomes "#altvol02". |
發售日期 發售日期1 OriginalRelDate (Optional) |
Values: any, usually a date The release date of the original-language work. Both parameters define the same thing. If more than one release date is necessary, separate each with <br /> .
|
發售日期2 (Optional) |
Values: any, usually a date The release date of the licensed-language work. If more than one release date is necessary, separate each with <br /> .If both 發售日期2 and ISBN2 are emtpy, the template will yield output appropriate for one-language view. Manually insert em-dashes (—) to overcome this, if a two-language view is desired. |
ISBN ISBN1 OriginalISBN (Optional) |
Values: a valid ISBN-10 or ISBN-13 number The ISBN of the original-language work. This should be only the number; the template prefixes ISBN automatically, to link it with Special:Booksources. If more than one ISBN is necessary, separate each with <br /> and add "ISBN" to all but the first.
|
ISBN2 (Optional) |
Values: a valid ISBN-10 or ISBN-13 number The ISBN of the licensed-language work. As with ISBN/ISBN1, this should only be the number, unless more than one ISBN is present. If both 發售日期2 and ISBN2 are emtpy, the template will yield output appropriate for one-language view. Manually insert em-dashes (—) to overcome this, if a two-language view is desired. |
ChapterList ChapterListCol1 (Optional) |
Values: a formatted list of chapters A list of chapters from the volume, with specific chapter names in quotation marks. If ChapterListCol2 is defined, this will occupy just over half its row; otherwise, it will occupy an entire row. |
ChapterListCol2 (Optional) |
Values: a formatted list of chapters A second list of chapters from the volume, with specific chapter names in quotation marks. If ChapterList or ChapterListCol1 is defined, this will occupy just under half its row; otherwise, it will not be displayed. |
摘要 (Optional) |
Values: any A 摘要 of the volume. Occupies an entire row. |
顏色 (Optional) |
Values: a hex color value of the form "RGB" or "RRGGBB" In a table containing a chapter list and/or a 摘要, three-pixel colored borders are added to the bottoms of individual volume releases to separate them; this determines the color of the border. Defaults to "CCF". |
標題1 OriginalTitle (Optional) |
Values: any The original language title of the volume. Use only if transliteration is required. If all title parameters are empty, the template will yield output appropriate for three- or four-column view. |
轉寫標題 TranslitTitle (Optional) |
Values: any The original language title of the volume, transliterated if necessary. If all title parameters are empty, the template will yield output appropriate for three- or four-column view. |
標題 標題2 LicensedTitle (Optional) |
Values: any The title of the volume in its licensed release. If all title parameters are empty, the template will yield output appropriate for three- or four-column view. |
SublistOf (Optional) |
Values: any If this matches the name of the page the table is displayed on, for example through transclusion, chapter lists and summaries are hidden. |
{{Graphic novel list/footer}} This template has no parameters. |
Examples
[编辑]One language without titles
[编辑]- Basic use
{{Graphic novel list/header | 譯本 = yes }} {{Graphic novel list | 集數 = 00 | 發售日期 = December 31, 1969 | ISBN = 9784000000000 }} {{Graphic novel list/footer}}
卷数 | 发售日期 | ISBN |
---|---|---|
00 | December 31, 1969 | 9784000000000 |
- All parameters filled in
{{Graphic novel list/header | 譯本 = yes | 語言 = 英語版 | 寬度 = 80% | 顏色 = FCC }} {{Graphic novel list | 集數 = 00 | 發售日期 = December 12, 2012 | ISBN = 9781000000009 | ChapterListCol1 = * 001. "Former Part" | ChapterListCol2 = * 002. "Latter Part" | 摘要 = The story was moved forward and characters were developed. | 顏色 = FCC }} {{Graphic novel list/footer}}
卷数 | 英語版发售日期 | 英語版ISBN | ||
---|---|---|---|---|
00 | December 12, 2012 | 9781000000009 | ||
| ||||
The story was moved forward and characters were developed. |
Two languages without titles
[编辑]- Basic use
{{Graphic novel list/header}} {{Graphic novel list | 集數 = 00 | 發售日期1 = December 31, 1969 | ISBN1 = 9784000000000 | 發售日期2 = December 12, 2012 | ISBN2 = 9781000000009 }} {{Graphic novel list/footer}}
卷数 | 原版發售日期 | 原版ISBN | 中文版發售日期 | 中文版ISBN |
---|---|---|---|---|
00 | December 31, 1969 | 9784000000000 | December 12, 2012 | — |
- All parameters filled in
{{Graphic novel list/header | 語言 = 日本 | 語言2 = 北美版 | 寬度 = 80% | 顏色 = FCC }} {{Graphic novel list | 集數 = 00 | 發售日期1 = December 31, 1969 | ISBN1 = 9784000000000 | 發售日期2 = December 12, 2012 | ISBN2 = 9781000000009 | ChapterListCol1 = * 001. {{nihongo|"Former Part"|前編|"Zenpen"}} | ChapterListCol2 = * 002. {{nihongo|"Latter Part"|後編|"Kōhen"}} | 摘要 = The story was moved forward and characters were developed. | 顏色 = FCC }} {{Graphic novel list/footer}}
卷数 | 日本發售日期 | 日本ISBN | 北美版發售日期 | 北美版ISBN | ||
---|---|---|---|---|---|---|
00 | December 31, 1969 | 9784000000000 | December 12, 2012 | — | ||
| ||||||
The story was moved forward and characters were developed. |
One language with titles
[编辑]- Basic use
{{Graphic novel list/header | 譯本 = yes | 顯示標題 = yes }} {{Graphic novel list | 集數 = 00 | 發售日期 = December 31, 1969 | ISBN = 9784000000000 | Title = Title }} {{Graphic novel list/footer}}
卷数 | 標題 | 发售日期 | ISBN |
---|---|---|---|
00 | Title | December 31, 1969 | 9784000000000 |
- All parameters filled in
{{Graphic novel list/header | 譯本 = yes | 顯示標題 = yes | 語言 = 日本 | 語言2 = 北美版 | 寬度 = 80% | 顏色 = FCC }} {{Graphic novel list | 集數 = 00 | 發售日期 = December 12, 2012 | ISBN = 9781000000009 | ChapterListCol1 = * 001. "Former Part" | ChapterListCol2 = * 002. "Latter Part" | 摘要 = The story was moved forward and characters were developed. | 顏色 = FCC | 標題 = Title }} {{Graphic novel list/footer}}
卷数 | 標題 | 日本发售日期 | 日本ISBN | ||
---|---|---|---|---|---|
00 | Title | December 12, 2012 | 9781000000009 | ||
| |||||
The story was moved forward and characters were developed. |
Two languages with titles
[编辑]- Basic use
{{Graphic novel list/header | 顯示標題 = yes }} {{Graphic novel list | 集數 = 00 | 發售日期1 = December 31, 1969 | ISBN1 = 9784000000000 | 發售日期2 = December 31, 1970 | ISBN2 = 9784000000001 | 標題1 = 原版標題 | 標題2 = 授權標題 }} {{Graphic novel list/footer}}
卷数 | 標題 | 原版發售日期 | 中文版發售日期 |
---|---|---|---|
00 | 授權標題 原版標題 | December 31, 1969 9784000000000 | December 31, 1970 9784000000001 {{ISBN}}参数错误:ISBN无效。 |
- All parameters filled in
{{Graphic novel list/header | 顯示標題 = yes | 語言 = 日本 | 語言2 = 北美版 | 寬度 = 80% | 顏色 = FCC }} {{Graphic novel list | 集數 = 00 | 發售日期1 = December 31, 1969 | ISBN1 = 9784000000000 | 發售日期2 = December 31, 1970 | ISBN2 = 9784000000001 | ChapterListCol1 = * 001. {{nihongo|"Former Part"|前編|"Zenpen"}} | ChapterListCol2 = * 002. {{nihongo|"Latter Part"|後編|"Kōhen"}} | 摘要 = The story was moved forward and characters were developed. | 顏色 = FCC | 標題1 = 原版標題 | 標題2 = 授權標題 | 轉寫標題 = 轉寫標題 }} {{Graphic novel list/footer}}
卷数 | 標題 | 日本發售日期 | 北美版發售日期 | ||
---|---|---|---|---|---|
00 | 授權標題 原版標題(轉寫標題) | December 31, 1969 9784000000000 | December 31, 1970 9784000000001 {{ISBN}}参数错误:ISBN无效。 | ||
| |||||
The story was moved forward and characters were developed. |
Notes
[编辑]- ISBNs may be given in either unhyphenated format (for example, 9781000000009) or hyphenated format (978-1-00-000000-9). If converting an unhyphenated ISBN to a hyphenated one, you can use the reference list of group and publisher numbers, provided by the International ISBN Agency, or one of several online converters.
- Apostrophes in the
|SublistOf=
parameter need to be replaced by'
due to a bug in the underlying software.
參見
[编辑]- {{Book list}}
- {{Serialization list}}
- {{Episode list}}
- {{Japanese episode list}}
- {{S-Japanese episode list}}
副模板沙盒
[编辑]上述文档嵌入自Template:Graphic novel list/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 本模板的子页面。 |