FANDOM


m
 
(Converted to a portable infobox.)
 
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
+
<infobox layout="stacked">
|-
+
<title source="name"><default>{{PAGENAME}}</default></title>
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | ''{{{name}}}''
+
<data source="season"><label>season</label></data>
|- style="text-align:center;"
+
<data source="number"><label>number</label></data>
| colspan="2" | ''Season {{{season}}}, Episode {{{number}}}''
+
<image source="image"/>
|- style="text-align:center;"
+
<data source="airdate"><label>'''Air date'''</label></data>
{{#if: {{{image|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]] }}
+
<data source="writer"><label>'''Written by'''</label></data>
|-
+
<data source="director"><label>'''Directed by'''</label></data>
{{#if: {{{airdate|}}} | {{!}} '''Air date''' {{!!}} {{{airdate}}} }}
+
<data source="previous"><label>previous</label></data>
|-
+
<data source="next"><label>'''Previous'''<br />{{{previous}}}</label></data>
{{#if: {{{writer|}}} | {{!}} '''Written by''' {{!!}} {{{writer}}} }}
+
</infobox>
|-
+
<noinclude>
{{#if: {{{director|}}} | {{!}} '''Directed by''' {{!!}} {{{director}}} }}
+
== Usage & preview ==
|-
+
Type in this:
| colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:0.25em; text-align:center;" | Episode guide
+
|- style="text-align:center; font-size:95%;" valign="top"
+
<pre>
| '''Previous'''<br />{{{previous}}}
+
{{Infobox episode
| '''Next'''<br />{{{next}}}
+
|name=
|}<noinclude><br style="clear:both;" />
+
|season=
{{documentation}}</noinclude>
+
|number=
  +
|image=
  +
|imagewidth=
  +
|airdate=
  +
|writer=
  +
|director=
  +
|previous=
  +
|next=
  +
}}
  +
  +
</pre>
  +
  +
to see this:
  +
  +
{{Infobox episode
  +
|name=This is a test
  +
|season=This is a test
  +
|number=This is a test
  +
|image=This is a test
  +
|imagewidth=This is a test
  +
|airdate=This is a test
  +
|writer=This is a test
  +
|director=This is a test
  +
|previous=This is a test
  +
|next=This is a test
  +
}}
  +
  +
  +
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
  +
</noinclude><noinclude>{{documentation}}</noinclude>

Latest revision as of 06:24, July 15, 2019

Usage & preview Edit

Type in this:

{{Infobox episode
|name=
|season=
|number=
|image=
|imagewidth=
|airdate=
|writer=
|director=
|previous=
|next=
}}

to see this:


Click here to refresh the preview above

Template documentation (for the above template, sometimes hidden or invisible)

DescriptionEdit

To use this template, copy the following code and fill in the appropriate fields.

SyntaxEdit

{{infobox episode
 | title             = 
 | partOfSeason      = 
 | episodeNumber     = 
 | image             = [e.g. "Example.jpg"]
 | airdate           = 
 | writer            = 
 | director          = 
 | previousEpisode   = 
 | nextEpisode       = 
}}

Sample outputEdit

{{infobox episode
 | title             = Flower of Babel
 | partOfSeason      = One
 | episodeNumber     = Three
 | image             = Example.jpg
 | airdate           = Unaired
 | writer            = D. Righta
 | director          = A. di Rektour
 | previousEpisode   = Episode Two
 | nextEpisode       = Episode Four
}}

Results in...


Community content is available under CC-BY-SA unless otherwise noted.