Difference between revisions of "Template:Bfidb title/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update note, add examples)
imported>Zyxw
m (misc updates)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Hatnote|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]].}}
+
 
 +
{{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 at the [[British Film Institute]] Film and TV Database. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
  
 
== Usage ==
 
== Usage ==
This template is for linking a film article to the page of that film at the [[British Film Institute]] Film and TV Database website. It should appear in the External links section.
 
  
<pre>* {{Bfidb title|id=|title=}}</pre>
+
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 ==
  
The template has the following parameters:
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 15: Line 24:
 
|-
 
|-
 
| '''id'''
 
| '''id'''
| Programme id given after http://<nowiki/>ftvdb.bfi.org.uk/sift/title/. For example, the ''[[The Admirable Crichton (1957 film)]]'' entry is at http://<nowiki/>ftvdb.bfi.org.uk/sift/title/45501 ([https://web.archive.org/web/20110904233715/http://ftvdb.bfi.org.uk/sift/title/45501 archived copy]) and the id is 45501.
+
| 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 name, for the above example this would be The Admirable Crichton. The title is automatically formatted, i.e. if not filled in with something else, it will display the name of the article. Consequently, film articles with an explanatory addition to the title (e.g. ''The Admirable Crichton (film)'') should have the clean titled entered, in order for the explanation not to be displayed.
+
| Programme name, for the above example this would be The Admirable Crichton. The title is automatically formatted, i.e. if not filled in with something else, it will display the name of the article. Consequently, film articles with an explanatory addition to the title (e.g. ''The Admirable Crichton (film)'') should have the clean title entered, in order for the explanation not to be displayed.
 
|}
 
|}
  
Line 38: Line 47:
  
 
== See also ==
 
== See also ==
Current template:
 
 
* {{tl|BFI}}   
 
* {{tl|BFI}}   
Former templates:
 
 
* {{tl|Bfidb}}
 
* {{tl|Bfidb}}
 
* {{tl|Bfidb individual}}
 
* {{tl|Bfidb individual}}

Revision as of 01:22, 9 August 2020

Template:Bfidb title displays an external link to a web page for a film title at the British Film Institute Film and TV Database. It is intended for use in the external links section of an article.

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 name, for the above example this would be The Admirable Crichton. The title is automatically formatted, i.e. if not filled in with something else, it will display the name of the article. Consequently, film articles with an explanatory addition to the title (e.g. The Admirable Crichton (film)) should have the clean title entered, in order for the explanation not to be displayed.

Example

Usage:

* {{Bfidb title | 45501 | The Admirable Crichton }}
* {{Bfidb title |id= 45501 |title= The Admirable Crichton }}

Output:

Current URL:

Former URL:

  • http://ftvdb.bfi.org.uk/sift/title/45501 (archive)

See also