Template:Episodeinfo
From AndroWiki
(Difference between revisions)
m |
m |
||
(One intermediate revision by one user not shown) | |||
Line 12: | Line 12: | ||
|----- bgcolor="#FFFFFF" | |----- bgcolor="#FFFFFF" | ||
| <center>[http://www.andromedatv.com/episodes/season{{{season_id}}}/epi_{{{season_id}}}{{{episode_id}}}.html Summary]</center> | | <center>[http://www.andromedatv.com/episodes/season{{{season_id}}}/epi_{{{season_id}}}{{{episode_id}}}.html Summary]</center> | ||
− | |||
{{ #ifexist: {{ #ifeq: {{{episode_id}}} | 01 | {{ #expr: {{{season_id}}} - 1 }}x22 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} - 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} - 1 }} }} | | {{ #ifexist: {{ #ifeq: {{{episode_id}}} | 01 | {{ #expr: {{{season_id}}} - 1 }}x22 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} - 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} - 1 }} }} | | ||
{{!-}} | {{!-}} | ||
Line 18: | Line 17: | ||
{{!-}} bgcolor="#FFFFFF" | {{!-}} bgcolor="#FFFFFF" | ||
{{!}} <center>[[{{ #ifeq: {{{episode_id}}} | 01 | {{ #expr: {{{season_id}}} - 1 }}x22 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} - 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} - 1 }} }}]] - [[{{episodename|{{ #ifeq: {{{episode_id}}} | 01 | {{ #expr: {{{season_id}}} - 1 }}x22 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} - 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} - 1 }} }}}}]]</center> | {{!}} <center>[[{{ #ifeq: {{{episode_id}}} | 01 | {{ #expr: {{{season_id}}} - 1 }}x22 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} - 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} - 1 }} }}]] - [[{{episodename|{{ #ifeq: {{{episode_id}}} | 01 | {{ #expr: {{{season_id}}} - 1 }}x22 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} - 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} - 1 }} }}}}]]</center> | ||
− | + | |{{!-}} }} | |
− | + | {{ #ifexist: {{ #ifeq: {{{episode_id}}} | 22 | {{ #expr: {{{season_id}}} + 1 }}x01 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} + 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} + 1 }} }} | | |
{{!-}} | {{!-}} | ||
! colspan="2" {{!}} <center>Next Episode</center> | ! colspan="2" {{!}} <center>Next Episode</center> | ||
{{!-}} bgcolor="#FFFFFF" | {{!-}} bgcolor="#FFFFFF" | ||
{{!}} <center>[[{{ #ifeq: {{{episode_id}}} | 22 | {{ #expr: {{{season_id}}} + 1 }}x01 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} + 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} + 1 }} }}]] - [[{{episodename|{{ #ifeq: {{{episode_id}}} | 22 | {{ #expr: {{{season_id}}} + 1 }}x01 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} + 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} + 1 }} }}}}]]</center> | {{!}} <center>[[{{ #ifeq: {{{episode_id}}} | 22 | {{ #expr: {{{season_id}}} + 1 }}x01 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} + 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} + 1 }} }}]] - [[{{episodename|{{ #ifeq: {{{episode_id}}} | 22 | {{ #expr: {{{season_id}}} + 1 }}x01 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} + 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} + 1 }} }}}}]]</center> | ||
− | }} | + | |{{!-}} }} |
|} | |} | ||
Latest revision as of 15:32, 12 March 2007
Usage
Universal
{{Episodeinfo | season_id ="season id" | episode_id ="episode id with 2 letters" }}
Example (Under The Night)
{{Episodeinfo | season_id =1 | episode_id =01 }}