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: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice test as switch |
imported>Hardvice |
||
| Line 1: | Line 1: | ||
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%; background-color: #CCD5F4; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" cellspacing="2" |
|||
{{#if: {{#pos: {{PAGENAME}}|pisode:}} | {{Episode sidebar/full}} | {{Episode sidebar/aotw}}}} |
|||
|- |
|||
| ⚫ | |||
! style="background: {{{color|#cedff2}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{{title}}} |
|||
{{#if: {{{season|}}} | <tr> <th>Season</th> <td>[[Season {{{season}}}|{{{season}}}]]</td> </tr>}}<!-- |
|||
-->{{#if: {{{number|}}} | <tr> <th>Episode number </th> <td>{{{number}}}</td> </tr>}}<!-- |
|||
-->{{#if: {{{airdate|}}} | <tr> <th>First aired:</th> <td>{{{airdate}}}</td> </tr>}}<!-- |
|||
-->{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{{image}}} {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>}} |
|||
|- |
|||
{{#if: {{{writtenby|}}} | <tr> <th>Written by:</th> <td>{{{writtenby}}}</td> </tr>}}<!-- |
|||
-->{{#if: {{{directedby|}}} | <tr> <th>Directed by:</th> <td>{{{directedby}}}</td> </tr>}} |
|||
|- |
|||
{{#if: {{{last|}}} | <tr> <th>Previous episode:</th> <td>{{{last}}}</td> </tr>}}<!-- |
|||
-->{{#if: {{{next|}}} | <tr> <th>Next episode:</th> <td>{{{next}}}</td> </tr>}} |
|||
| ⚫ | |||
== Usage == |
== Usage == |
||
Produces a formatted sidebar for use on episode pages, floated to the right |
Produces a formatted sidebar for use on episode pages, floated to the right |
||
For unaired episodes, the template will auto-add the default ''Heroes'' image if <tt>image=</tt> is left blank. |
|||
{| style="background: transparent;" |
{| style="background: transparent;" |
||
| Line 19: | Line 29: | ||
| last = <!-- Link to previous episode --> |
| last = <!-- Link to previous episode --> |
||
| next = <!-- Link to next episode --> |
| next = <!-- Link to next episode --> |
||
| spoiler = <!-- "true" for spoiler warning and colors --> |
|||
}}</pre> |
}}</pre> |
||
|} |
|} |
||
[[Category: Sidebars]] |
|||
[[Category:Templates]] |
[[Category:Templates]] |
||
</noinclude> |
</noinclude> |
||
Revision as of 22:02, 22 January 2007
| {{{title}}} |
|---|
Usage
Produces a formatted sidebar for use on episode pages, floated to the right
{{Episode sidebar
| 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 -->
}}
|