Jump to content

Template:Infobox chapter: Difference between revisions

From Worm Wiki
Valravn (talk | contribs)
No edit summary
Damage3245 (talk | contribs)
No edit summary
 
(11 intermediate revisions by 4 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:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | ''Worm''
! 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}}} }}
|-
|-
{{#if: {{{link|}}} | {{!}} '''Link''' {{!!}} {{{link}}} }}
{{#if: {{{link|}}} | {{!}} '''Link''' {{!!}} {{#ifeq:{{#sub:{{{link}}}|0|1}}|[|{{{link}}}|[{{{link}}} {{PAGENAME}}]}} }}
|-
|-
| colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:0.25em; text-align:center;" | Chapter guide
| 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}}}}}
|-
|-
| colspan="2" style="font-size:100%; padding:0.25em; text-align:center;" | [[Chapter List]]
| 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?) -->
|}<noinclude><br style="clear:both;" />
|}<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