Template:Infobox Other chapter: Difference between revisions

From Candypedia
Created page with "{{#invoke:OtherChapters|getInfoboxData |chapter_title={{{chapter_title|{{PAGENAME}}}}} |image={{{image|}}} |caption={{{caption|}}} |date={{{date|}}} |pagecount={{{pagecount|}}} |prev_chapter={{{prev_chapter|}}} |next_chapter={{{next_chapter|}}} |major_characters={{{major_characters|}}} |minor_characters={{{minor_characters|}}} |locations={{{locations|}}} }}"
 
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:OtherChapters|getInfoboxData
{{Infobox
|chapter_title={{{chapter_title|{{PAGENAME}}}}}
| above          = '''{{{chapter_title|}}}'''
|image={{{image|}}}
 
|caption={{{caption|}}}
| headerstyle    = background:#f0f0f0; font-size:110%; padding:5px; text-align:center;
|date={{{date|}}}
| subheaderstyle = background:#f0f0f0; font-size:110%; padding:2px;
|pagecount={{{pagecount|}}}
| subheader      = '''''({{{subheader|}}})''''' <!-- Subheader in italics and rounded brackets -->
|prev_chapter={{{prev_chapter|}}}
 
|next_chapter={{{next_chapter|}}}
| image          = [[File:{{{image|}}}|frameless|250px]] <!-- Replace with actual file name -->
|major_characters={{{major_characters|}}}
| imagecaption  = {{{imagecaption|}}}
|minor_characters={{{minor_characters|}}}
 
|locations={{{locations|}}}
| label1        = Chapter
| data1          = {{{chapter|}}}
 
| label2        = Published
| data2          = {{{published|}}}
 
| label3        = Page count
| data3          = {{{pagecount|}}}
 
| label4        = Major characters
| data4          = {{{majorcharacters|}}}
 
| label5        = Minor characters
| data5          = {{{minorcharacters|}}}
 
| label6        = Locations
| data6          = {{{locations|}}}
 
| label7        = Collected in
| data7          = {{{collected|}}}
 
| below          = {{#if: {{{readlink|}}} | [[{{{readlink}}}|Read chapter]] }}
 
| header8        = {{#if: {{{timeline|}}} | '''Appears between''' }}
 
| data9          = {{#if: {{{timeline|}}} | <table style="width:100%; text-align:center;">
                    <tr>
                      <td style="text-align:left; width:50%;">{{#if: {{{prevchapter|}}} | [[{{{prevchapter}}}|← {{{prevchapter}}}]] }}</td>
                      <td style="text-align:right; width:50%;">{{#if: {{{nextchapter|}}} | [[{{{nextchapter}}}|{{{nextchapter}}} →]] }}</td>
                    </tr>
                  </table>}}
}}
}}

Latest revision as of 02:27, 30 October 2024

'
()
[[File:|frameless|250px]]