Difference between revisions of "Template:Hvs.tCF page info"

From Erfwiki
Jump to: navigation, search
Line 4: Line 4:
 
   2={{ #switch: {{{paramname}}} |panels= 7|turn=77|date=AW|prev=1  |next=3 |side=[[Gobwin Knob]]}}|
 
   2={{ #switch: {{{paramname}}} |panels= 7|turn=77|date=AW|prev=1  |next=3 |side=[[Gobwin Knob]]}}|
 
   3={{ #switch: {{{paramname}}} |panels= 4|turn=77|date=AW|prev=2  |next=4 |side=[[Faq]]}}|
 
   3={{ #switch: {{{paramname}}} |panels= 4|turn=77|date=AW|prev=2  |next=4 |side=[[Faq]]}}|
   4={{ #switch: {{{paramname}}} |panels= 6|turn=77|date=AW|prev=3  |next=5 |side=[[Faq]]}}|
+
   4={{ #switch: {{{paramname}}} |panels= 6|turn=77|date=AW|prev=3  |next=5 |side=[[Night]]}}|
  
  

Revision as of 03:14, 4 August 2014

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

{{ Hvs.tCF_page_info
 |pagenumber=
 |paramname=
}}

<pagenumber> - Can be any legitimate page of Hvs.tCF.
<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

{{ Hvs.tCF_page_info|pagenumber=2|paramname=panels}}

Would return: 12

{{ Hvs.tCF_page_info|pagenumber=2|paramname=turn}}

Would return: 75

{{ Hvs.tCF_page_info|pagenumber=2|paramname=prev}}

Would return: 1

{{ Hvs.tCF_page_info|pagenumber=2|paramname=next}}

Would return: 3

{{ Hvs.tCF_page_info|pagenumber=2|paramname=side}}

Would return: Gobwin Knob