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>Ryangibsonstewart
(these links aren't to episodes but to spoilers)
imported>Ryangibsonstewart
(link to upcoming episode spoilers)
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}} }}</includeonly><noinclude>
+
<includeonly>{{#ifeq: {{{aired|}}} | no | {{spoilermain}} | {{archivedspoiler}} }}
 +
<small>''For general spoilers about upcoming episodes, see [[Spoiler:Upcoming episodes]]''.</small></includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==

Revision as of 22:01, 7 May 2007

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