Difference between revisions of "Template:Volume List"

From Baka-Tsuki
Jump to navigation Jump to search
(~)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" width={{{cwidth|280}}}px; style="float:{{{float|left}}}"
+
<includeonly>{| class="wikitable" width={{{cwidth|280}}}px; style="float:{{{float|left}}}"
 
{{#if:{{{cover|}}} | {{!}} valign="top" {{!}}[[Image: {{{cover}}}|center|x{{{cwidth|280}}}px]] }}
 
{{#if:{{{cover|}}} | {{!}} valign="top" {{!}}[[Image: {{{cover}}}|center|x{{{cwidth|280}}}px]] }}
 
| valign="top" |
 
| valign="top" |
 
{{#replace:{{#if:{{{vol|}}}| <div style="width:700px;"><div style="float:left;margin:5px 20px;">
 
{{#replace:{{#if:{{{vol|}}}| <div style="width:700px;"><div style="float:left;margin:5px 20px;">
===^^^{{#if:{{{title}}}| &#58; {{{title}}}}} {{#if:{{{full|}}}| <br>([[{{{series|{{ROOTPAGENAME}}}}}:^^^{{!}}Full Text]])}}===
+
===^^^{{#if:{{{title|}}}| &#58; {{{title}}}}} {{#ifeq:{{{full}}}|yes| ([[{{{series|{{ROOTPAGENAME}}}}}:^^^{{!}}Full Text]])}}===
   
 
{{#if:{{{c1|}}}|:*[[{{{series|{{ROOTPAGENAME}}}}}:^^^ {{{c1}}}]]}}
 
{{#if:{{{c1|}}}|:*[[{{{series|{{ROOTPAGENAME}}}}}:^^^ {{{c1}}}]]}}
Line 20: Line 20:
 
{{#ifeq:{{{1}}}|spa|Volumen|Volume
 
{{#ifeq:{{{1}}}|spa|Volumen|Volume
 
}}}} {{{vol}}}}}
 
}}}} {{{vol}}}}}
  +
|}</includeonly>
|}
 
  +
  +
<noinclude>
  +
==Example==
  +
{{Volume List|en|vol=1|full=yes|series=Leviathan|cover=Leviathan 01 000.jpg|
  +
c1=Illustrations{{!}}Novel Illustrations|
  +
c2=Prologue{{!}}Prologue|
  +
c3=Chapter 1{{!}}Chapter 1|
  +
c4=Chapter 2{{!}}Chapter 2|
  +
c5=Chapter 3{{!}}Chapter 3|
  +
c6=Chapter 4{{!}}Chapter 4|
  +
c7=Chapter 5{{!}}Chapter 5|
  +
c8=Epilogue{{!}}Epilogue|
  +
c9=Afterword{{!}}Afterword|
  +
}}
  +
</noinclude>

Latest revision as of 20:25, 12 February 2015