Template:LIAB page info
From ErfWiki
(Difference between revisions)
| Line 128: | Line 128: | ||
70={{ #switch: {{{paramname}}} |panels=13|turn=75 |prev=69 |next=71 |side=[[Royal Crown Coalition]]}}| | 70={{ #switch: {{{paramname}}} |panels=13|turn=75 |prev=69 |next=71 |side=[[Royal Crown Coalition]]}}| | ||
71={{ #switch: {{{paramname}}} |panels=12|turn=75 |prev=70 |next=72 |side=[[Royal Crown Coalition]]}}| | 71={{ #switch: {{{paramname}}} |panels=12|turn=75 |prev=70 |next=72 |side=[[Royal Crown Coalition]]}}| | ||
| - | 72={{ #switch: {{{paramname}}} |panels= | + | 72={{ #switch: {{{paramname}}} |panels=14|turn=75 |prev=71 |next=73 |side=[[Royal Crown Coalition]]}}| |
| - | 73={{ #switch: {{{paramname}}} |panels= | + | 73={{ #switch: {{{paramname}}} |panels=14|turn=75 |prev=72 |next=Text 54 |side=[[Royal Crown Coalition]]}}| |
Text 54={{ #switch: {{{paramname}}} |panels=1|turn=75 |prev=73 |next=74 |side=[[Royal Crown Coalition]]}}| | Text 54={{ #switch: {{{paramname}}} |panels=1|turn=75 |prev=73 |next=74 |side=[[Royal Crown Coalition]]}}| | ||
74={{ #switch: {{{paramname}}} |panels=6|turn=75 |prev=Text 54 |next=END|side=[[Royal Crown Coalition]]}}| | 74={{ #switch: {{{paramname}}} |panels=6|turn=75 |prev=Text 54 |next=END|side=[[Royal Crown Coalition]]}}| | ||
Revision as of 09:38, 7 November 2011
Documentation is at Template:LIAB 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.
{{ LIAB_page_info
|pagenumber=
|paramname=
}}
<pagenumber> - Can be any legitimate page of LIAB.
<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
{{ LIAB_page_info|pagenumber=2|paramname=panels}}
Would return: 12
{{ LIAB_page_info|pagenumber=2|paramname=turn}}
Would return: 75
{{ LIAB_page_info|pagenumber=2|paramname=prev}}
Would return: 1
{{ LIAB_page_info|pagenumber=2|paramname=next}}
Would return: 3
{{ LIAB_page_info|pagenumber=2|paramname=side}}
Would return: Gobwin Knob