Template:Episodeinfo

From AndroWiki
(Difference between revisions)
Jump to: navigation, search
m (generic link for the summary)
m
 
(11 intermediate revisions by one user not shown)
Line 1: Line 1:
{| cellpadding="2" style="float: right; width: 280px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;"
+
<includeonly>{| cellpadding="2" style="float: right; width: 300px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;"
 
|----- bgcolor="#FFFFFF"
 
|----- bgcolor="#FFFFFF"
| <center>[[Image:{{{image_name}}}|280px]]</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>{{{quotation}}}</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>[[{{{season_name}}}]]</center>
+
| <center>[[{{seasonname|{{{season_id}}}}}]]</center>
|----- bgcolor="#FFFFFF"
+
|----- bgcolor="#FFFFFF"  
| <center>[http://www.andromedatv.com/episodes/season{{{season_no}}}/epi_{{{season_no}}}{{{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 }} }} |
! colspan="2"  | <center>Last Episode</center>
+
{{!-}}
|----- bgcolor="#FFFFFF"
+
! colspan="2"  {{!}} <center>Last Episode</center>
| <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"  | <center>Next Episode</center>
+
|{{!-}} }}
|----- bgcolor="#FFFFFF"
+
{{ #ifexist: {{ #ifeq: {{{episode_id}}} | 22 | {{ #expr: {{{season_id}}} + 1 }}x01 | {{{season_id}}}x{{ #ifexpr: {{ #expr: {{{episode_id}}} + 1 }} < 10 | 0}}{{ #expr: {{{episode_id}}} + 1 }} }} |
| <center>{{{following_episode}}}</center>
+
{{!-}}
 +
! 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 {{{episode_no}}} ({{{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}}]]
<includeonly>[[Category:Episodes]]</includeonly>
+
[[Category:Episodes]]</includeonly>
 
+
 
<noinclude>
 
<noinclude>
  
Line 39: Line 41:
 
<pre>
 
<pre>
 
{{Episodeinfo
 
{{Episodeinfo
| image_name        ="name of the image"
 
| quotation        ="quotation"
 
| season_name      ="name of the season"
 
| following_episode ="the row of the following episode"
 
| last_episode      ="the row of the last episode"
 
| episode_id        ="episode id with 2 letters"
 
 
| season_id        ="season id"
 
| season_id        ="season id"
| episode_no       = "number of the episode"
+
| episode_id       ="episode id with 2 letters"
 
}}
 
}}
 
</pre>
 
</pre>
  
'''Example (First episode)'''
+
'''Example ([[{{episodename|1x01}}]])'''
 
<pre>
 
<pre>
 
{{Episodeinfo
 
{{Episodeinfo
| image_name        =101.jpg
 
| quotation        =''"If the Commonwealth's High Guard<br>had a weekness, it was this:<br>Its officers were too competent,<br>too caring and too brave."''<br>[[Yin Man-Wei]]<br>The Rise and the Fall of the Systems Commonwealth<br>C.Y. 11942
 
| season_name      =Season One
 
| last_episode      =
 
| following_episode =[[1x02]] - [[Fiat Lux]]
 
| episode_id        =01
 
 
| season_id        =1
 
| season_id        =1
| episode_no       =001
+
| episode_id       =01
 
}}
 
}}
 
</pre>
 
</pre>

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
}}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages