Template:Infobox episode

From /lit/ Wiki
Revision as of 01:42, 19 May 2010 by imported>Default
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
{{#if: | | colspan="2" style="padding:0.5em;" | [[{{{image}}}|250px]] }} {{#if: | | Air date || {{{airdate}}} }} {{#if: | | Written by || {{{writer}}} }} {{#if: | | Directed by || {{{director}}} }}
{{{name}}}
Season {{{season}}}, Episode {{{number}}}
Episode guide
Previous
{{{previous}}}
Next
{{{next}}}


Template documentation (for the above template, sometimes hidden or invisible)
Description
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. Don't forget to include brackets, to make the fields into links.
Syntax
Type {{infobox episode{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} somewhere, with parameters as shown below.
Sample output
{{infobox episode
| name       = Five Alive
| season     = Five
| number     = Five
| image      = Image:Example.jpg
| imagewidth = [defaults to 250] 
| airdate    = Unaired
| writer     = Mr. Writer
| director   = Ms. Director
| previous   = Episode A
| next       = Episode C
}}

Results in...

{{#if: Image:Example.jpg | | colspan="2" style="padding:0.5em;" | }} {{#if: Unaired | | Air date || Unaired }} {{#if: Mr. Writer | | Written by || Mr. Writer }} {{#if: Ms. Director | | Directed by || Ms. Director }}
Five Alive
Season Five, Episode Five
Episode guide
Previous
Episode A
Next
Episode C