Template: Infobox Chapter: Difference between revisions
From A Wiki of Ice and Fire
mNo edit summary |
added displaytitle |
||
| (25 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{#invoke:Chapter displaytitle|main}}}} | |||
{{Infobox | |||
| bodystyle = | |||
| titlestyle = | title = | |||
| abovestyle = background-color:{{Work color|{{{book title}}}}} | |||
| 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 = {{#if:{{{arc previous|<noinclude>arc previous</noinclude>}}}|{{{arc previous}}}<br>↑}} | |||
| data12 = <table style="width:100%;"><tr> | |||
<td style="width:33%; text-align:center; vertical-align:middle;">{{#if:{{{previous|<noinclude>previous</noinclude>}}}|{{{previous}}}}}</td> | |||
<td style="vertical-align:middle; {{#if:{{{previous|<noinclude>previous</noinclude>}}}||visibility:hidden;}}"> ←</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="vertical-align:middle; {{#if:{{{next|<noinclude>next</noinclude>}}}||visibility:hidden;}}">→ </td> | |||
<td style="width:33%; text-align:center; vertical-align:middle;">{{#if:{{{next|<noinclude>next</noinclude>}}}|{{{next}}}}}</td> | |||
</tr></table> | |||
| data13 = {{#if:{{{arc next|<noinclude>arc next</noinclude>}}}|↓<br>{{{arc next}}}}} | |||
}}<noinclude> | |||
{{documentation}}</noinclude> | |||
Latest revision as of 14:19, 18 August 2026
| {{{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
[edit]{{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|}}}
}}