Template: Infobox Chapter: Difference between revisions
From A Wiki of Ice and Fire
m Reverted edits by Rhaenys Targaryen (talk) to last revision by Scafloc |
implemented with Infobox template |
||
| Line 1: | Line 1: | ||
{{Infobox | |||
| bodystyle = | |||
| titlestyle = | title = | |||
| abovestyle = background-color:{{Work color|{{{book title}}}}} | |||
{{#if:{{{ | | above = {{#if:{{{title|}}}|{{{title}}}|{{{pov}}} {{Roman|{{{pov count}}}}}}} | ||
| subheaderstyle = | |||
| subheader = ''[[{{{book title}}}]]'' chapter | |||
| imagestyle = | |||
| captionstyle = | |||
| image = {{#invoke:InfoboxImage | InfoboxImage | image={{{book cover}}} | size=220px | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=yes}} | |||
| caption = {{{caption|}}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
[[ | | headerstyle = background-color:{{Work color|{{{book title}}}}} | ||
| labelstyle = | |||
| datastyle = | |||
| label1 = POV | |||
| data1 = {{{pov|<noinclude>{{{pov}}}</noinclude>}}} | |||
| label2 = Place | |||
| data2 = {{{place|<noinclude>{{{place}}}</noinclude>}}} | |||
| label3 = Page | |||
| data3 = {{#if:{{{page|<noinclude>{{{page}}}</noinclude>}}}|{{{page}}} <small>([[Chapters Table of contents|Other versions]])</small>}} | |||
| header10 = Chapter chronology <small>([[Chapters|All]])</small> | |||
| data11 = <span style="font-size:85%;">{{#if:{{{arc previous|<noinclude>arc previous</noinclude>}}}|{{{arc previous}}}<br>↑}}</span> | |||
| data12 = <table style="font-size:85%;"><tr> | |||
<td style="width:33%; text-align:right; vertical-align:middle;">{{#if:{{{previous|<noinclude>previous</noinclude>}}}|{{{previous}}} ←}}</td> | |||
<td style="width:33%; text-align:center; vertical-align:middle; padding-right:0.1em; padding-left:0.1em;">{{{current|<noinclude>{{{current}}}</noinclude>}}}</td> | |||
<td style="width:33%; text-align:left; vertical-align:middle;">{{#if:{{{next|<noinclude>next</noinclude>}}}|→ {{{next}}}}}</td> | |||
</tr></table> | |||
| data13 = <span style="font-size:85%;">{{#if:{{{arc next|<noinclude>arc next</noinclude>}}}|↓<br>{{{arc next}}}}}</span> | |||
}}<noinclude> | |||
{{documentation}}</noinclude> | |||
Revision as of 17:17, 3 September 2018
| {{{pov}}} | ||||
|---|---|---|---|---|
| [[{{{book title}}}]] chapter | ||||
| [[File:{{{book cover}}}|220px|border]] | ||||
| POV | {{{pov}}} | |||
| Place | {{{place}}} | |||
| Page | {{{page}}} (Other versions) | |||
| Chapter chronology (All) | ||||
|
{{{arc previous}}} ↑ | ||||
| ||||
|
↓ {{{arc next}}} | ||||
Meta template. Don't use it directly.
Usage
{{Infobox Chapter
| book title =
| book cover =
| pov =
| place =
| title =
| page =
| previous =
| current =
| next =
| arc previous =
| arc next =
}}
Example:
{{Infobox Chapter
| book title = Book title
| book cover = File:fullName
| pov = {{{pov}}}
| place = {{{place}}}
| title = {{{title|}}}
| page = {{{page}}}
| previous = {{{previous|}}}
| current = {{{current}}}
| next = {{{next|}}}
| arc previous = {{{arc previous|}}}
| arc next = {{{arc next|}}}
}}