Difference between revisions of "Template:BBC programme/doc"
Jump to navigation
Jump to search
imported>JJMC89 (→Template data: actually used WD) |
imported>Galobtter (→Usage: update) |
||
| Line 11: | Line 11: | ||
* <pre>* {{BBC programme}}</pre> | * <pre>* {{BBC programme}}</pre> | ||
| − | * <pre>* {{BBC programme|id=|title=}}</pre> | + | * <pre>* {{BBC programme|id=|title=|description=}}</pre> |
The template has the following optional parameters: | The template has the following optional parameters: | ||
Revision as of 06:44, 30 October 2018
| This is a documentation subpage for Template:BBC programme. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
| This template uses Lua: |
Usage
This template is for linking to the BBC Programmes page at BBC Online for BBC television and radio programmes. It should appear in the External links section.
Use one of:
* {{BBC programme}}* {{BBC programme|id=|title=|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 |
Example
The following usage:
* {{BBC programme|id=b006m86d|title=EastEnders}}
Produces:
- EastEnders at BBC ProgrammesScript error: No such module "EditAtWikidata".Template:WikidataCheck
Tracking categories
- Category:BBC programme ID not in Wikidata (0)
- Category:BBC programme ID different from Wikidata (0)
- Category:BBC programme ID same as Wikidata (0)
- Category:BBC programme template with no id set (exists in template, not created)
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
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for BBC programme
This template is for linking to the BBC Programmes page at BBC Online for BBC television and radio programmes. It should appear in the External links section.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Programme ID | id | no description
| String | optional |
| Programme name | title | no description
| String | optional |
| Description | description | no description | String | optional |