Actions

Template

Difference between revisions of "EpisodeBob"

From Sonic Retro

m (Text replace - "Category:Breakout Box Templates" to "Category:Breakout box templates")
Line 1: Line 1:
 +
<div itemscope itemtype='http://schema.org/TVEpisode'>
 
{|cellpadding="0" cellspacing="0" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; clear:left;" class="breakout"
 
{|cellpadding="0" cellspacing="0" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; clear:left;" class="breakout"
 
| style="text-align: center;"|
 
| style="text-align: center;"|
 
{{ #if: {{{screen|}}} | [[Image:{{{screen}}}|300px]] | [[Image:Notavailable.svg|300px]] }}
 
{{ #if: {{{screen|}}} | [[Image:{{{screen}}}|300px]] | [[Image:Notavailable.svg|300px]] }}
 
|-
 
|-
! {{ #if: {{{series|}}} | ''{{{series}}}'' episode | }}{{
+
! {{ #if: {{{series|}}} | ''<span itemprop="partOfSeries">{{{series}}}</span>'' episode | }}{{
 
#if: {{{number|}}} | &nbsp;<nowiki>#</nowiki>{{{number}}}<br> | }}{{
 
#if: {{{number|}}} | &nbsp;<nowiki>#</nowiki>{{{number}}}<br> | }}{{
#if: {{{title|}}} | "{{{title}}}" | "{{PAGENAME}}" }}
+
#if: {{{title|}}} | "<span itemprop="name">{{{title}}}</span>" | "<span itemprop="name">{{PAGENAME}}</span>" }}
 
|-
 
|-
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
Line 13: Line 14:
 
  #if: {{{airdate|}}} | '''Original airdate''': {{{airdate}}}<br> | }}{{
 
  #if: {{{airdate|}}} | '''Original airdate''': {{{airdate}}}<br> | }}{{
 
  #if: {{{country|}}} | '''Country''': {{{country}}}<br> | }}
 
  #if: {{{country|}}} | '''Country''': {{{country}}}<br> | }}
|}<noinclude>
+
|}
 +
</div>
 +
<noinclude>
 
==Usage==
 
==Usage==
 
This template is to be used on articles about an episode of a TV series. Place the following at the top of a page:
 
This template is to be used on articles about an episode of a TV series. Place the following at the top of a page:

Revision as of 15:01, 2 September 2015

Notavailable.svg

"EpisodeBob"

Usage

This template is to be used on articles about an episode of a TV series. Place the following at the top of a page:

{{Episode
| screen=
| series=
| number=
| title=
| writer=
| director=
| productno=
| airdate=
| country=
}}

All fields are optional.

Example

Template:Episode

{{Episode
| screen= Hedgehog.jpg
| series= Some TV Series
| number= 12
| title= Episode Twelve
| writer= [[Hivebrain]]
| director= [[Hivebrain]]
| productno= 012
| airdate= 21st September 2007
| country= Japan
}}