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"

From Heroes Wiki
Jump to navigation Jump to search
imported>Admin
imported>LIMAFOX76
m (Adding spoiler in episode page)
Line 1: Line 1:
{{#if: {{#pos: {{FULLPAGENAME}}|pisode:}} |  
+
{{#if: {{#pos: {{FULLPAGENAME}}|pisode:}}{{#pos: {{FULLPAGENAME}}|poiler:}} |  
 
{{Episode sidebar/full
 
{{Episode sidebar/full
 
|title={{#if:{{{title|}}}|{{{title|}}}}}
 
|title={{#if:{{{title|}}}|{{{title|}}}}}

Revision as of 14:46, 14 May 2015

[[Episode:|]]
[[|     ]]
[[Image:|150px|]]
[[Episode talk:|checklist]]


Usage

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

On the main episode page, the full-sized, fully labeled sidebar will appear. When the episode page is transcluded (for example, in Template:aotw), a smaller-sized, less detailed sidebar will appear instead.

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

{{Episode sidebar
| title = <!-- Episode title -->
| image = <!-- Image from the episode -->
| 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 -->
| spoiler = <!-- "true" for spoiler warning and colors -->
}}