|
|
| (23 intermediate revisions by 6 users not shown) |
| Line 1: |
Line 1: |
| <!-- This temlpate used a naming convention that hasnt been adopted as of yet. (only in aDwD chapters and it, has it's own template)
| | {{DISPLAYTITLE:{{#invoke:Chapter displaytitle|main}}}} |
| here is the old temlpate, in case it will:
| | {{Infobox |
| =============================================== | | | bodystyle = |
| | | titlestyle = | title = |
|
| |
|
| <table class="infobox" style="width: 20em; text-align: left">
| | | abovestyle = background-color:{{Work color|{{{book title}}}}} |
| <tr><th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background-color:{{Work color|{{{book title}}}}}">{{#if:{{{title|<noinclude>title</noinclude>}}}|{{{title}}}||{{{pov}}} {{Roman|{{{pov count}}}}}}}</th></tr>
| | | above = {{#if:{{{title|}}}|{{{title}}}|{{{pov}}} {{Roman|{{{pov count}}}}}}} |
| <tr><th colspan="2" style="text-align:center; font-weight:bold;">''[[{{{book title}}}]]'' chapter</th></tr>
| |
| <tr><th colspan="2" style="text-align:center;">[[{{{book cover}}}|220px]]</th></tr>
| |
|
| |
|
| <tr><th>POV</th><td>[[{{#if:{{{pov pagename|}}}|{{{pov pagename}}}|{{POV to pagename|{{{pov}}}}}}}]]</td></tr>
| | | subheaderstyle = |
| <tr><th>Page</th><td>{{#if:{{{bantam hc page|}}}|{{{bantam hc page}}} <small>(Bantam HC)</small>}}</td></tr>
| | | subheader = ''[[{{{book title}}}]]'' chapter |
|
| |
|
| <tr><th colspan="2" style="text-align:center;">Chapter chronology</th></tr>
| | | imagestyle = |
| <tr><th colspan="2"><table style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top">
| | | captionstyle = |
| {{#if:{{{arc previous|}}}{{#ifexist:{{{pov}}} {{Roman|{{#expr:{{{pov count}}}-1}}}} ({{{book title}}})|1}}|
| | | image = {{#invoke:InfoboxImage | InfoboxImage | image={{{book cover}}} | size=220px | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=yes}} |
| <tr> | | | caption = {{{caption|}}} |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0" colspan="3">[[{{#if:{{{arc previous|}}}|{{{arc previous}}}|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}-1}}}}}} ({{{book title}}})|{{#if:{{{arc previous|}}}|{{{arc previous}}}|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}-1}}}}}}]]<br>?</td>
| |
| </tr>
| |
| }}
| |
| <tr>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{#if:{{{previous|}}}|[[{{{previous}}} ({{{book title}}})|{{{previous}}}]] ?}}</td>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">[[{{#if:{{{title|}}}|{{{title}}}|{{{pov}}} {{Roman|{{{pov count}}}}}}} ({{{book title}}})|{{#if:{{{title|}}}|{{{title}}}|{{{pov}}} {{Roman|{{{pov count}}}}}}}]]</td>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{#if:{{{next|}}}|? [[{{{next}}} ({{{book title}}})|{{{next}}}]]}}</td>
| |
| </tr>
| |
| {{#if:{{{arc next|}}}{{#ifexist:{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}} ({{{book title}}})|1}}|
| |
| <tr>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0" colspan="3">?<br>[[{{#if:{{{arc next|}}}|{{{arc next}}}|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}}}} ({{{book title}}})|{{#if:{{{arc next|}}}|{{{arc next}}}|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}}}}]]</td>
| |
| </tr>
| |
| }}
| |
| </table></th></tr>
| |
| ============new template ==========-->
| |
| <table class="infobox" style="width: 20em; text-align: left">
| |
| <tr><th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background-color:{{Work color|{{{book title}}}}}">{{#if:{{{title|}}}|{{{title}}}|{{{pov}}} {{Roman|{{{pov count}}}}}}}</th></tr>
| |
| <tr><th colspan="2" style="text-align:center; font-weight:bold;">''[[{{{book title}}}]]'' chapter</th></tr>
| |
| <tr><th colspan="2" style="text-align:center;">[[{{{book cover}}}|220px]]</th></tr>
| |
|
| |
|
| {{#if:{{{pov|<noinclude>pov</noinclude>}}}|
| | | headerstyle = background-color:{{Work color|{{{book title}}}}} |
| <tr><th>POV</th><td>{{{pov}}}</td></tr>}}
| | | labelstyle = |
| {{#if:{{{page|<noinclude>pov</noinclude>}}}|
| | | datastyle = |
| <tr><th>Page</th><td>{{{page|}}}<small>(Bantam HC)</small></td></tr>}}
| |
|
| |
|
| <tr><th colspan="2" style="text-align:center;">Chapter chronology</th></tr>
| | | label1 = POV |
| <tr><th colspan="2"><table style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top">
| | | data1 = {{{pov|<noinclude>{{{pov}}}</noinclude>}}} |
| {{#if:{{{arc previous|<noinclude>arc previous</noinclude>}}}| | | | label2 = Place |
| <tr>
| | | data2 = {{{place|<noinclude>{{{place}}}</noinclude>}}} |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0" colspan="3">{{{arc previous}}}<br>?</td>
| | | label3 = Page |
| </tr>
| | | data3 = {{#if:{{{page|<noinclude>{{{page}}}</noinclude>}}}|{{{page}}} <small>([[Chapters Table of contents|Other versions]])</small>}} |
| }} | |
| <tr>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{{previous|<noinclude>previous</noinclude>}}}</td>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{{current|<noinclude>current</noinclude>}}}</td>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{{next|<noinclude>next</noinclude>}}}</td>
| |
| </tr>
| |
| {{#if:{{{arc next|<noinclude>arc next</noinclude>}}}| | |
| <tr>
| |
| <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0" colspan="3">?<br>{{{arc next}}}</td>
| |
| </tr>
| |
| }} | |
| </table></th></tr>
| |
|
| |
|
| </table><noinclude> | | | header10 = Chapter chronology <small>([[Chapters|All]])</small> |
| Meta template. Don't use it directly.
| | | data11 = {{#if:{{{arc previous|<noinclude>arc previous</noinclude>}}}|{{{arc previous}}}<br>↑}} |
| | | | data12 = <table style="width:100%;"><tr> |
| ==Usage== | | <td style="width:33%; text-align:center; vertical-align:middle;">{{#if:{{{previous|<noinclude>previous</noinclude>}}}|{{{previous}}}}}</td> |
| <pre> | | <td style="vertical-align:middle; {{#if:{{{previous|<noinclude>previous</noinclude>}}}||visibility:hidden;}}"> ←</td> |
| book title
| | <td style="width:33%; text-align:center; vertical-align:middle; padding-right:0.1em; padding-left:0.1em;">{{{current|<noinclude>{{{current}}}</noinclude>}}}</td> |
| book cover
| | <td style="vertical-align:middle; {{#if:{{{next|<noinclude>next</noinclude>}}}||visibility:hidden;}}">→ </td> |
| title
| | <td style="width:33%; text-align:center; vertical-align:middle;">{{#if:{{{next|<noinclude>next</noinclude>}}}|{{{next}}}}}</td> |
| pov
| | </tr></table> |
| page
| | | data13 = {{#if:{{{arc next|<noinclude>arc next</noinclude>}}}|↓<br>{{{arc next}}}}} |
| --Chapters-- | | }}<noinclude> |
| previous
| | {{documentation}}</noinclude> |
| current | |
| next | |
| --Chapters-- | |
| arc previous | |
| arc next | |
| </pre> | |
| | |
| [[Category:Infobox templates|Chapter]]</noinclude>
| |