Template:LIAB page info
From ErfWiki
(Difference between revisions)
m (Testing) |
(More testing) |
||
| Line 134: | Line 134: | ||
Text 55={{ #switch: {{{paramname}}} |panels=1|turn=75 |prev=74 |next=75 |side=[[Royal Crown Coalition]]}}| | Text 55={{ #switch: {{{paramname}}} |panels=1|turn=75 |prev=74 |next=75 |side=[[Royal Crown Coalition]]}}| | ||
75={{ #switch: {{{paramname}}} |panels=9|turn=75 |prev=Text 55 |next=76|side=[[Royal Crown Coalition]]}}| | 75={{ #switch: {{{paramname}}} |panels=9|turn=75 |prev=Text 55 |next=76|side=[[Royal Crown Coalition]]}}| | ||
| - | 76={{ #switch: {{{paramname}}} |panels=12|turn=75 |prev=75 |next=77|side=[[Royal Crown Coalition]]}}| | + | 76={{ #switch: {{{paramname}}} |panels=12|turn=75|date=AW|prev=75 |next=77|side=[[Royal Crown Coalition]]}}| |
| - | 77={{ #switch: {{{paramname}}} |panels=12|turn=75 |prev=76 |next=78|side=[[Royal Crown Coalition]]}}| | + | 77={{ #switch: {{{paramname}}} |panels=12|turn=75|date=AW|prev=76 |next=78|side=[[Royal Crown Coalition]]}}| |
| - | 78={{ #switch: {{{paramname}}} |panels=12|turn=75 |prev=77|next=79|side=[[Royal Crown Coalition]]}}| | + | 78={{ #switch: {{{paramname}}} |panels=12|turn=75|date=AW|prev=77|next=79|side=[[Royal Crown Coalition]]}}| |
| - | 79={{ #switch: {{{paramname}}} |panels=11|turn=75 |prev=78|next=80|side=[[Royal Crown Coalition]]}}| | + | 79={{ #switch: {{{paramname}}} |panels=11|turn=75|date=AW|prev=78|next=80|side=[[Royal Crown Coalition]]}}| |
| - | 80={{ #switch: {{{paramname}}} |panels=10|turn=75 |prev=79|next=81|side=[[Royal Crown Coalition]]}}| | + | 80={{ #switch: {{{paramname}}} |panels=10|turn=75|date=AW|prev=79|next=81|side=[[Royal Crown Coalition]]}}| |
| - | 81={{ #switch: {{{paramname}}} |panels=10|turn=75 |prev=80|next=82|side=[[Royal Crown Coalition]]}}| | + | 81={{ #switch: {{{paramname}}} |panels=10|turn=75|date=AW|prev=80|next=82|side=[[Royal Crown Coalition]]}}| |
| - | 82={{ #switch: {{{paramname}}} |panels=13|turn=75 |prev=81|next=Text 56|side=[[Royal Crown Coalition]]}}| | + | 82={{ #switch: {{{paramname}}} |panels=13|turn=75|date=AW|prev=81|next=Text 56|side=[[Royal Crown Coalition]]}}| |
Text 56={{ #switch: {{{paramname}}} |panels=1|turn=75 |prev=82 |next=83 |side=[[Royal Crown Coalition]]}}| | Text 56={{ #switch: {{{paramname}}} |panels=1|turn=75 |prev=82 |next=83 |side=[[Royal Crown Coalition]]}}| | ||
| - | 83={{ #switch: {{{paramname}}} |panels=11|turn=75 |prev=Text 56 |next=84|side=[[Royal Crown Coalition]]}}| | + | 83={{ #switch: {{{paramname}}} |panels=11|turn=75|date=AW|prev=Text 56 |next=84|side=[[Royal Crown Coalition]]}}| |
| - | 84={{ #switch: {{{paramname}}} |panels=13|turn=75 |prev=83 |next=85|side=[[Royal Crown Coalition]]}}| | + | 84={{ #switch: {{{paramname}}} |panels=13|turn=75|date=AW|prev=83 |next=85|side=[[Royal Crown Coalition]]}}| |
| - | 85={{ #switch: {{{paramname}}} |panels=14|turn=75 |prev=84 |next=86|side=[[Royal Crown Coalition]]}}| | + | 85={{ #switch: {{{paramname}}} |panels=14|turn=75|date=AW|prev=84 |next=86|side=[[Royal Crown Coalition]]}}| |
| - | 86={{ #switch: {{{paramname}}} |panels=13|turn=75 |prev=85 |next=87|side=[[Royal Crown Coalition]]}}| | + | 86={{ #switch: {{{paramname}}} |panels=13|turn=75|date=AW|prev=85 |next=87|side=[[Royal Crown Coalition]]}}| |
| - | 87={{ #switch: {{{paramname}}} |panels=13|turn=75 |prev=86 |next=88|side=[[Royal Crown Coalition]]}}| | + | 87={{ #switch: {{{paramname}}} |panels=13|turn=75|date=AW|prev=86 |next=88|side=[[Royal Crown Coalition]]}}| |
| - | 88={{ #switch: {{{paramname}}} |panels=14|turn=75 |prev=87 |next=89|side=[[Royal Crown Coalition]]}}| | + | 88={{ #switch: {{{paramname}}} |panels=14|turn=75|date=AW|prev=87 |next=89|side=[[Royal Crown Coalition]]}}| |
89={{ #switch: {{{paramname}}} |panels=14|turn=75|date=AW|prev=88 |next=END|side=[[Royal Crown Coalition]]}}| | 89={{ #switch: {{{paramname}}} |panels=14|turn=75|date=AW|prev=88 |next=END|side=[[Royal Crown Coalition]]}}| | ||
| + | |||
Revision as of 21:55, 22 September 2012
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