Difference between revisions of "Template: Infobox Chapter ADwD"

From A Wiki of Ice and Fire
Jump to: navigation, search
m (fix)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<table class="infobox" style="width: 20em; text-align: left">
+
{{Infobox Chapter
<tr><th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background-color:{{Work color|ADwD}}">{{{title|{{{pov}}} {{Roman|{{{pov count}}}}}}}}</th></tr>
+
| book title = A Dance with Dragons
<tr><th colspan="2" style="text-align:center; font-weight:bold;">''A Dance with Dragons'' chapter</th></tr>
+
| book cover = File:ADanceWithDragons.jpg{{!}}link=A dance with dragons
<tr><th colspan="2" style="text-align:center;">[[File:ADanceWithDragons.jpg|220px]]</th></tr>
+
| pov = {{{pov}}}
 +
| place        = {{{place|}}}
 +
| title = {{{title|}}}
 +
| page = {{{page}}} <small>UK HC</small>
 +
| previous = {{{previous|}}}
 +
| current = {{{current}}}
 +
| next = {{{next|}}}
 +
| arc previous = {{{arc previous|}}}
 +
| arc next = {{{arc next|}}}
 +
}}<noinclude>
  
<tr><th>POV</th><td>[[{{{pov pagename|{{POV to pagename|{{{pov}}}}}}}}]]</td></tr>
+
===usage===
<tr><th>Page</th><td>{{#if:{{{bantam hc page|}}}|{{{bantam hc page}}} <small>(Bantam HC)</small>}}</td></tr>
+
<pre>
 
 
<tr><th colspan="2" style="text-align:center;">Chapter chronology</th></tr>
 
<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}}}} (A Dance with Dragons)|1}}}}}|
 
  <tr>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0"></td>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">[[{{{arc previous|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}-1}}}}}}} (A Dance with Dragons)|{{{arc previous|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}-1}}}}}}}]]<br>↑</td>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0"></td>
 
  </tr>
 
}}
 
  <tr>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{#if:{{{previous|}}}|[[{{{previous}}} (A Dance with Dragons)|{{{previous}}}]]&nbsp;←}}</td>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">[[{{{title|{{{pov}}} {{Roman|{{{pov count}}}}}}}} (A Dance with Dragons)|{{{title|{{{pov}}} {{Roman|{{{pov count}}}}}}}}]]</td>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">{{#if:{{{next|}}}|→&nbsp;[[{{{next}}} (A Dance with Dragons)|{{{next}}}]]}}</td>
 
  </tr>
 
{{#if:{{{arc next|{{#ifexist:{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}} (A Dance with Dragons)|1}}}}}|
 
  <tr>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0"></td>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0">↓<br>[[{{{arc next|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}}}}} (A Dance with Dragons)|{{{arc next|{{{pov}}} {{Roman|{{#expr:{{{pov count}}}+1}}}}}}}]]</td>
 
    <td style="width: 33%; padding: 0.2em 0.1em 0.2em 0"></td>
 
  </tr>
 
}}
 
</table></th></tr>
 
 
 
</table><noinclude>
 
 
 
Template for use in chapter articles of ''A Dance with Dragons''.
 
 
 
==Usage==
 
 
 
<pre style="width:90em">
 
 
{{Infobox Chapter ADwD
 
{{Infobox Chapter ADwD
| pov = <!-- Name of POV character; for special chapters (prologues, The Reaver, …) pass the chapter title in the title parameter instead. -->
+
| pov =
| pov count = <!-- The chapter count for this POV character -->
+
| title =
 
+
| place        =  
| title = <!-- If the chapter is not named after a character name, use this parameter instead -->
+
| page =  
| pov pagename = <!-- pagename of the POV character, for special chapters. -->
+
| previous =
 
+
| current =  
| previous = <!-- title of previous chapter in the book -->
+
| next =  
| next = <!-- title of next chapter in the book -->
+
| arc previous =  
 
+
| arc next =  
| previous arc = <!-- title of previous chapter in the (POV) arc. Standard arcs (Bran I → Bran II) work automatically. -->
 
| next arc = <!-- title of next chapter in the (POV) arc. Standard arcs (Bran I → Bran II) work automatically. -->
 
 
}}
 
}}
 
</pre>
 
</pre>
 
+
[[Category:Book infobox templates|Chapter]]</noinclude>
</noinclude>
 

Latest revision as of 19:08, 26 January 2023

{{{pov}}}
A Dance with Dragons chapter
ADanceWithDragons.jpg
POV {{{pov}}}
Page {{{page}}} UK HC (Other versions)
Chapter chronology (All)
 ← {{{current}}} → 

usage

{{Infobox Chapter ADwD
| pov		=
| title		= 
| place         = 
| page		= 
| previous	=
| current	= 
| next		= 
| arc previous	= 
| arc next	= 
}}