Actions

Template

IssueExists

From Sonic Retro


Template for checking if a next or previous issue exists. Built mainly for comics, but could be for anything. If it can't find a page, it prints nothing.

To get the output you have to use
{{#var:link}}
otherwise when using it as a link, it tries to shove a div tag in there and doesn't format properly.

Examples

{{IssueExists|Sonic the Hedgehog 034 (Archie)|next}}
{{#var:link}}

Sonic the Hedgehog 035 (Archie)


{{IssueExists|Sonic the Hedgehog 034 (Archie)|prev}}
{{#var:link}}

Sonic the Hedgehog 033 (Archie)


{{IssueExists|Sonic the Hedgehog 432 (Archie)|prev}}
{{#var:link}}


{{IssueExists|Sonic the Comic 006|prev}}
{{#var:link}}

Sonic the Comic 005