Template:Story Nav: Difference between revisions
From A3! Wiki
Fimbulvetr (talk | contribs) No edit summary |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly><tr> | ||
<th>{{#if: {{{previous|}}} | [[{{{previous}}}|Previous]] | | <th>{{#if: {{{previous|}}} | [[{{{previous}}}|Previous]] |}}</th> | ||
<th>{{#if: {{{returnto|}}} | {{{returnto}}} | [[Story | <th>{{#if: {{{returnto|}}} | {{{returnto}}} | [[Main Story]]}}</th> | ||
<th>{{#if: {{{next|}}} | [[{{{next}}}|Next]] | | <th>{{#if: {{{next|}}} | [[{{{next}}}|Next]] |}}</th> | ||
</tr></includeonly> | </tr></includeonly> | ||
Line 10: | Line 10: | ||
<tr> | <tr> | ||
<th>{{#if: {{{previous|}}} | [[{{{previous}}}|Previous]] | Previous}}</th> | <th>{{#if: {{{previous|}}} | [[{{{previous}}}|Previous]] | Previous}}</th> | ||
<th>{{#if: {{{returnto|}}} | {{{returnto}}} | [[Story | <th>{{#if: {{{returnto|}}} | {{{returnto}}} | [[Main Story]]}}</th> | ||
<th>{{#if: {{{next|}}} | [[{{{next}}}|Next]] | Next}}</th> | <th>{{#if: {{{next|}}} | [[{{{next}}}|Next]] | Next}}</th> | ||
</tr> | </tr> |
Latest revision as of 14:20, 18 December 2023
Code
<tr> <th>{{#if: {{{previous|}}} | [[{{{previous}}}|Previous]] | Previous}}</th> <th>{{#if: {{{returnto|}}} | {{{returnto}}} | [[Main Story]]}}</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}}