Template:Infobox episode/doc: Difference between revisions

From fattwiki
(don't make episode number required)
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
Usage Example
=== Empty template ===
<pre>
{{Infobox episode
| color_theme =
| episode_number =
| title =
| live_date =
| patreon_date =
| release_date =
| length =
| content_warnings =
| cast =
| game =
| score =
| previous_episode =
| next_episode =
| previous_arc =
| next_arc =
| episode_page =
| patreon_page =
| transcript =
| transcript_text =
}}
</pre>


{{Infobox episode/Draft
=== Usage Example ===
 
{{Infobox episode
| color_theme = pzn
| color_theme = pzn
| episode_number = 03
| episode_number = 03
Line 23: Line 48:


<pre>
<pre>
{{Infobox episode/Draft
{{Infobox episode
| color_theme = pzn
| color_theme = pzn
| episode_number = 03
| episode_number = 03
Line 46: Line 71:
<templatedata>
<templatedata>
{
{
  "params":
"params": {
  {
"color_theme": {
    "color_theme": {
"label": "Color Theme",
      "label": "Color Theme",
"description": "Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.",
      "description": "Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.",
"default": "Default theme gold",
      "default": "Default theme gold",
"example": "bluff",
      "example": "bluff",
"required": false,
      "required": false,
"type": "string",
      "type": "string",
"suggested": true
      "suggested": true
},
    },
"title": {
    "title":  
"label": "Title",
    {
"description": "Title at the top of the infobox",
      "label": "Title",
"default": "Uses the page title",
      "description": "Title at the top of the infobox",
"required": true,
      "default": "Uses the page title",
"type": "content"
      "example": "",
},
      "required": true,
"image": {
      "type": "content"
"label": "Image",
    },
"description": "Image",
    "image":
"required": false,
    {
"type": "wiki-file-name"
      "label": "Image",
},
      "description": "Image",
"caption": {
      "required": false,
"label": "Caption",
      "type": "wiki-file-name"
"description": "Image caption",
    },
"required": false,
    "caption":
"type": "content"
    {
},
      "label": "Caption",
"episode_number": {
      "description": "Image caption",
"label": "Episode Number",
      "required": false,
"description": "Episode number",
      "type": "content"
"example": "1",
    },
"required": false,
    "episode_number":
"type": "content"
    {
},
      "label": "Episode Number",
"live_date": {
      "description": "Episode number",
"label": "Live Date",
      "example": "1",
"description": "Livestream/Live show date for Live at the Table and other live episodes.",
      "required": false,
"required": false,
      "type": "content"
"type": "content"
    },
},
    "live_date":
"patreon_date": {
    {
"label": "Patreon Date",
      "label": "Live Date",
"description": "Date of episode on the Patreon podcast feed, if different from Live Date.",
      "description": "Livestream/Live show date for Live at the Table and other live episodes.",
"required": false,
      "required": false,
"type": "content"
      "type": "content"
},
    },
"release_date": {
    "patreon_date":
"label": "Release Date",
    {
"description": "Date of episode on public podcast feed.",
      "label": "Patreon Date",
"required": false,
      "description": "Date of episode on the Patreon podcast feed, if different from Live Date.",
"type": "content"
      "required": false,
},
      "type": "content"
"length": {
    },
"label": "Length",
    "release_date":
"description": "Length of episode.",
    {
"required": false,
      "label": "Release Date",
"type": "content"
      "description": "Date of episode on public podcast feed.",
},
      "required": false,
"content_warnings": {
      "type": "content"
"label": "Content Warnings",
    },
"description": "Content warnings for this episode.",
    "length":
"required": false,
    {
"type": "content"
      "label": "Length",
},
      "description": "Length of episode.",
"cast": {
      "required": false,
"label": "Cast",
      "type": "content"
"description": "Cast members on this episode.",
    },
"required": false,
    "content_warnings":
"type": "content"
    {
},
      "label": "Content Warnings",
"game": {
      "description": "Content warnings for this episode.",
"label": "Game",
      "required": false,
"description": "Game played on this episode.",
      "type": "content"
"required": false,
    },
"type": "content"
 
},
    "cast":
"score": {
    {
"label": "Score",
      "label": "Cast",
"description": "Songs used in this episode.",
      "description": "Cast members on this episode.",
"required": false,
      "required": false,
"type": "content"
      "type": "content"
},
    },
"previous_episode": {
    "game":
"label": "Previous episode",
    {
"description": "Link to the previous episode.",
      "label": "Game",
"default": "Header always appears, but can be blank for the first episode of a season.",
      "description": "Game played on this episode.",
"required": true,
      "required": false,
"type": "content"
      "type": "content"
},
    },
"next_episode": {
    "score":
"label": "Next",
    {
"description": "Link to the next episode.",
      "label": "Score",
"default": "Header always appears, but can be blank for the last episode of a season.",
      "description": "Songs used in this episode.",
"required": true,
      "required": false,
"type": "content"
      "type": "content"
},
    },
"previous_arc": {
    "previous_episode":
"label": "Previous Arc",
    {
"description": "Link to the page for the previous arc, where relevant.",
      "label": "Previous episode",
"required": false,
      "description": "Link to the previous episode.",
"type": "content"
      "default": "Header always appears, but can be blank for the first episode of a season.",
},
      "required": true,
"next_arc": {
      "type": "content"
"label": "Next Arc",
    },
"description": "Link to the page for the next arc, where relevant.",
    "next_episode":
"required": false,
    {
"type": "content"
      "label": "Next",
},
      "description": "Link to the next episode.",
"episode_page": {
      "default": "Header always appears, but can be blank for the last episode of a season.",
"label": "Episode Page",
      "required": true,
"description": "Link to the episode's page on friendsatthetable.net",
      "type": "content"
"required": false,
    },
"type": "url"
    "previous_arc":
},
    {
"patreon_page": {
      "label": "Previous Arc",
"label": "Patreon Page",
      "description": "Link to the page for the previous arc, where relevant.",
"description": "Link to the episode's page on the Friends at the Table Patreon if it was released there first.",
      "required": false,
"required": false,
      "type": "content"
"type": "url"
    },
},
    "next_arc":
"transcript": {
    {
"label": "Transcript",
      "label": "Next Arc",
"description": "Link to the episode's transcript.",
      "description": "Link to the page for the next arc, where relevant.",
"required": true,
      "required": false,
"type": "url"
      "type": "content"
},
    },
"transcript_text": {
    "episode_page":
"label": "Transcript (text)",
    {
"description": "If you want to put something in the transcript field that isn't a link, use this field.",
      "label": "Episode Page",
"example": "See Patreon",
      "description": "Link to the episode's page on friendsatthetable.net",
"type": "content"
      "required": false,
}
      "type": "url"
}
    },
    "patreon_page":
    {
      "label": "Patreon Page",
      "description": "Link to the episode's page on the Friends at the Table Patreon if it was released there first.",
      "required": false,
      "type": "url"
    },
    "transcript":
    {
      "label": "Transcript",
      "description": "Link to the episode's transcript.",
      "required": true,
      "type": "url"
    }
  }
}
}
</templatedata>
</templatedata>

Revision as of 14:35, 15 October 2022

Empty template

{{Infobox episode
| color_theme =
| episode_number = 
| title = 
| live_date = 
| patreon_date =
| release_date = 
| length =
| content_warnings =
| cast = 
| game = 
| score = 
| previous_episode = 
| next_episode = 
| previous_arc = 
| next_arc = 
| episode_page = 
| patreon_page = 
| transcript = 
| transcript_text = 
}}

Usage Example

{{Infobox episode
| color_theme = pzn
| episode_number = 03
| title = Armour Astir Pt. 1
| live_date = February 1, 2019
| patreon_date = February 4, 2019
| release_date = October 18, 2019
| length = 2:56:38
| content_warnings = Example
| cast = [[Austin Walker]]<br>[[Sylvia Clare]]<br>[[Art Martinez-Tebbel]]<br>[[Andrew Lee Swan]]<br>[[Janine Hawkins]]
| game = [[Armour Astir]]
| score = [[Live At The Table: Friends At The Table Soundtrack | HOURGLASS. SUNRISE. CRYSTALLINE.]]
| previous_episode = [[The Road to PARTIZAN 02: Dialect Pt. 2]]
| next_episode = [[The Road to PARTIZAN 04: Armour Astir Pt. 2]]
| previous_arc = The Road to PARTIZAN: Dialect
| next_arc = The Road to PARTIZAN: Ech0 & Dusk to Midnight
| episode_page = https://friendsatthetable.net/the-road-to-partizan-03-armour-astir-pt-1
| patreon_page = https://www.patreon.com/posts/live-at-table-pt-24452525
| transcript = https://docs.google.com/document/d/18B3_cCnyt4kQIcCAO4R5aBGYzTjPpq1Poe5FB0CLZeo
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Color Themecolor_theme

Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.

Default
Default theme gold
Example
bluff
Stringsuggested
Titletitle

Title at the top of the infobox

Default
Uses the page title
Contentrequired
Imageimage

Image

Fileoptional
Captioncaption

Image caption

Contentoptional
Episode Numberepisode_number

Episode number

Example
1
Contentoptional
Live Datelive_date

Livestream/Live show date for Live at the Table and other live episodes.

Contentoptional
Patreon Datepatreon_date

Date of episode on the Patreon podcast feed, if different from Live Date.

Contentoptional
Release Daterelease_date

Date of episode on public podcast feed.

Contentoptional
Lengthlength

Length of episode.

Contentoptional
Content Warningscontent_warnings

Content warnings for this episode.

Contentoptional
Castcast

Cast members on this episode.

Contentoptional
Gamegame

Game played on this episode.

Contentoptional
Scorescore

Songs used in this episode.

Contentoptional
Previous episodeprevious_episode

Link to the previous episode.

Default
Header always appears, but can be blank for the first episode of a season.
Contentrequired
Nextnext_episode

Link to the next episode.

Default
Header always appears, but can be blank for the last episode of a season.
Contentrequired
Previous Arcprevious_arc

Link to the page for the previous arc, where relevant.

Contentoptional
Next Arcnext_arc

Link to the page for the next arc, where relevant.

Contentoptional
Episode Pageepisode_page

Link to the episode's page on friendsatthetable.net

URLoptional
Patreon Pagepatreon_page

Link to the episode's page on the Friends at the Table Patreon if it was released there first.

URLoptional
Transcripttranscript

Link to the episode's transcript.

URLrequired
Transcript (text)transcript_text

If you want to put something in the transcript field that isn't a link, use this field.

Example
See Patreon
Contentoptional