Template:IPTSF page info

From ErfWiki

(Difference between revisions)
Jump to: navigation, search
(I think it's 26. See Talk.)
Line 12: Line 12:
   Text 10={{ #switch: {{{paramname}}} |panels=0|turn=18|date=AoW|prev=Text 9|next=Text 11|side=[[Goodminton]]}}|
   Text 10={{ #switch: {{{paramname}}} |panels=0|turn=18|date=AoW|prev=Text 9|next=Text 11|side=[[Goodminton]]}}|
   Text 11={{ #switch: {{{paramname}}} |panels=0|turn=21|date=AoW|prev=Text 10|next=Text 12|side=[[Goodminton]]}}|
   Text 11={{ #switch: {{{paramname}}} |panels=0|turn=21|date=AoW|prev=Text 10|next=Text 12|side=[[Goodminton]]}}|
-
   Text 12={{ #switch: {{{paramname}}} |panels=0|turn=22|date=AoW|prev=Text 11|next=Text 13|side=[[Goodminton]]}}|
+
   Text 12={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 11|next=Text 13|side=[[Goodminton]]}}|
-
   Text 13={{ #switch: {{{paramname}}} |panels=0|turn=22|date=AoW|prev=Text 12|next=Text 14|side=[[Goodminton]]}}|
+
   Text 13={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 12|next=Text 14|side=[[Goodminton]]}}|
-
   Text 14={{ #switch: {{{paramname}}} |panels=0|turn=22|date=AoW|prev=Text 13|next=Text 15|side=[[Goodminton]]}}|
+
   Text 14={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 13|next=Text 15|side=[[Goodminton]]}}|
-
   Text 15={{ #switch: {{{paramname}}} |panels=0|turn=22|date=AoW|prev=Text 14|next=Text 16|side=[[Goodminton]]}}|
+
   Text 15={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 14|next=Text 16|side=[[Goodminton]]}}|
-
   Text 16={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 15|next=Text 17|side=[[Haffaton]]}}|
+
   Text 16={{ #switch: {{{paramname}}} |panels=0|turn=24|date=AoW|prev=Text 15|next=Text 17|side=[[Haffaton]]}}|
-
   Text 17={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 16|next=Text 18|side=[[Goodminton]]}}|
+
   Text 17={{ #switch: {{{paramname}}} |panels=0|turn=24|date=AoW|prev=Text 16|next=Text 18|side=[[Goodminton]]}}|
-
   Text 18={{ #switch: {{{paramname}}} |panels=0|turn=23|date=AoW|prev=Text 17|next=Text 19|side=[[Goodminton]]}}|
+
   Text 18={{ #switch: {{{paramname}}} |panels=0|turn=24|date=AoW|prev=Text 17|next=Text 19|side=[[Goodminton]]}}|
-
   Text 19={{ #switch: {{{paramname}}} |panels=0|turn=25|date=AoW|prev=Text 18|next=Text 20|side=[[Goodminton]]}}|
+
   Text 19={{ #switch: {{{paramname}}} |panels=0|turn=27|date=AoW|prev=Text 18|next=Text 20|side=[[Goodminton]]}}|
-
   Text 20={{ #switch: {{{paramname}}} |panels=0|turn=25|date=AoW|prev=Text 19|next=Text 21|side=[[Goodminton]]}}|
+
   Text 20={{ #switch: {{{paramname}}} |panels=0|turn=27|date=AoW|prev=Text 19|next=Text 21|side=[[Goodminton]]}}|
-
   Text 21={{ #switch: {{{paramname}}} |panels=0|turn=25|date=AoW|prev=Text 20|next=Text 22|side=[[Goodminton]]}}|
+
   Text 21={{ #switch: {{{paramname}}} |panels=0|turn=27|date=AoW|prev=Text 20|next=Text 22|side=[[Goodminton]]}}|
-
   Text 22={{ #switch: {{{paramname}}} |panels=0|turn=26|date=AoW|prev=Text 21|next=Text 23|side=[[Goodminton]]}}|
+
   Text 22={{ #switch: {{{paramname}}} |panels=0|turn=28|date=AoW|prev=Text 21|next=Text 23|side=[[Goodminton]]}}|
{{ #switch: {{{paramname}}} |
{{ #switch: {{{paramname}}} |

Revision as of 18:06, 26 January 2012

Documentation is at Template:IPTSF 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.

{{ IPTSF_page_info
 |pagenumber=
 |paramname=
}}

<pagenumber> - Can be any legitimate page of IPTSF.
<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; if this is END, it gets supressed.
  • 'side' returns which side is currently active during the turn on this page.

Example

{{ IPTSF_page_info|pagenumber=2|paramname=panels}}

Would return: 1

{{ IPTSF_page_info|pagenumber=2|paramname=turn}}

Would return: Unknown

{{ IPTSF_page_info|pagenumber=2|paramname=prev}}

Would return:

{{ IPTSF_page_info|pagenumber=2|paramname=next}}

Would return: 3

{{ IPTSF_page_info|pagenumber=2|paramname=side}}

Would return: Unknown

Go To:
Personal tools