Jump to content

Template:Infobox chapter: Difference between revisions

From Worm Wiki
MugaSofer (talk | contribs)
No edit summary
for chapters without {{{work}}} (read: worm chapters), default to linking to the worm chapter list instead of a disambig (would be more elegant to go through all the worm chapters and add |work=Worm, but im not getting into scripts here :p)
Line 17: Line 17:
| {{#if:{{{next|}}}|'''Next'''<br />{{{next}}}}}
| {{#if:{{{next|}}}|'''Next'''<br />{{{next}}}}}
|-
|-
| colspan="2" style="font-size:100%; padding:0.25em; text-align:center;" | {{#if: {{{work|}}} |[[{{{work}}}|Chapter List]]|[[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?) -->
|}<includeonly>[[Category:Chapters]]<noinclude><br style="clear:both;" />
|}<includeonly>[[Category:Chapters]]<noinclude><br style="clear:both;" />
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 10:42, October 13, 2019

{{#if: | {{{image}}} }} {{#if: | | Date posted || {{{dateposted}}} }} {{#if: | | Link || {{{link}}} }}
{{#if: |{{{work}}}|Worm}}
{{{book}}} {{{number}}}
Chapter guide
Previous
{{{previous}}}}}
Next
{{{next}}}}}
Chapter List