This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Episode sidebar/Spoiler: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
imported>Pierre
No edit summary
imported>Ryangibsonstewart
standard image format
 
Line 6: Line 6:
-->{{#if: {{{number|}}} | <tr> <th>Episode number: </th> <td>{{{number}}}</td> </tr>}}<!--
-->{{#if: {{{number|}}} | <tr> <th>Episode number: </th> <td>{{{number}}}</td> </tr>}}<!--
-->{{#if: {{{airdate|}}} | <tr> <th>{{#ifeq: {{{aired|}}} | no | Planned airdate: | First aired: }}</th> <td>{{{airdate}}}</td> </tr>}}<!--
-->{{#if: {{{airdate|}}} | <tr> <th>{{#ifeq: {{{aired|}}} | no | Planned airdate: | First aired: }}</th> <td>{{{airdate}}}</td> </tr>}}<!--
-->{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{{image}}} | <tr> <td align="center" colspan="2">[[Image:unaired_episode.jpg]] }}<!--
-->{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{image}}}]] | <tr> <td align="center" colspan="2">[[Image:unaired_episode.jpg]] }}<!--
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}}
-->{{#if: {{{caption|}}} | <br>{{{caption}}}</td> </tr>}}
|-
|-

Latest revision as of 04:47, 16 April 2009

{{{title}}}


Usage

Produces a formatted sidebar for use on the Spoiler version of episode pages, floated to the right.

For unaired episodes, the template will auto-add the default Heroes image if image= is left blank.

{{Episode sidebar/Spoiler
| title = <!-- Episode title -->
| image = <!-- Image from the episode -->
| caption = <!-- Caption for the image. -->
| season = <!-- Season number (One, Two Three, etc.) -->
| number = <!-- Episode number (101, 102, etc.) -->
| airdate = <!-- Date first aired (October 2, 2006, etc.) -->
| writtenby = <!-- Episode's writer(s) -->
| directedby = <!-- Episode's director --> 
| last = <!-- Link to previous episode -->
| next = <!-- Link to next episode -->
| aired = <!-- "no" if the episode has not yet aired -->
}}