Template:BBC programme/doc
| This is a documentation subpage for Template:BBC programme. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 2,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
BBC programme ID (P827) (see uses)
| This template uses Lua: |
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 its usage.
- It can only be used on the main article about the programme, not related articles like biographies, "List of" articles, character articles etc.
- It is not a general BBC linking template. Use a normal external URL link, not this template.
- It should only be used in the external links section of an article and should never be used inside a reference.
- It can only be used once per article. i.e spin-off shows should be plain links, not a second use of this template.
- 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
{{BBC programme | ID }}{{BBC programme | ID | TITLE }}{{BBC programme | ID | TITLE | DESCRIPTION }}
- Named parameters
{{BBC programme | id= ID }}{{BBC programme | id= ID | title= TITLE }}{{BBC programme | id= ID | title= TITLE | description= DESCRIPTION }}
- Using Wikidata property BBC programme ID (P827)
{{BBC programme}}{{BBC programme | title= TITLE }}{{BBC programme | title= TITLE | description= DESCRIPTION }}
The template has the following optional parameters:
| Parameter | Notes |
|---|---|
| id | Programme id given after https://www.bbc.co.uk/programmes/. For example, the EastEnders entry is at https://www.bbc.co.uk/programmes/b006m86d and the id is b006m86d. |
| title | Programme name, for the above example this would be EastEnders. The title is automatically formatted. |
| description | Additional description |
Examples
- No parameters and the show has a Wikidata entry with a BBC programme id.
* {{BBC programme}}
- No parameters and the show does not have a Wikidata entry with a BBC programme id.
* {{BBC programme}}- {{BBC programme}} missing ID and not present in Wikidata.
- One parameter
* {{BBC programme | b006m86d }}* {{BBC programme |id= b006m86d }}
- Two parameters
* {{BBC programme | b006m86d | EastEnders }}* {{BBC programme | id= b006m86d | title= EastEnders }}
- Three parameters
* {{BBC programme | b006m86d | EastEnders | (British TV series) }}* {{BBC programme | id= b006m86d | title= EastEnders | description= (British TV series) }}
Tracking categories
- ID parameter exists
- Category:BBC programme ID not in Wikidata (47)
- Category:BBC programme ID different from Wikidata (4)
- Category:BBC programme ID same as Wikidata (516)
- ID parameter does not exist
- Category:BBC programme template missing ID and not in Wikidata (0)
- Category:BBC programme template using Wikidata (2,107)
See also
- {{BBC Online}} – for general links to BBC Online pages
- {{BBC episode}} – for links to BBC Programmes episode pages
- {{BBC composer page}} - for links to pages about composers
TemplateData
TemplateData for BBC programme
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Programme identifier | id 1 | 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.
| String | optional |
| Programme title | title 2 | 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.
| String | optional |
| Programme description | description 3 | 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. | String | optional |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.