Jump to content

Template:Previous Session: Difference between revisions

From greyhawk
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{#replace:{{PAGENAME}}|Session ||}}
<noinclude>
This template creates a link to the previous session page.
</noinclude>
{{#iferror:{{#expr:{{#invoke:String|match|{{PAGENAME}}|%d+}}}}
| (Invalid session name)
| {{#ifexpr:{{#invoke:String|match|{{PAGENAME}}|%d+}} > 1
| [[Session {{#expr:{{#invoke:String|match|{{PAGENAME}}|%d+}} - 1}}]]
| (No prior session)
}}
}}

Latest revision as of 01:42, 14 March 2025

This template creates a link to the previous session page.

(Invalid session name)