Template: Infobox Chapter: Difference between revisions
From A Wiki of Ice and Fire
No edit summary |
Generalization from template:Infobox Chapter ADwD |
||
| Line 1: | Line 1: | ||
<table class="infobox" style="width: 20em; text-align: left"> | <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:{{ | <tr><th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background-color:{{Work color|{{{book 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> | |||
<tr><th>POV</th><td>[[{{{pov pagename|{{POV to pagename|{{{pov}}}}}}}}]]</td></tr> | |||
<tr><th>Page</th><td>{{#if:{{{bantam hc page|}}}|{{{bantam hc page}}} <small>(Bantam HC)</small>}}</td></tr> | |||
}}</th></tr> | |||
<tr><th colspan="2" style="text-align:center; font- | |||
<tr><th colspan="2" style="text-align:center;">Chapter chronology</th></tr> | <tr><th colspan="2" style="text-align:center;">Chapter chronology</th></tr> | ||
<tr><th colspan="2"><table | <tr><th colspan="2"><table style="width:100%; background: transparent; text-align: center; font-size: 88%; line-height: 1.4em; vertical-align: top"> | ||
{{#if:{{{arc previous|{{#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">[[{{{arc previous|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}-1}}}}}}} ({{{book title}}})|{{{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">[[{{{title|{{{pov}}} {{Roman|{{{pov count}}}}}}}} ({{{book 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>[[{{{arc next|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}}}}} ({{{book title}}})|{{{arc next|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}}}}}]]</td> | |||
</tr> | |||
}} | |||
</table></th></tr> | </table></th></tr> | ||
</table><noinclude> | </table><noinclude> | ||
Meta template. Don't use it directly. | |||
</noinclude> | </noinclude> | ||
Revision as of 16:50, 20 July 2011
| {{{pov}}} | ||||
|---|---|---|---|---|
| [[{{{book title}}}]] chapter | ||||
| [[{{{book cover}}}|220px]] | ||||
| POV | [[ ]] | |||
| Page | ||||
| Chapter chronology | ||||
| ||||
Meta template. Don't use it directly.