Difference between revisions of "Template:Bfidb title/doc"
Jump to navigation
Jump to search
imported>Zyxw (→Missing id number: update link) |
imported>Zyxw m (update intro) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| − | = | + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| − | The BFI website has changed its database and the | + | |
| + | {{Warning|1=The [[British Film Institute]] (BFI) website has changed its database and the ID number required for this template is no longer displayed. Existing transclusions of this template continue to work, but to create new links use [[Template:BFI]].}} | ||
| + | |||
| + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a web page for a film title in the "Films, TV and people" section of the [[British Film Institute]] (BFI) database. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. | ||
== Usage == | == Usage == | ||
| − | |||
| − | < | + | If the subject of the Wikipedia article is the same as the BFI page, only the ID number is required. The template then uses the Wikipedia article name as the [[anchor text]]. |
| + | * {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }} | ||
| + | * {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> }} | ||
| + | |||
| + | To have the link text be other than the article name, use the second parameter. | ||
| + | * {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>TITLE</var> }} | ||
| + | * {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | title{{=}} <var>TITLE</var> }} | ||
| + | |||
| + | == Parameters == | ||
| − | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 15: | Line 24: | ||
|- | |- | ||
| '''id''' | | '''id''' | ||
| − | | Programme id given after http:// | + | | Programme id given after http://<nowiki/>www.bfi.org.uk/films-tv-people/sift/title/. For example, the ''[[The Admirable Crichton (1957 film)]]'' entry is at http://www.bfi.org.uk/films-tv-people/sift/title/45501 and the ID is 45501. |
|- | |- | ||
| '''title''' | | '''title''' | ||
| − | | Programme | + | | Programme title, for the above example this would be The Admirable Crichton. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)". |
|} | |} | ||
| + | |||
| + | == Example == | ||
| + | |||
| + | ''Usage:'' | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 45501 | The Admirable Crichton }}</code> | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= 45501 |title= The Admirable Crichton }}</code> | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | 45501 | The Admirable Crichton }} | ||
| + | :* {{{{BASEPAGENAME}} |id= 45501 |title= The Admirable Crichton }} | ||
| + | |||
| + | ''Current URL:'' | ||
| + | * [http://www.bfi.org.uk/films-tv-people/sift/title/45501 http://www.bfi.org.uk/films-tv-people/sift/title/{{highlight|45501}}] | ||
| + | |||
| + | ''Former URL:'' | ||
| + | * http://<nowiki/>ftvdb.bfi.org.uk/sift/title/{{highlight|45501}} ([https://web.archive.org/web/20110904233715/http://ftvdb.bfi.org.uk/sift/title/45501 archive]) | ||
== See also == | == See also == | ||
| Line 36: | Line 61: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
| − | <!-- Categories and interwikis go | + | <!-- Categories go here and interwikis go in Wikidata. --> |
[[Category:British Film Institute]] | [[Category:British Film Institute]] | ||
[[Category:Film external link templates|BFI]] | [[Category:Film external link templates|BFI]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 03:20, 9 August 2020
| This is a documentation subpage for Template:Bfidb title. It contains usage information, categories and other content that is not part of the original template page. |
| The British Film Institute (BFI) website has changed its database and the ID number required for this template is no longer displayed. Existing transclusions of this template continue to work, but to create new links use Template:BFI. |
Template:Bfidb title displays an external link to a web page for a film title in the "Films, TV and people" section of the British Film Institute (BFI) database. It is intended for use in the external links section of an article.
Contents
Usage
If the subject of the Wikipedia article is the same as the BFI page, only the ID number is required. The template then uses the Wikipedia article name as the anchor text.
To have the link text be other than the article name, use the second parameter.
Parameters
| Parameter | Notes |
|---|---|
| id | Programme id given after http://www.bfi.org.uk/films-tv-people/sift/title/. For example, the The Admirable Crichton (1957 film) entry is at http://www.bfi.org.uk/films-tv-people/sift/title/45501 and the ID is 45501. |
| title | Programme title, for the above example this would be The Admirable Crichton. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)". |
Example
Usage:
* {{Bfidb title | 45501 | The Admirable Crichton }}* {{Bfidb title |id= 45501 |title= The Admirable Crichton }}
Output:
- The Admirable Crichton at the British Film Institute's Film and TV Database
- The Admirable Crichton at the British Film Institute's Film and TV Database
Current URL:
Former URL:
- http://ftvdb.bfi.org.uk/sift/title/45501 (archive)
See also
- {{BFI}}
- {{Bfidb}}
- {{Bfidb individual}}
- {{Bfidb individual credit}}
- {{Bfidb individual event}}
- {{Bfidb series}}
- {{Bfidb title cast}}
- {{Bfidb title credits}}
- {{Bfidb title event}}
- {{Bfidb title music}}
- {{Bfidb title release}}
- {{Bfidb title transmission}}