Jump to content

Template:BBC episode/doc

From Wikipedia, the free encyclopedia

This template displays an external link to the BBC programme episode page at BBC Online for a BBC television or radio episode.

There are some specific rules about it's usage.

  • It is not a general BBC linking template. Use a normal external URL link, not this template.
  • It can only be used on the main article about a single episode, not related articles like the main programme article, "List of" articles, character articles etc.
  • Where an article covers more than one episode, do not use this template for any of the episode links.
  • It should only be used in the external links section of an article and should not be used inside a reference.
  • For programme articles use {{BBC programme}} instead.

All other uses (or multiple uses in the same article) will result in conflicts between Wikipedia and Wikidata, causing the article to appear in the error categories below.

Usage

[edit]

This template is for linking to the BBC Programme episodes page at BBC Online for BBC television and radio episodes. It should appear in the External links section.

* {{BBC episode|id=|episode=}}

The template has the following parameters:

Parameter Notes
id Episode id given after https://www.bbc.co.uk/programmes/. For example, the "Time On Our Hands" entry is at https://www.bbc.co.uk/programmes/b007b9g6 and the id is b007b9g6.
episode Episode title, for the above example this would be Time On Our Hands. The title is automatically formatted.

Example

[edit]

The following usage:

* {{BBC episode|id=b007b9g6|episode=Time On Our Hands}}

Produces:

Tracking categories

[edit]
ID parameter exists
ID parameter does not exist

See also

[edit]

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:BBC episode in articles based on its TemplateData.

TemplateData for BBC episode

This template is for linking to the BBC Programmes page at BBC Online for BBC television and radio episodes. It should appear in the External links section.

Template parameters

ParameterDescriptionTypeStatus
Episode identifierid

The "id" parameter should contain the identifier (ID) portion of the URL. Example: b007b9g6 is the ID portion of https://www.bbc.co.uk/programmes/b007b9g6

Example
b007b9g6
Stringrequired
Episode titleepisode

The "title" parameter may be used to specify the title of the episode. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(TV series)". It is displayed in an italic font.

Default
{{PAGENAMEBASE}}
Stringoptional
qidqid

QID of a Wikidata page to pull id from other than the page the template is used on

Default
Page used on
Unknownoptional