Template:Vol: Difference between revisions

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 3: Line 3:
<div class="volumeTableHead">
<div class="volumeTableHead">
{{#if:{{{Vol|}}}
{{#if:{{{Vol|}}}
|<div class="diamond volumeTableNumber {{#if:{{{Title|}}}||noTitle}}" style="background-color:{{#ifeq:{{{Part|}}}|PBBT|{{Color|PB3}}|{{Color|{{{Part|PB}}}3}}}};">{{#ifeq:{{{Link|}}}|False
|<div class="diamond volumeTableNumber {{#if:{{{Title|}}}||noTitle}}" style="background-color:{{#switch:{{{Part|}}}|PBBT={{Color|PB3}}|BTSC={{Color|BT3}}|DUVA={{Color|DU3}}|#default={{Color|{{{Part|PB}}}3}}}};">{{#ifeq:{{{Link|}}}|False
|'''{{{Type|Volume}}}''' '''{{{Vol|1}}}'''{{#if:{{{Vol2|}}}|&nbsp;'''({{{Vol2|}}})'''}}
|'''{{{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>}}
|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|'''{{{Type|Volume}}}''' '''{{{Vol|1}}}''']]{{#if:{{{Vol2|}}}|&nbsp;'''({{{Vol2|}}})'''}}}}</div>}}
<div class="diamond volumeTableTitle {{#if:{{{JPTitle|}}}||volumeTableTitle2}} {{#ifeq:{{{Part|}}}|PBBT|PBBTTitle}}" style="background-color:{{Color|{{{Part|PB}}}}};"}};>
<div class="diamond volumeTableTitle {{#if:{{{JPTitle|}}}||volumeTableTitle2}} {{#switch:{{{Part|}}}|PBBT=PBBTTitle|BTSC=BTSCTitle|DUVA=DUVATitle}}" style="background-color:{{Color|{{{Part|PB}}}}};"}};>
{{#ifeq:{{{Link|}}}|False
{{#ifeq:{{{Link|}}}|False
|{{#if:{{{Title|}}}|{{{Title|}}}<br/>}}
|{{#if:{{{Title|}}}|{{{Title|}}}<br/>}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo|type1=J|type2=R|noParenthesis=true|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo|type1=J|noParenthesis=true|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}
|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|{{#if:{{{Title|}}}|{{{Title|}}}<br/>}}
|[[{{#ifeq:{{{PartLink|}}}|False||{{{Part|}}}&nbsp;}}Volume {{{Vol|1}}}|{{#if:{{{Title|}}}|{{{Title|}}}<br/>}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo|type1=J|type2=R|noParenthesis=true|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}]]}}
{{#if:{{{Title2|}}}{{{JPTitle|}}}|{{{Title2|{{Nihongo|type1=J|noParenthesis=true|{{{JPTitle|}}}|{{{Romaji|}}}}}}}}}}]]}}
{{#if:{{{Title|}}}|<span class="boxAnchorLink">[[File:{{{Part|Default}}}Symbol.png|link=#{{#ifeq:{{{Link|}}}|False|Volume {{{Vol|1}}}|{{#ifeq:{{{PartLink|}}}|False|Volume {{{Vol|1}}}|{{{Part|}}}&nbsp;Volume {{{Vol|1}}}}}}}|Link to this section]]</span>}}</div>
{{#if:{{{Title|}}}|<span class="boxAnchorLink">[[File:{{{Part|Default}}}Symbol.png|link=#{{#ifeq:{{{Link|}}}|False|Volume {{{Vol|1}}}|{{#ifeq:{{{PartLink|}}}|False|Volume {{{Vol|1}}}|{{{Part|}}}&nbsp;Volume {{{Vol|1}}}}}}}|Link to this section]]</span>}}</div>
</div>
</div>
</div>
</div>
<div class="volumeTableBottom">
<div class="volumeTableBottom">
{{#if:{{{Image|}}}|<div class="volumeTableImage diamond" style="background-color:{{#ifeq:{{{Part|}}}|PBBT|{{Color|PB4}}|{{Color|{{{Part|PB}}}4}}}}; min-width:{{{IWidth|150px}}};">{{#if:{{{Image2|}}}|
{{#if:{{{Image|}}}|<div class="volumeTableImage diamond" style="background-color:{{#switch:{{{Part|}}}|PBBT={{Color|PB4}}|BTSC={{Color|BT4}}|DUVA={{Color|DU4}}|#default={{Color|{{{Part|PB}}}4}}}}; min-width:{{{IWidth|150px}}};">{{#if:{{{Image2|}}}|
{{Tabber
{{#tag:tabber|
{{{ImageN|Front}}}={{{Image|[[File:Volume {{{Vol|1}}}.jpg|150px]]}}}
|Tab1={{{ImageN|Front}}}|Content1={{{Image|[[File:Volume {{{Vol|1}}}.jpg|150px]]}}}
|Tab2={{{Image2N|Back}}}|Content2={{{Image2|[[File:Volume {{{Vol|1}}} Back.jpg|150px]]}}}<!--
{{!}}-{{!}}
{{{Image2N|Back}}}={{{Image2|[[File:Volume {{{Vol|1}}} Back.jpg|150px]]}}}<!--
-->|Tab3={{#if:{{{Image3|}}}|{{{Image3N|3rd}}}}}|Content3={{#if:{{{Image3|}}}|{{{Image3|}}}}}<!--
-->{{#if:{{{Image3|}}}|{{!}}-{{!}}
-->|Tab4={{#if:{{{Image4|}}}|{{{Image4N|4th}}}}}|Content4={{#if:{{{Image4|}}}|{{{Image4|}}}}}
{{{Image3N|3rd}}}={{{Image3|}}}}}<!--
-->{{#if:{{{Image4|}}}|{{!}}-{{!}}
{{{Image4N|4th}}}={{{Image4|}}}}}
}}
}}
|{{{Image|[[File:Volume {{{Vol|1}}}.jpg|150px]]}}}
|{{{Image|[[File:Volume {{{Vol|1}}}.jpg|150px]]}}}
Line 32: Line 29:
{{#if:{{{Date|}}}{{{ISBN|}}}|<div class="volumeTableInfo">
{{#if:{{{Date|}}}{{{ISBN|}}}|<div class="volumeTableInfo">
<div class="volumeTableRow">
<div class="volumeTableRow">
<div class="volumeTableHeading volumeTableCell" style="background-color:{{#ifeq:{{{Part|}}}|PBBT|{{Color|PB2}}|{{Color|{{{Part|PB}}}2}}}};">'''Release Date'''</div>
<div class="volumeTableHeading volumeTableCell" style="background-color:{{#switch:{{{Part|}}}|PBBT={{Color|PB2}}|BTSC={{Color|BT2}}|DUVA={{Color|DU2}}|#default={{Color|{{{Part|PB}}}2}}}};">'''Release Date'''</div>
{{#if:{{{NoISBN|}}}||<div class="volumeTableHeading volumeTableCell" style="background-color:{{#ifeq:{{{Part|}}}|PBBT|{{Color|PB2}}|{{Color|{{{Part|PB}}}2}}}};">'''ISBN'''</div>}}
{{#if:{{{NoISBN|}}}||<div class="volumeTableHeading volumeTableCell" style="background-color:{{#switch:{{{Part|}}}|PBBT={{Color|PB2}}|BTSC={{Color|BT2}}|DUVA={{Color|DU2}}|#default={{Color|{{{Part|PB}}}2}}}};">'''ISBN'''</div>}}
</div>
</div>
<div class="volumeTableRow">
<div class="volumeTableRow">
Line 40: Line 37:
</div></div>}}
</div></div>}}
<div class="volumeTableHeadings">
<div class="volumeTableHeadings">
<div class="volumeTableHeading volumeTableChTitles {{#ifeq:{{{Part|}}}|PBBT|PBBTChTitles}}" style="background-color:{{Color|{{{Part|PB2}}}}};">'''{{{Title3|Chapter Titles}}}'''</div>
<div class="volumeTableHeading volumeTableChTitles {{#switch:{{{Part|}}}|PBBT=PBBTChTitles|BTSC=BTSCChTitles|DUVA=DUVAChTitles}}" style="background-color:{{Color|{{{Part|PB2}}}}};">'''{{{Title3|Chapter Titles}}}'''</div>
</div>
</div>
<div class="volumeTableChapters">
<div class="volumeTableChapters">
{{#ifeq:{{{Tabs|}}}|2|
{{#ifeq:{{{Tabs|}}}|2|
<div class="volumeTableRow">
<div class="volumeTableRow">
{{Tabber
{{#tag:tabber|
{{#switch:{{{Type1|Bunkoban}}}|Bunkoban=Bunkoban|Tankobon=Tankōbon|WSJ=Weekly Shonen Jump|WSJT=Weekly Shonen Jump & Tankōbon|UJ=Ultra Jump|#default={{{Type1}}}}} Titles=
|Tab1={{#switch:{{{Type1|Revised}}}|Revised=Revised|Bunkoban=Bunkoban|Tankobon=Tankōbon|WSJ=Weekly Shonen Jump|WSJT=Weekly Shonen Jump & Tankōbon|UJ=Ultra Jump|#default={{{Type1}}}}} Titles|Content1=
<div class="volumeTableChList {{#ifeq:{{{Scroll|}}}|True|volumeTableScroll}}">
<div class="volumeTableChList {{#ifeq:{{{Scroll|}}}|True|volumeTableScroll}}">
{{#ifeq:{{{NoNumbers|}}}|True|
{{#ifeq:{{{NoNumbers|}}}|True|
Line 53: Line 50:
</ul>
</ul>
{{#if: {{{ExCh|}}} | ;Extra Chapter:<ul><li> {{{ExCh}}} </li></ul>}}
{{#if: {{{ExCh|}}} | ;Extra Chapter:<ul><li> {{{ExCh}}} </li></ul>}}
</div>
{{!}}-{{!}}
{{#switch:{{{Type2|WSJT}}}|Bunkoban=Bunkoban|Tankobon=Tankōbon|WSJ=Weekly Shonen Jump|WSJT=Weekly Shonen Jump & Tankōbon|UJ=Ultra Jump|#default={{{Type2}}}}} Titles=
<div class="volumeTableChList {{#ifeq:{{{Scroll|}}}|True|volumeTableScroll}}">
<ul>
{{#for:{{{Total2}}}|<li>{{{C2-$n$}}}</li>}}
</ul>
|
|
<ol start="{{{Start|1}}}">
<ol start="{{{Start|1}}}">
Line 65: Line 55:
</ol>
</ol>
{{#if: {{{ExCh|}}} | ;Extra Chapter:<ol start="{{{ExNo|}}}"><li> {{{ExCh}}} </li></ol>}}
{{#if: {{{ExCh|}}} | ;Extra Chapter:<ol start="{{{ExNo|}}}"><li> {{{ExCh}}} </li></ol>}}
}}
</div>
</div>
|Tab2={{#switch:{{{Type2|WSJT}}}|Revised=Revised|Bunkoban=Bunkoban|Tankobon=Tankōbon|WSJ=Weekly Shonen Jump|WSJT=Weekly Shonen Jump & Tankōbon|UJ=Ultra Jump|#default={{{Type2}}}}} Titles|Content2=
{{!}}-{{!}}
{{#switch:{{{Type2|WSJT}}}|Bunkoban=Bunkoban|Tankobon=Tankōbon|WSJ=Weekly Shonen Jump|WSJT=Weekly Shonen Jump & Tankōbon|UJ=Ultra Jump|#default={{{Type2}}}}} Titles=
<div class="volumeTableChList {{#ifeq:{{{Scroll|}}}|True|volumeTableScroll}}">
<div class="volumeTableChList {{#ifeq:{{{Scroll|}}}|True|volumeTableScroll}}">
{{#ifeq:{{{NoNumbers|}}}|True|
<ul>
{{#for:{{{Total2}}}|<li>{{{C2-$n$}}}</li>}}
</ul>
|
<ol start="{{{Start2|1}}}">
<ol start="{{{Start2|1}}}">
{{#for:{{{Total2}}}|<li>{{{C2-$n$}}}</li>}}
{{#for:{{{Total2}}}|<li>{{{C2-$n$}}}</li>}}
Line 96: Line 91:
<div class="volumeTableInfo">
<div class="volumeTableInfo">
<div class="volumeTableRow">
<div class="volumeTableRow">
<div class="volumeTableHeading volumeTableCell" style="background-color:{{#ifeq:{{{Part|}}}|PBBT|{{Color|PB2}}|{{Color|{{{Part|PB}}}2}}}};">'''Release Date'''</div>
<div class="volumeTableHeading volumeTableCell" style="background-color:{{#switch:{{{Part|}}}|PBBT={{Color|PB2}}|BTSC={{Color|BT2}}|DUVA={{Color|DU2}}|#default={{Color|{{{Part|PB}}}2}}}};">'''Release Date'''</div>
{{#if:{{{NoISBN|}}}||<div class="volumeTableHeading volumeTableCell" style="background-color:{{#ifeq:{{{Part|}}}|PBBT|{{Color|PB2}}|{{Color|{{{Part|PB}}}2}}}};">'''ISBN'''</div>}}
{{#if:{{{NoISBN|}}}||<div class="volumeTableHeading volumeTableCell" style="background-color:{{#switch:{{{Part|}}}|PBBT={{Color|PB2}}|BTSC={{Color|BT2}}|DUVA={{Color|DU2}}|#default={{Color|{{{Part|PB}}}2}}}};">'''ISBN'''</div>}}
</div>
</div>
<div class="volumeTableRow">
<div class="volumeTableRow">
Line 103: Line 98:
{{#if:{{{NoISBN|}}}||<div class="volumeTableCell">{{Flag|{{{Flag|Japan}}}}} {{#if:{{{ISBN|}}}|{{ISBN|{{{ISBN|}}}}}|N/A}}</div>}}
{{#if:{{{NoISBN|}}}||<div class="volumeTableCell">{{Flag|{{{Flag|Japan}}}}} {{#if:{{{ISBN|}}}|{{ISBN|{{{ISBN|}}}}}|N/A}}</div>}}
</div></div>
</div></div>
{{#if:{{{Title3|}}}|<div class="volumeTableHeading volumeTableChTitles {{#ifeq:{{{Part|}}}|PBBT|PBBTChTitles}}" style="background-color:{{Color|{{{Part|PB2}}}}};">'''{{{Title3|Chapter Titles}}}'''</div>}}
{{#if:{{{Title3|}}}|<div class="volumeTableHeading volumeTableChTitles {{#switch:{{{Part|}}}|PBBT=PBBTChTitles|BTSC=BTSCChTitles|DUVA=DUVAChTitles}}" style="background-color:{{Color|{{{Part|PB2}}}}};">'''{{{Title3|Chapter Titles}}}'''</div>}}
<div class="volumeTableNone">
<div class="volumeTableNone">
{{{Custom|}}}
{{{Custom|}}}
Line 109: Line 104:
}}
}}
</div>
</div>
</div></div></div><templatestyles src="Vol/styles.css" /></includeonly><noinclude>
</div></div><templatestyles src="Vol/styles.css" /></includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>

Latest revision as of 01:02, 20 October 2024

Usage

{{Vol
|Part     =
|Vol      =
|Title    =
|JPTitle  =
|Romaji   =
|Image    =
|Image2   =
|ImageN   =
|Image2N  =
|Image3   =
|Image3N  =
|Image4   =
|Image4N  =
|IWidth   =
|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}}
}}
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.png|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}}
}}
FrontBack
Release Date
ISBN
Japan August 10, 1987
Chapter Titles
Revised TitlesWeekly Shonen Jump & Tankōbon 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)
  1. Dio the Invader (侵略者ディオ, Shinryakusha Dio)
  2. A New Friend! (新しき友人!, Atarashiki Yūjin!)
  3. Beloved Erina (愛しのエリナ, Itoshino Erina)
  4. Mustn't Lose (負けられない戦い, Makerarenai Tatakai)
  5. Danny in Flames (炎のダニー, Honō no Danī)
  6. A Letter from the Past (過去からの手紙, Kako kara no Tegami)
  7. A Vow to Father (父への誓い, Chichi e no Chikai)
  8. The Battle on Ogre Street (食屍鬼街(オウガーストリート)の戦い, Ōgā Sutorīto no Tatakai)

With no title or chapters

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