Template:Episodeinfo
From AndroWiki
(Difference between revisions)
m |
m |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| cellpadding="2" style="float: right; width: | + | <includeonly>{| cellpadding="2" style="float: right; width: 300px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;" |
|----- bgcolor="#FFFFFF" | |----- bgcolor="#FFFFFF" | ||
− | | <center>{{{ | + | | <center>[[Image:{{{season_id}}}{{ #ifexpr: {{ #expr: {{{episode_id}}} }} < 10 | 0}}{{ #expr:{{{episode_id}}}}}.jpg|300px]]</center> |
|----- | |----- | ||
! colspan="2" | <center>Quotation</center> | ! colspan="2" | <center>Quotation</center> | ||
|----- bgcolor="#FFFFFF" | |----- bgcolor="#FFFFFF" | ||
− | | <center> | + | | <center>{{quotation|{{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} }} < 10 | 0}}{{ #expr:{{{episode_id}}}}}}}</center> |
|----- | |----- | ||
! colspan="2" | <center>Information</center> | ! colspan="2" | <center>Information</center> | ||
|----- bgcolor="#FFFFFF" | |----- bgcolor="#FFFFFF" | ||
− | | <center>{{{ | + | | <center>[[{{seasonname|{{{season_id}}}}}]]</center> |
− | |----- bgcolor="#FFFFFF" | + | |----- bgcolor="#FFFFFF" |
− | | <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 }} }} | |
− | ! colspan="2" | + | {{!-}} |
− | |----- bgcolor="#FFFFFF" | + | ! colspan="2" {{!}} <center>Last Episode</center> |
− | + | {{!-}} 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> | ||
+ | |{{!-}} }} | ||
+ | {{ #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> | ||
+ | {{!-}} 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> | ||
+ | |{{!-}} }} | ||
|} | |} | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|-style="background:#DEDDE2" | |-style="background:#DEDDE2" | ||
− | !style="border-left"|Episode 0{{{episode_id}}} ({{{season_id}}}x{{{episode_id}}} | + | !style="border-left"|Episode {{ #ifexpr: {{ #expr: ({{{season_id}}} - 1) * 22 + {{{episode_id}}} }} < 100 | 0}}{{ #ifexpr: {{ #expr: ({{{season_id}}} - 1) * 22 + {{{episode_id}}} }} < 10 | 0}}{{ #expr: ({{{season_id}}} - 1) * 22 + {{{episode_id}}} }} ({{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} }} < 10 | 0}}{{ #expr:{{{episode_id}}}}}) |
− | | | + | |
|}<br> | |}<br> | ||
− | [[de:{{{season_id}}}x{{{episode_id}}}]] | + | [[de:{{episodename|{{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} }} < 10 | 0}}{{ #expr:{{{episode_id}}}}}|de}}]] |
+ | [[Category:Episodes]]</includeonly> | ||
+ | <noinclude> | ||
+ | |||
+ | |||
+ | |||
+ | ==Usage== | ||
+ | '''Universal''' | ||
+ | <pre> | ||
+ | {{Episodeinfo | ||
+ | | season_id ="season id" | ||
+ | | episode_id ="episode id with 2 letters" | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | '''Example ([[{{episodename|1x01}}]])''' | ||
+ | <pre> | ||
+ | {{Episodeinfo | ||
+ | | season_id =1 | ||
+ | | episode_id =01 | ||
+ | }} | ||
+ | </pre> | ||
+ | [[Category:Templates]] | ||
+ | [[de:Vorlage:Episodeninfo]] | ||
+ | </noinclude> |
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 }}