Template:Vol: Difference between revisions

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search
Content deleted Content added
Color assignment now uses style instead of class (this should fix some colors being incompatible with the template)
mNo edit summary
Line 3: Line 3:
<div class="volumeTableHead">
<div class="volumeTableHead">
{{#if:{{{Vol|}}}|<div class="diamond volumeTableNumber {{#if:{{{Title|}}}||noTitle}}" style="background-color:{{Color|{{{Part|PB}}}3}};">{{#ifeq:{{{Link|}}}|False|'''{{{Type|Volume}}}''' '''{{{Vol|1}}}'''{{#if:{{{Vol2|}}}|&nbsp;'''({{{Vol2|}}})'''}}|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|'''{{{Type|Volume}}}''' '''{{{Vol|1}}}''']]{{#if:{{{Vol2|}}}|&nbsp;'''({{{Vol2|}}})'''}}}}</div>}}
{{#if:{{{Vol|}}}|<div class="diamond volumeTableNumber {{#if:{{{Title|}}}||noTitle}}" style="background-color:{{Color|{{{Part|PB}}}3}};">{{#ifeq:{{{Link|}}}|False|'''{{{Type|Volume}}}''' '''{{{Vol|1}}}'''{{#if:{{{Vol2|}}}|&nbsp;'''({{{Vol2|}}})'''}}|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|'''{{{Type|Volume}}}''' '''{{{Vol|1}}}''']]{{#if:{{{Vol2|}}}|&nbsp;'''({{{Vol2|}}})'''}}}}</div>}}
<div class="diamond volumeTableTitle {{#if:{{{JPTitle|}}}||volumeTableTitle2}}" style="background-color:{{Color|{{{Part|PB}}}}};">{{#ifeq:{{{Link|}}}|False|{{#if:{{{Title|}}}|{{{Title|}}}<br />}}
<div class="diamond volumeTableTitle {{#if:{{{JPTitle|}}}||volumeTableTitle2}}" style="background:{{Color|{{{Part|PB}}}}};">{{#ifeq:{{{Link|}}}|False|{{#if:{{{Title|}}}|{{{Title|}}}<br />}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo8|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|{{#if:{{{Title|}}}|{{{Title|}}}<br />}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo8|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|{{#if:{{{Title|}}}|{{{Title|}}}<br />}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo8|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}]]}}{{#if:{{{Title|}}}|<span class="boxAnchorLink">[[File:{{{Part|Default}}}Symbol.png|link=#{{#ifeq:{{{Link|}}}|False|{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}}}|Link to this section]]</span>}}</div>
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo8|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}]]}}{{#if:{{{Title|}}}|<span class="boxAnchorLink">[[File:{{{Part|Default}}}Symbol.png|link=#{{#ifeq:{{{Link|}}}|False|{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}}}|Link to this section]]</span>}}</div>

Revision as of 04:02, 16 May 2022

Usage

{{Vol
|Part     =
|Vol      =
|Title    =
|JPTitle  =
|Romaji   =
|Image    =
|Image2   =
|ImageN   =
|Image2N  =
|Date     =
|ISBN     =
|Type1    =
|Type2    =
|Total    =
|Total2   =
|Tabs     =
|Start    =
|Start2   =
|C1-1     =
|C1-2     =
|C2-1     =
|C2-2     =
}}
  • ImageN and Image2N are the names for the image tabs in case they aren't "Front" and "Back".
  • Type1 and Type2 are the tab names above the chapter list. It can be set to Bunkoban, Tankobon, WSJ, WSJT, or UJ. WSJT is "Weekly Shonen Jump & Tankobon". Type2 is for the second tab.
  • Total is for the total number of chapters in the volume. Total2 is for the second tab.
  • Tabs is if you need two tab. Set it to 2 if you do.
  • C1-1 is for the first tab of chapters and C2-1 is for the second tab.
  • Start determines what number the chapter list will start from. Start2 is for the second tab.
    • Replace -1 with the chapter # (C1-2, C1-3, etc.). They can up go to any number.

Preview

Default

{{Vol
|Title   = Dio the Invader
|JPTitle = 侵略者ディオ
|Romaji  = Shinryakusha Dio
|Date    = August 10, 1987
|ISBN    = 9784088511269
|Total   = 3
|C1-1    = {{Nihongo|{{Ch2|Chapter 1}}|プロローグ|Purorōgu}}
|C1-2    = {{Nihongo|{{Ch2|Chapter 2}}|侵略者ディオ・ブランドー その①|Shinryakusha Dio Burandō Sono 1}}
|C1-3    = {{Nihongo|{{Ch2|Chapter 3}}|侵略者ディオ・ブランドー その②|Shinryakusha Dio Burandō Sono 2}}
}}
[[ Volume 1|Dio the Invader
Template:Nihongo8]]Link to this section
Release Date
ISBN
Japan August 10, 1987
Chapter Titles
  1. Prologue (プロローグ, Purorōgu)
  2. Dio Brando the Invader, Part 1 (侵略者ディオ・ブランドー その①, Shinryakusha Dio Burandō Sono 1)
  3. Dio Brando the Invader, Part 2 (侵略者ディオ・ブランドー その②, Shinryakusha Dio Burandō Sono 2)

With tabs

{{Vol
|Part     = PB
|Vol      = 1
|Title    = Dio the Invader
|JPTitle  = 侵略者ディオ
|Romaji   = Shinryakusha Dio
|Date     = August 10, 1987<ref>[http://books.shueisha.co.jp/CGI/search/syousai_put.cgi?isbn_cd=978-4-08-851126-3 ジョジョの奇妙な冒険  1]</ref>
|ISBN     = 9784088511269
|Image    = [[File:Volume 1.jpg|70px]]
|Image2   = [[File:Volume 1 Back.jpg|70px]]
|Total    = 8
|Total2   = 8
|Tabs     = 2
|Start    = 1
|Start2   = 1
|C1-1     = {{Nihongo|{{Ch2|Chapter 1}}|プロローグ|Purorōgu}}
|C1-2     = {{Nihongo|{{Ch2|Chapter 2}}|侵略者ディオ・ブランドー その①|Shinryakusha Dio Burandō Sono 1}}
|C1-3     = {{Nihongo|{{Ch2|Chapter 3}}|侵略者ディオ・ブランドー その②|Shinryakusha Dio Burandō Sono 2}}
|C1-4     = {{Nihongo|{{Ch2|Chapter 4}}|侵略者ディオ・ブランドー その③|Shinryakusha Dio Burandō Sono 3}}
|C1-5     = {{Nihongo|{{Ch2|Chapter 5}}|侵略者ディオ・ブランドー その④|Shinryakusha Dio Burandō Sono 4}}
|C1-6     = {{Nihongo|{{Ch2|Chapter 6}}|過去からの手紙 その①|Kako kara no Tegami Sono 1}}
|C1-7     = {{Nihongo|{{Ch2|Chapter 7}}|過去からの手紙 その②|Kako kara no Tegami Sono 2}}
|C1-8     = {{Nihongo|{{Ch2|Chapter 8}}|石仮面 その①|Ishi Kamen Sono 1}}
|C2-1     = {{Nihongo|Dio the Invader|侵略者ディオ|Shinryakusha Dio}}
|C2-2     = {{Nihongo|A New Friend!|新しき友人!|Atarashiki Yūjin!}}
|C2-3     = {{Nihongo|Beloved Erina|愛しのエリナ|Itoshino Erina}}
|C2-4     = {{Nihongo|Mustn't Lose|負けられない戦い|Makerarenai Tatakai}}
|C2-5     = {{Nihongo|Danny in Flames|炎のダニー|Honō no Danī}}
|C2-6     = {{Nihongo|A Letter from the Past|過去からの手紙|Kako kara no Tegami}}
|C2-7     = {{Nihongo|A Vow to Father|父への誓い|Chichi e no Chikai}}
|C2-8     = {{Nihongo|The Battle on Ogre Street|{{Ruby|食屍鬼街|オウガーストリート}}の戦い|Ōgā Sutorīto no Tatakai}}
}}
[[PB Volume 1|Dio the Invader
Template:Nihongo8]]Link to this section
Release Date
ISBN
Japan August 10, 1987
Chapter Titles
  1. Prologue (プロローグ, Purorōgu)
  2. Dio Brando the Invader, Part 1 (侵略者ディオ・ブランドー その①, Shinryakusha Dio Burandō Sono 1)
  3. Dio Brando the Invader, Part 2 (侵略者ディオ・ブランドー その②, Shinryakusha Dio Burandō Sono 2)
  4. Dio Brando the Invader, Part 3 (侵略者ディオ・ブランドー その③, Shinryakusha Dio Burandō Sono 3)
  5. Dio Brando the Invader, Part 4 (侵略者ディオ・ブランドー その④, Shinryakusha Dio Burandō Sono 4)
  6. A Letter from the Past, Part 1 (過去からの手紙 その①, Kako kara no Tegami Sono 1)
  7. A Letter from the Past, Part 2 (過去からの手紙 その②, Kako kara no Tegami Sono 2)
  8. The Stone Mask, Part 1 (石仮面 その①, Ishi Kamen Sono 1)

With no title or chapters

{{Vol
|Date   = August 10, 1987
|ISBN   = 9784088511269
}}
Release Date
ISBN
Japan August 10, 1987

No chapters available