FANDOM


m (Removing a blank line.)
(Testing Caption source to see if I can fix the ampersand problem.)
Line 4: Line 4:
 
</title>
 
</title>
 
<image source="Image">
 
<image source="Image">
<caption source="Caption"><default>{{#ifeq:{{NAMESPACE}}||[[Category:Episodes needing thumbnails in infobox]]}}</default><format><div style="width:100%; text-align:center;">{{{Caption}}}</div></format></caption>
+
<data source="Caption"><default>{{#ifeq:{{NAMESPACE}}||[[Category:Episodes needing thumbnails in infobox]]}}</default><format><div style="width:100%; text-align:center;">{{{Caption}}}</div></format></data>
 
</image>
 
</image>
 
<data source="EpNum"><label>Episode</label><format><div style="width:100%; text-align:right;">{{#switch:{{lc:{{{ChapterNum|}}}}}|s|special|specials=[[Specials]]{{#ifeq:{{NAMESPACE}}||[[Category:Specials]]}}|tm|talks|talks machina=[[Talks Machina]]{{#ifeq:{{NAMESPACE}}||[[Category:Talks Machina]]}}|#default={{#if:{{{ChapterNum|}}}|{{#ifexist:Chapter {{{ChapterNum|}}}|[[Chapter {{{ChapterNum|}}}]]{{#ifeq:{{NAMESPACE}}||[[Category:Chapter {{{ChapterNum|}}}]]}}}}|{{{ChapterNum|}}}}}}}{{#ifeq:{{NAMESPACE}}||{{#if:{{{ChapterNum|}}}||[[Category:Episodes needing chapter number in infobox]]}}}}, Episode {{{EpNum|}}}{{#ifeq:{{NAMESPACE}}||{{#if:{{{EpNum|}}}||[[Category:Episodes needing episode number in infobox]]}}}}{{#if:{{{GnSNum|}}}|<br/><small>(<abbr style="cursor:help;border-bottom:1px dotted {{#ifeq:{{{Unaired|}}}|true|#E18F77|#B5B7CF}};" title="Geek & Sundry's episode numbering conventions differ from this wiki's.&#13;&#10;This episode number was assigned by Geek & Sundry or, if followed by&#13;&#10;a letter, then this episode aired after the number shown but did not&#13;&#10;receive a number itself.">G&S #{{{GnSNum|}}}</abbr>)</small>|{{#ifeq:{{NAMESPACE}}||[[Category:Episodes needing GnSNum in infobox]]}}}}</div></format></data>
 
<data source="EpNum"><label>Episode</label><format><div style="width:100%; text-align:right;">{{#switch:{{lc:{{{ChapterNum|}}}}}|s|special|specials=[[Specials]]{{#ifeq:{{NAMESPACE}}||[[Category:Specials]]}}|tm|talks|talks machina=[[Talks Machina]]{{#ifeq:{{NAMESPACE}}||[[Category:Talks Machina]]}}|#default={{#if:{{{ChapterNum|}}}|{{#ifexist:Chapter {{{ChapterNum|}}}|[[Chapter {{{ChapterNum|}}}]]{{#ifeq:{{NAMESPACE}}||[[Category:Chapter {{{ChapterNum|}}}]]}}}}|{{{ChapterNum|}}}}}}}{{#ifeq:{{NAMESPACE}}||{{#if:{{{ChapterNum|}}}||[[Category:Episodes needing chapter number in infobox]]}}}}, Episode {{{EpNum|}}}{{#ifeq:{{NAMESPACE}}||{{#if:{{{EpNum|}}}||[[Category:Episodes needing episode number in infobox]]}}}}{{#if:{{{GnSNum|}}}|<br/><small>(<abbr style="cursor:help;border-bottom:1px dotted {{#ifeq:{{{Unaired|}}}|true|#E18F77|#B5B7CF}};" title="Geek & Sundry's episode numbering conventions differ from this wiki's.&#13;&#10;This episode number was assigned by Geek & Sundry or, if followed by&#13;&#10;a letter, then this episode aired after the number shown but did not&#13;&#10;receive a number itself.">G&S #{{{GnSNum|}}}</abbr>)</small>|{{#ifeq:{{NAMESPACE}}||[[Category:Episodes needing GnSNum in infobox]]}}}}</div></format></data>

Revision as of 15:34, April 29, 2018


Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
The episode infobox is still heavily under construction. If you are good with making infoboxes and think something is still missing from this infobox (which is probably a lot), please add to it.

Description

This template is used to create an episode infobox.

Syntax

Type {{Infobox Episode|<...>}} somewhere, with parameters as shown below.

Parameters

| Unaired = If the episode is unaired, then true (Optional | DEFAULT: false)
| Name = Header title (Optional | DEFAULT: {{PAGENAME}})
| Image = Image (Just the name including extension, no File:) (Optional)
| ImageSize = Image width (original width or 350px) (Optional | DEFAULT: 350px)
| Caption = Caption for the image (Optional)
| ChapterNum = Chapter # (Required)
| EpNum = Episode # within the chapter (Required)
| GnSNum = Episode # assigned by G&S, or most recent # with the next alphabetical letter (e.g., 49b) (Optional but desired)
| Airdate = Date and time of initial broadcast (Optional but desired)
| Runtime = Runtime of episode in HH:MM:SS format (Optional but desired)
| VOD = Link to video, preferably to G&S's website (Optional but desired)
| Podcast = Link to podcast version of the episode (Optional but desired)
| Starring = Cast members and their characters in the episode, using the template {{Starring}} (Optional but desired)
| SpecialGuests = Special guest stars and their characters in the episode, using the template {{Starring}} (Optional but desired)
| PrevChapterEp = Previous episode in the chapter; accepts {{ep}} usage (Optional but desired)
| NextChapterEp = Next episode in the chapter; accepts {{ep}} usage (Optional but desired)
| PrevAirdateEp = Previous episode in airdate order; accepts {{ep}} usage (Optional but desired)
| NextAirdateEp = Next episode in airdate order; accepts {{ep}} usage (Optional but desired)

Sample Output

{{Infobox Episode
| Unaired = false
| Name = Arrival at Kraghammer
| Image = Group-Arrival-at-Kraghammer.jpg
| ImageSize = 
| Caption = The ''Critical Role'' party and Dungeon Master, by [[Kit Buss]].
| ChapterNum = 1
| EpNum = 01
| GnSNum = 1
| Airdate = 2015-03-12 19:00 PDT
| Runtime = 3:03:07
| VOD = http://geekandsundry.com/critical-role-episode-1/
| Podcast = http://criticalrolepodcast.geekandsundry.com/e/episode-1-arrival-at-kraghammer/
| Starring = {{Starring
  | [[Orion Acaba]] | [[Tiberius]]
  | [[Laura Bailey]] | [[Vex'ahlia]]
  | [[Taliesin Jaffe]] | [[Percy]]
  | [[Liam O'Brien]] | [[Vax'ildan]]
  | [[Marisha Ray]] | [[Keyleth]]
  | [[Sam Riegel]] | [[Scanlan]]
  | [[Travis Willingham]] | [[Grog]]
  | [[Matthew Mercer]] | dm
  }}
| SpecialGuests = 
| PrevChapterEp = {{Ep|[[The Story of Vox Machina]]}}
| NextChapterEp = {{Ep|[[Into the Greyspine Mines]]}}
| PrevAirdateEp = {{AirdateOrder|Arrival at Kraghammer|order=prev}}
| NextAirdateEp = {{AirdateOrder|Arrival at Kraghammer|order=next}}
}}
...results in the infobox on the right.


Empty Template

{{Infobox Episode
| Unaired = true
| Name = {{PAGENAME}}
| Image = 
| ImageSize = 
| Caption = 
| ChapterNum = 
| EpNum = 
| GnSNum = 
| Airdate = 
| Runtime = 
| VOD = 
| Podcast = 
| Starring = {{Starring
  | [[Laura Bailey]] | [[Jester]]
  | [[Taliesin Jaffe]] | [[Mollymauk Tealeaf]]
  | [[Ashley Johnson]] | [[Yasha]]
  | [[Liam O'Brien]] | [[Caleb Widogast]]
  | [[Marisha Ray]] | [[Beauregard]]
  | [[Sam Riegel]] | [[Nott]]
  | [[Travis Willingham]] | [[Fjord]]
  | [[Matthew Mercer]] | DM
  }}
| SpecialGuests = 
| PrevChapterEp = {{ep|XX}}
| NextChapterEp = {{ep|XX}}
| PrevAirdateEp = {{AirdateOrder|{{PAGENAME}}|order=prev}}
| NextAirdateEp = {{AirdateOrder|{{PAGENAME}}|order=next}}
}}
The above text is transcluded from Template:Infobox Episode/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox Episode/doc. (View all subpages of this page.)
Community content is available under CC-BY-SA unless otherwise noted.