Template:Story Nav

From A3! Wiki
Revision as of 05:17, 28 May 2017 by Fimbulvetr (talk | contribs) (F)


Code:

<tr>
<th>{{#if: {{{previous|}}} | [[{{{previous}}}|Previous]] | Previous}}</th>
<th>{{#if: {{{returnto|}}} | {{{returnto}}} | [[Story|Story Hub]]}}</th>
<th>{{#if: {{{next|}}} | [[{{{next}}}|Next]] | Next}}</th>
</tr>

How to use:

{{Line
|previous=Page title of previous story, if applicable.
|returnto=Page to return to, if not Story Hub (it will default to Story Hub if not specified). Wrap it in link tags if using, eg. [[Event Story]]
|next=Page title of next story, if applicable.}}

Example:

{{Story Nav|returnto=[[Event Story]]|next=Boy Alice in Wonderland/Episode 2}}

Which creates:

Previous Event Story Next