Difference between revisions of "Template:Graphic novel list/sublist/doc"

From blackwiki
Jump to navigation Jump to search
imported>Geg
(that appears to have broken its ability to transclude)
imported>Goodraise
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Graphic novel list/doc]]
{{intricate}}
 
==Usage==
 
This template is part of a family of templates, and should be used in conjunction with {{tl|Graphic novel list/header}} and {{tl|Graphic novel list/footer}}, like so:
 
<pre>{{Graphic novel list/header
 
| parameter = value
 
}}
 
{{Graphic novel list
 
| parameter = value
 
}}
 
{{Graphic novel list/footer}}</pre>
 
 
 
==Parameters==
 
{| class="wikitable" width="99%"
 
! style="text-align: center" | Parameter !! style="text-align: center" | Use
 
|-
 
| colspan="2" style="text-align: center; background: #F5F5F5" | {{tl|Graphic novel list/header}}<br /><small>All of this template's parameters are optional.<small>
 
|-
 
| OneLanguage
 
| '''Values:''' "yes" (case-sensitive)<br />When this parameter is set to "yes", this template will produce a three-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 five-column view, ideal for displaying information about original-language and licensed-language releases.  This parameter must also be added to transclusions of the body template if set; otherwise, the body will attempt to create five columns instead of three, resulting in mangled output.
 
|-
 
| Language
 
| '''Values:''' any<br />This is the language of origin.  In three-column views, this defaults to nothing; in five-column views, this defaults to "Original".
 
|-
 
| SecondLanguage
 
| '''Values:''' any<br />This is the licensed language. This displays only in five-column views, where it defaults to "English".
 
|-
 
| Width
 
| '''Values:''' an integer number greater than zero or a percentage from 0% to 100%<br />Determines the width of the table.  Defaults to "98%".
 
|-
 
| LineColor
 
| '''Values:''' a hex color value of the form "RGB" or "RRGGBB"<br />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".
 
|-
 
| colspan="2" style="text-align: center; background: #F5F5F5" | {{tl|Graphic novel list}}
 
|-
 
| VolumeNumber
 
| '''Values:''' any valid HTML ID (A-Z, a-z, 0-9, _, -, :, .), usually numeric<br />A volume number.  This parameter also creates an HTML anchor which can be linked to from other pages, prefixed with "vol"; for example, <code><nowiki>[[List of chapters#vol01]]</nowiki></code>.
 
|-
 
| Series<br /><small>(Optional)</small>
 
| '''Values:''' any valid HTML ID<br />A non-printing parameter which is prefixed to the HTML anchor ID defined by VolumeNumber; for example, if defined as "alt" with a VolumeNumber of "02", the anchor becomes "#altvol02".
 
|-
 
| OneLanguage
 
| '''Values:''' "yes" (case-sensitive)<br />This controls how many columns the template produces, and should match however it was defined in the header.
 
|-
 
| RelDate<br />OriginalRelDate
 
| '''Values:''' any, usually a date<br />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 <code><nowiki><br /></nowiki></code>.
 
|-
 
| LicensedRelDate
 
| '''Values:''' any, usually a date<br />The release date of the licensed-language work.  If more than one release date is necessary, separate each with <code><nowiki><br /></nowiki></code>.  This parameter only displays in the five-column view.
 
|-
 
| ISBN<br />OriginalISBN
 
| '''Values:''' a valid ISBN-10 or ISBN-13 number<br />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 <code><nowiki><br /></nowiki></code> and add "ISBN" to all but the first.
 
|-
 
| LicensedISBN
 
| '''Values:''' a valid ISBN-10 or ISBN-13 number<br />The ISBN of the licensed-language work.  As with ISBN/OriginalISBN, this should only be the number, unless more than one ISBN is present.  This parameter only displays in the five-column view.
 
|-
 
| ChapterList<br /><small>(Optional)</small>
 
| '''Values:''' a formatted list of chapters<br />A list of chapters from the volume, with specific chapter names in quotation marks.<br />If VolumeExtras is defined, this will occupy just over half its row; otherwise, it will occupy an entire row.
 
|-
 
| VolumeExtras<br /><small>(Optional)</small>
 
| '''Values:''' any<br />Any extra information about a volume, such as the title or a list of cover characters.<br />If ChapterList is defined, this will occupy just under half its row; otherwise, it will occupy an entire row.
 
|-
 
| Summary<br /><small>(Optional)</small>
 
| '''Values:''' any<br />A summary of the volume.<br />Occupies an entire row.
 
|-
 
| LineColor<br /><small>(Optional)</small>
 
| '''Values:''' a hex color value of the form "RGB" or "RRGGBB"<br />In a table containing more than just release information, 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".
 
|-
 
| colspan="2" style="text-align: center; background: #F5F5F5" | {{tl|Graphic novel list/footer}}<br /><small>This template has no parameters.<small>
 
|}
 
 
 
==Examples==
 
===Three-column view===
 
;Basic use
 
<pre>{{Graphic novel list/header
 
| OneLanguage = yes
 
}}
 
{{Graphic novel list
 
| OneLanguage    = yes
 
| VolumeNumber    = 00
 
| RelDate        = December 31, 1969
 
| ISBN            = 9784000000000
 
}}
 
{{Graphic novel list/footer}}</pre>
 
 
 
{{Graphic novel list/header
 
| OneLanguage = yes
 
}}
 
{{Graphic novel list
 
| OneLanguage    = yes
 
| VolumeNumber    = 00
 
| RelDate        = December 31, 1969
 
| ISBN            = 9784000000000
 
}}
 
{{Graphic novel list/footer}}
 
 
 
;All parameters filled in
 
<pre>{{Graphic novel list/header
 
| OneLanguage = yes
 
| Language    = English
 
| Width      = 80%
 
| LineColor  = FCC
 
}}
 
{{Graphic novel list
 
| OneLanguage    = yes
 
| VolumeNumber    = 00
 
| RelDate        = December 12, 2012
 
| ISBN            = 9781000000009
 
| ChapterList    =
 
* 001. "Former Part"
 
* 002. "Latter Part"
 
| VolumeExtras    =
 
;Cover character(s)
 
* Character 1
 
* Character 2
 
| Summary        = The story was moved forward and characters were developed.
 
| LineColor      = FCC
 
}}
 
{{Graphic novel list/footer}}</pre>
 
 
 
{{Graphic novel list/header
 
| OneLanguage = yes
 
| Language    = English
 
| Width      = 80%
 
| LineColor  = FCC
 
}}
 
{{Graphic novel list
 
| OneLanguage    = yes
 
| VolumeNumber    = 00
 
| RelDate        = December 12, 2012
 
| ISBN            = 9781000000009
 
| ChapterList    =
 
* 001. "Former Part"
 
* 002. "Latter Part"
 
| VolumeExtras    =
 
;Cover character(s)
 
* Character 1
 
* Character 2
 
| Summary        = The story was moved forward and characters were developed.
 
| LineColor      = FCC
 
}}
 
{{Graphic novel list/footer}}
 
 
 
===Five-column view===
 
;Basic use
 
<pre>{{Graphic novel list/header}}
 
{{Graphic novel list
 
| VolumeNumber    = 00
 
| OriginalRelDate = December 31, 1969
 
| OriginalISBN    = 9784000000000
 
| LicensedRelDate = December 12, 2012
 
| LicensedISBN    = 9781000000009
 
}}
 
{{Graphic novel list/footer}}</pre>
 
 
 
{{Graphic novel list/header}}
 
{{Graphic novel list
 
| VolumeNumber    = 00
 
| OriginalRelDate = December 31, 1969
 
| OriginalISBN    = 9784000000000
 
| LicensedRelDate = December 12, 2012
 
| LicensedISBN    = 9781000000009
 
}}
 
{{Graphic novel list/footer}}
 
 
 
;All parameters filled in
 
<pre>{{Graphic novel list/header
 
| Language      = Japanese
 
| SecondLanguage = North American
 
| Width          = 80%
 
| LineColor      = FCC
 
}}
 
{{Graphic novel list
 
| VolumeNumber    = 00
 
| OriginalRelDate = December 31, 1969
 
| OriginalISBN    = 9784000000000
 
| LicensedRelDate = December 12, 2012
 
| LicensedISBN    = 9781000000009
 
| ChapterList    =
 
* 001. {{nihongo|"Former Part"|前編|"Zenpen"}}
 
* 002. {{nihongo|"Latter Part"|後編|"Kōhen"}}
 
| VolumeExtras    =
 
;Cover character(s)
 
* Character 1
 
* Character 2
 
| Summary        = The story was moved forward and characters were developed.
 
| LineColor      = FCC
 
}}
 
{{Graphic novel list/footer}}</pre>
 
 
 
{{Graphic novel list/header
 
| Language      = Japanese
 
| SecondLanguage = North American
 
| Width          = 80%
 
| LineColor      = FCC
 
}}
 
{{Graphic novel list
 
| VolumeNumber    = 00
 
| OriginalRelDate = December 31, 1969
 
| OriginalISBN    = 9784000000000
 
| LicensedRelDate = December 12, 2012
 
| LicensedISBN    = 9781000000009
 
| ChapterList    =
 
* 001. {{nihongo|"Former Part"|前編|"Zenpen"}}
 
* 002. {{nihongo|"Latter Part"|後編|"Kōhen"}}
 
| VolumeExtras    =
 
;Cover character(s)
 
* Character 1
 
* Character 2
 
| Summary        = The story was moved forward and characters were developed.
 
| LineColor      = FCC
 
}}
 
{{Graphic novel list/footer}}
 
 
 
==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 [http://www.isbn-international.org/converter/ranges.htm reference list of group and publisher numbers], provided by the International ISBN Agency, or one of several [http://www.bisg.org/isbn-13/converters.html online converters].
 
 
 
If you're having trouble making a one-language list, the {{para|OneLanguage|yes}} parameter needs to be not only in the header, but also in every volume's code.  (e.g. [http://en.wikipedia.org/w/index.php?title=List_of_Psyren_chapters&oldid=273847255 List of Psyren chapters] )
 
<includeonly>
 
[[Category:Anime and manga templates|{{PAGENAME}}]]
 
[[Category:Comic book inline templates|{{PAGENAME}}]]
 
 
 
</includeonly>
 

Latest revision as of 09:57, 17 October 2009