Difference between revisions of "Template:IPTSF page info"

From Erfwiki
Jump to: navigation, search
m (Set BEGIN)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{pagenumber}}}|
 
<includeonly>{{#switch: {{{pagenumber}}}|
  
   Text 1={{ #switch: {{{paramname}}} |panels=0|turn=1|date=AoW|prev=     |next=Text 2|side=[[Goodminton]]}}|
+
   Text 1={{ #switch: {{{paramname}}} |panels=0|turn=1|date=AoW|prev=BEGIN|next=Text 2|side=[[Goodminton]]}}|
 
   Text 2={{ #switch: {{{paramname}}} |panels=0|turn=1|date=AoW|prev=Text 1|next=Text 3|side=[[Goodminton]]}}|
 
   Text 2={{ #switch: {{{paramname}}} |panels=0|turn=1|date=AoW|prev=Text 1|next=Text 3|side=[[Goodminton]]}}|
 
   Text 3={{ #switch: {{{paramname}}} |panels=0|turn=1|date=AoW|prev=Text 2|next=Text 4|side=[[Goodminton]]}}|
 
   Text 3={{ #switch: {{{paramname}}} |panels=0|turn=1|date=AoW|prev=Text 2|next=Text 4|side=[[Goodminton]]}}|
Line 66: Line 66:
 
   Text 64={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 63|next=Text 65|side=[[Haffaton]]}}|
 
   Text 64={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 63|next=Text 65|side=[[Haffaton]]}}|
 
   Text 65={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 64|next=Text 66|side=[[Haffaton]]}}|
 
   Text 65={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 64|next=Text 66|side=[[Haffaton]]}}|
   Text 66={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 65|next=END|side=[[Haffaton]]}}|
+
   Text 66={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 65|next=Text 67|side=[[Haffaton]]}}|
 +
  Text 67={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 66|next=Text 68|side=[[Haffaton]]}}|
 +
  Text 68={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 67|next=Text 69|side=[[Haffaton]]}}|
 +
  Text 69={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 68|next=Text 70|side=[[Haffaton]]}}|
 +
  Text 70={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 69|next=Text 71|side=[[Haffaton]]}}|
 +
  Text 71={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 70|next=Text 72|side=[[Haffaton]]}}|
 +
  Text 72={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 71|next=Text 73|side=[[Haffaton]]}}|
 +
  Text 73={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 72|next=Text 74|side=[[Charlescomm]]}}|
 +
  Text 74={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 73|next=Text 75|side=[[Charlescomm]]}}|
 +
  Text 75={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 74|next=Text 76|side=[[Charlescomm]]}}|
 +
  Text 76={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 75|next=Text 77|side=[[Charlescomm]]}}|
 +
  Text 77={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 76|next=Text 78|side=[[Night]]}}|
 +
  Text 78={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 77|next=Text 79|side=[[Night]]}}|
 +
  Text 79={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 78|next=Text 80|side=[[Night]]}}|
 +
  Text 80={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 79|next=Text 81|side=[[Faq]]}}|
 +
  Text 81={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 80|next=END|side=[[Faq]]}}|
  
  

Latest revision as of 18:38, 20 December 2014

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