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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎Usage: add archived copy of dead link)
imported>Zyxw
(update note, add examples)
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
== Missing id number ==
+
<!-- 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 id number required for this template is no longer displayed. Existing transclusions of this template continue to work, but to create new links to the BFI website {{tl|BFI}} should be used.
+
{{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]].}}
  
 
== Usage ==
 
== Usage ==
Line 20: Line 20:
 
| 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 titled entered, in order for the explanation not to be displayed.
 
|}
 
|}
 +
 +
== 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 ==
 +
Current template:
 
* {{tl|BFI}}   
 
* {{tl|BFI}}   
 +
Former templates:
 
* {{tl|Bfidb}}
 
* {{tl|Bfidb}}
 
* {{tl|Bfidb individual}}
 
* {{tl|Bfidb individual}}

Revision as of 00:50, 9 August 2020

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.

* {{Bfidb title|id=|title=}}

The template has the following parameters:

Parameter Notes
id Programme id given after http://ftvdb.bfi.org.uk/sift/title/. For example, the The Admirable Crichton (1957 film) entry is at http://ftvdb.bfi.org.uk/sift/title/45501 (archived copy) 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 titled 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

Current template:

Former templates: