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
(oh, well if that's where it shows up, then no need to make it small or ital)
imported>Ryangibsonstewart
(standard image format)
 
(3 intermediate revisions by 3 users not shown)
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>}}
 
|-
 
|-
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 ==
Line 37: Line 37:
 
}}</pre>
 
}}</pre>
 
|}
 
|}
[[Category: Sidebars]]
+
{{Nousercat|Sidebars}}
[[Category:Templates]]
+
{{Nousercat|Subtemplates}}
 
</noinclude>
 
</noinclude>

Latest revision as of 22:47, 15 April 2009

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