IssueExists
From Sonic Retro
Revision as of 16:14, 28 September 2019 by Black Squirrel (talk | contribs) (Created page with "<includeonly><div style="display:none;">{{#vardefine:pageName|{{{1|}}}}} {{#vardefine:issueName|{{#explode:{{#var:pageName}}|(|0}}}} {{#if:{{#pos:{{#var:pageName}}|(}}|{{#vard...")
Revision as of 16:14, 28 September 2019 by Black Squirrel (talk | contribs) (Created page with "<includeonly><div style="display:none;">{{#vardefine:pageName|{{{1|}}}}} {{#vardefine:issueName|{{#explode:{{#var:pageName}}|(|0}}}} {{#if:{{#pos:{{#var:pageName}}|(}}|{{#vard...")
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.
{{IssueExists|Sonic the Hedgehog 034 (Archie)|next}}
{{IssueExists|Sonic the Hedgehog 034 (Archie)|prev}}
{{IssueExists|Sonic the Hedgehog 432 (Archie)|prev}}
{{IssueExists|Sonic the Comic 006|prev}}