Template:BBC programme/doc

&#x3c;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) --&#x3e;

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

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 the programme, not related articles like "List of" articles, character articles etc.
 * It should only be used in the external links section of an article and should not be used inside a reference.
 * It can only be used once per article.
 * For individual episodes use BBC episode 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

 * Unnamed parameters
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;


 * Named parameters
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;


 * Using Wikidata property
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;

The template has the following optional parameters:

Examples

 * No parameters and the show has a Wikidata entry with a BBC programme id.
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;


 * No parameters and the show does not have a Wikidata entry with a BBC programme id.
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;


 * One parameter
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;


 * Two parameters
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;


 * Three parameters
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;* &#x3c;/code&#x3e;

Tracking categories

 * ID parameter exists
 * ID parameter does not exist
 * ID parameter does not exist
 * ID parameter does not exist
 * ID parameter does not exist

TemplateData
&#x3c;templatedata&#x3e; {	"description": "This template displays an external link to the BBC Programmes page at BBC Online for a BBC television or radio programme. It is intended for use in the external links section of an article.", "format": "inline", "params": { "id": { "label": "Programme identifier", "aliases": [ "1" ], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the identifier (ID) portion of the URL. Example: b006m86d is the ID portion of https://www.bbc.co.uk/programmes/b006m86d. This parameter is optional if Wikidata property P827 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P827", "example": "b006m86d" },		"title": { "label": "Programme title", "aliases": ["2"], "description": "The \"title\" parameter (or unnamed parameter \"2\") may be used to specify the title of the programme. 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.", "type": "string", "required": false, "default": "", "example": "EastEnders" },		"description": { "label": "Programme description", "aliases" : [ "3" ], "description": "The \"description\" parameter (or unnamed parameter \"3\") may be used to add a description of the programme. It is displayed in a non-italic font.", "type": "string", "required": false }	},	"paramOrder": [ "id", "title", "description" ] } &#x3c;/templatedata&#x3e;

&#x3c;includeonly&#x3e;&#x3c;/includeonly&#x3e;