Difference between revisions of "Template:Book5 page info"

From Erfwiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
 
   Prologue 19={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 18 |next=Prologue 20 |side=[[Nestlý]]}}|
 
   Prologue 19={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 18 |next=Prologue 20 |side=[[Nestlý]]}}|
 
   Prologue 20={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 19 |next=Prologue 21 |side=[[Nestlý]]}}|
 
   Prologue 20={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 19 |next=Prologue 21 |side=[[Nestlý]]}}|
   Prologue 21={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 20 |next=Prologue 22 |side=[[Nestlý]]}}|
+
   Prologue 21={{ #switch: {{{paramname}}} |panels= 1|turn=96|date=AW|prev=Prologue 20 |next=Prologue 22 |side=[[Nestlý]]}}|
 
   Prologue 22={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 21 |next=Prologue 23 |side=[[Nestlý]]}}|
 
   Prologue 22={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 21 |next=Prologue 23 |side=[[Nestlý]]}}|
 +
  Prologue 23={{ #switch: {{{paramname}}} |panels= 1|turn=96|date=AW|prev=Prologue 22 |next=Prologue 24 |side=[[Nestlý]]}}|
 +
  Prologue 24={{ #switch: {{{paramname}}} |panels= 1|turn=96|date=AW|prev=Prologue 23 |next=Prologue 25 |side=[[Nestlý]]}}|
 +
  Prologue 25={{ #switch: {{{paramname}}} |panels= 2|turn=96|date=AW|prev=Prologue 24 |next=Prologue 26 |side=[[Nestlý]]}}|
 +
  Prologue 26={{ #switch: {{{paramname}}} |panels= 1|turn=96|date=AW|prev=Prologue 25 |next=Prologue 27 |side=[[Nestlý]]}}|
  
 
{{ #switch: {{{paramname}}} |
 
{{ #switch: {{{paramname}}} |

Latest revision as of 15:05, 12 August 2019

Documentation is at Template:Book5 page info/doc. edit

Usage

This template is for use in the paneler and pager templates. It is not intended for use on its own.

{{ Book5 page info
 |pagenumber=
 |paramname=
}}

<pagenumber> - Can be any legitimate page of Book5.
<paramname> - options include 'panels', 'turn', 'prev', 'next, and 'side'.

  • 'panels' returns the number of panels in this page of the comic.
  • 'turn' returns the current in-game turn since the beginning of the comic.
  • 'prev' returns the previous page in the comic.
  • 'next' returns the next page in the comic.
  • 'side' returns which side is currently active during the turn on this page.

Example

{{ Book5 page info|pagenumber=2|paramname=panels}}

Would return: 2

{{ Book5 page info|pagenumber=2|paramname=turn}}

Would return: Unknown

{{ Book5 page info|pagenumber=2|paramname=prev}}

Would return:

{{ Book5 page info|pagenumber=2|paramname=next}}

Would return:

{{ Book5 page info|pagenumber=2|paramname=side}}

Would return: Unknown