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.

Difference between revisions of "Template:Episode sidebar/Spoiler"

From Heroes Wiki
Jump to navigation Jump to search
imported>MiamiVolts
(+cat)
imported>Pierre
Line 15: Line 15:
 
-->{{#if: {{{next|}}} | <tr> <th>Next spoiler:</th> <td>''{{#if: {{#pos:{{{next}}}|poiler:}} |{{{next}}}|{{#ifexist: {{{next}}} | [[Spoiler:{{{next}}}|{{{next}}}]] | {{{next}}} }}}}''</td> </tr>}}
 
-->{{#if: {{{next|}}} | <tr> <th>Next spoiler:</th> <td>''{{#if: {{#pos:{{{next}}}|poiler:}} |{{{next}}}|{{#ifexist: {{{next}}} | [[Spoiler:{{{next}}}|{{{next}}}]] | {{{next}}} }}}}''</td> </tr>}}
 
|}
 
|}
<includeonly>{{#ifeq: {{{aired|}}} | no | {{spoilermain}} | {{archivedspoiler}} }} For general spoilers about upcoming episodes, see [[Spoiler:Upcoming episodes]].</includeonly><noinclude>
+
<includeonly>{{#ifeq: {{{aired|}}} | no | {{spoilermain}} | {{archivedspoiler}} }} For general spoilers about upcoming episodes, see [[Spoiler:Heroes]].</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==

Revision as of 09:41, 12 August 2008

{{{title}}}
Unaired episode.jpg


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 -->
}}