Template:IPTSF page info

From ErfWiki

(Difference between revisions)
Jump to: navigation, search
(4 intermediate revisions not shown)
Line 58: Line 58:
   Text 56={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 55|next=Text 57|side=[[Haffaton]]}}|
   Text 56={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 55|next=Text 57|side=[[Haffaton]]}}|
   Text 57={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 56|next=Text 58|side=[[Haffaton]]}}|
   Text 57={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 56|next=Text 58|side=[[Haffaton]]}}|
-
   Text 58={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 56|next=END|side=[[Haffaton]]}}|
+
   Text 58={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 57|next=Text 59|side=[[Haffaton]]}}|
 +
  Text 59={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 58|next=Text 60|side=[[Unknown]]}}|
 +
  Text 60={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 59|next=Text 61|side=[[Unknown]]}}|
 +
  Text 61={{ #switch: {{{paramname}}} |panels=0|turn=??|date=AoW|prev=Text 60|next=END|side=[[Unknown]]}}|
{{ #switch: {{{paramname}}} |
{{ #switch: {{{paramname}}} |
     panels=1|
     panels=1|

Revision as of 04:48, 31 January 2013

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