Template:Infobox chapter: Difference between revisions
Appearance
Infobox template for chapter pages. |
Damage3245 (talk | contribs) No edit summary |
||
| (14 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:300px;" | {| class="infobox" style="font-size:89%; width:300px;" | ||
|- | |- | ||
! colspan="2" style="background-color:# | ! colspan="2" style="background-color:#012d59; color:#ffffff; font-size:120%; padding:1em;" | ''{{#if: {{{work|}}} |{{{work}}}|Worm}}'' | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| colspan="2" | ''{{{book}}} {{{number}}}'' | | colspan="2" | ''{{{book}}} {{{number}}}'' | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |||
{{#if: {{{image|}}} | {{{image}}} }} | |||
|- | |- | ||
{{#if: {{{dateposted|}}} | {{!}} '''Date posted''' {{!!}} {{{dateposted}}} }} | {{#if: {{{dateposted|}}} | {{!}} '''Date posted''' {{!!}} {{{dateposted}}} }} | ||
| colspan="2" style="background-color:# | |- | ||
{{#if: {{{link|}}} | {{!}} '''Link''' {{!!}} {{#ifeq:{{#sub:{{{link}}}|0|1}}|[|{{{link}}}|[{{{link}}} {{PAGENAME}}]}} }} | |||
|- | |||
| colspan="2" style="background-color:#012d59; color:#ffffff; font-size:120%; padding:0.25em; text-align:center;" | Chapter guide | |||
|- style="text-align:center; font-size:95%;" valign="top" | |- style="text-align:center; font-size:95%;" valign="top" | ||
| '''Previous'''<br />{{{previous}}} | | {{#if:{{{previous|}}}|'''Previous'''<br />{{{previous}}}}} | ||
| '''Next'''<br />{{{next}}} | | {{#if:{{{next|}}}|'''Next'''<br />{{{next}}}}} | ||
|}<noinclude><br style="clear:both;" /> | |- | ||
| colspan="2" style="font-size:100%; padding:0.25em; text-align:center;" | [[{{{work|Worm}}} Chapter List|Chapter List]] <!-- assume worm by default, since Ward uses {{{work}}} and worm doesn't (for legacy reasons?) --> | |||
|}<includeonly>[[Category:Chapters]]<noinclude><br style="clear:both;" /> | |||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Latest revision as of 14:16, August 6, 2021
{{#if: | {{{image}}} }}
{{#if: | | Date posted || {{{dateposted}}} }}
{{#if: | | Link || {{#ifeq:{{#sub:{{{link}}}|0|1}}|[|{{{link}}}|[{{{link}}} Infobox chapter]}} }}
| {{#if: |{{{work}}}|Worm}} | |
|---|---|
| {{{book}}} {{{number}}} | |
| Chapter guide | |
| Previous {{{previous}}}}} |
Next {{{next}}}}} |
| Chapter List | |