Template:Episodeinfo
From AndroWiki
(Difference between revisions)
m (cat) |
m |
||
(17 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" | + | {{!-}} |
− | + | ! 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> |
− | ! colspan="2" | + | |{{!-}} }} |
− | + | {{ #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 {{{ | + | !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> | <noinclude> | ||
Line 39: | Line 41: | ||
<pre> | <pre> | ||
{{Episodeinfo | {{Episodeinfo | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| season_id ="season id" | | season_id ="season id" | ||
− | | | + | | episode_id ="episode id with 2 letters" |
}} | }} | ||
</pre> | </pre> | ||
− | '''Example ( | + | '''Example ([[{{episodename|1x01}}]])''' |
<pre> | <pre> | ||
{{Episodeinfo | {{Episodeinfo | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| season_id =1 | | season_id =1 | ||
− | | | + | | episode_id =01 |
}} | }} | ||
</pre> | </pre> | ||
− | [[Category: | + | [[Category:Templates]] |
+ | [[de:Vorlage:Episodeninfo]] | ||
</noinclude> | </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 }}