Difference between revisions of "Template:Bfidb/doc"
Jump to navigation
Jump to search
imported>Vanisaac |
imported>Zyxw m (update intro) |
||
| (4 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]]) --> | ||
| − | + | {{Warning|1=The [[British Film Institute]] (BFI) website has changed its database and the ID required for this template is no longer displayed. Existing transclusions of this template continue to work, but to create new links use [[Template:BFI]].}} | |
| − | *{{tl|BFI | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a web page 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. |
| − | *{{tl|Bfidb title}} | + | |
| − | *{{tl|Bfidb | + | == Usage == |
| − | *{{tl|Bfidb series}} | + | |
| + | If the subject of the Wikipedia article is the same as the BFI page, only the ID 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> }} | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | === title === | ||
| + | {{Template see also|Bfidb title}} | ||
| + | |||
| + | :''Usage:'' | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | title/45501 | The Admirable Crichton }}</code> | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= title/45501 |title= The Admirable Crichton }}</code> | ||
| + | |||
| + | :''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | title/45501 | The Admirable Crichton }} | ||
| + | :* {{{{BASEPAGENAME}} |id= title/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/{{highlight|title/45501}}] | ||
| + | |||
| + | :''Former URL:'' | ||
| + | :* http://<nowiki/>ftvdb.bfi.org.uk/sift/{{highlight|title/45501}} ([https://web.archive.org/web/20110904233715/http://ftvdb.bfi.org.uk/sift/title/45501 archive]) | ||
| + | |||
| + | === series === | ||
| + | {{Template see also|Bfidb series}} | ||
| + | |||
| + | :''Usage:'' | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | series/7133 | EastEnders }}</code> | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= series/7133 |title= EastEnders }}</code> | ||
| + | |||
| + | :''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | series/7133 | EastEnders }} | ||
| + | :* {{{{BASEPAGENAME}} |id= series/7133 |title= EastEnders }} | ||
| + | |||
| + | :''Current URL:'' | ||
| + | :* [http://www.bfi.org.uk/films-tv-people/sift/series/7133 http://www.bfi.org.uk/films-tv-people/sift/{{highlight|series/7133}}] | ||
| + | |||
| + | :''Former URL:'' | ||
| + | :* http://<nowiki/>ftvdb.bfi.org.uk/sift/{{highlight|series/7133}} ([https://web.archive.org/web/20140302033212/http://ftvdb.bfi.org.uk/sift/series/7133 archive]) | ||
| + | |||
| + | === individual === | ||
| + | {{Template see also|Bfidb individual}} | ||
| + | |||
| + | :''Usage:'' | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | individual/592017 | Terry Pratchett }}</code> | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= individual/592017 |title= Terry Pratchett }}</code> | ||
| + | |||
| + | :''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | individual/592017 | Terry Pratchett }} | ||
| + | :* {{{{BASEPAGENAME}} |id= individual/592017 |title= Terry Pratchett }} | ||
| + | |||
| + | :''Current URL:'' | ||
| + | :* [http://www.bfi.org.uk/films-tv-people/sift/individual/592017 http://www.bfi.org.uk/films-tv-people/sift/{{highlight|individual/592017}}] | ||
| + | |||
| + | :''Former URL:'' | ||
| + | :* http://<nowiki/>ftvdb.bfi.org.uk/sift/{{highlight|individual/592017}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|BFI}} | ||
| + | * {{tl|Bfidb individual}} | ||
| + | * {{tl|Bfidb individual credit}} | ||
| + | * {{tl|Bfidb individual event}} | ||
| + | * {{tl|Bfidb title}} | ||
| + | * {{tl|Bfidb title cast}} | ||
| + | * {{tl|Bfidb title credits}} | ||
| + | * {{tl|Bfidb title event}} | ||
| + | * {{tl|Bfidb title music}} | ||
| + | * {{tl|Bfidb title release}} | ||
| + | * {{tl|Bfidb title transmission}} | ||
| + | * {{tl|Bfidb series}} | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
| + | <!-- Categories go here and interwikis go in Wikidata. --> | ||
| + | [[Category:British Film Institute]] | ||
[[Category:Film external link templates|BFI]] | [[Category:Film external link templates|BFI]] | ||
| − | |||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 03:22, 9 August 2020
| 40px | This is a documentation subpage for Template:Bfidb. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | The British Film Institute (BFI) website has changed its database and the ID 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 displays an external link to a web page 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.
Usage
If the subject of the Wikipedia article is the same as the BFI page, only the ID 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.
Examples
title
- Usage:
* {{Bfidb | title/45501 | The Admirable Crichton }}* {{Bfidb |id= title/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
- Former URL:
- http://ftvdb.bfi.org.uk/sift/title/45501 (archive)
series
- Usage:
* {{Bfidb | series/7133 | EastEnders }}* {{Bfidb |id= series/7133 |title= EastEnders }}
- Output:
- EastEnders at the British Film Institute's Film and TV Database
- EastEnders at the British Film Institute's Film and TV Database
- Former URL:
- http://ftvdb.bfi.org.uk/sift/series/7133 (archive)
individual
- Usage:
* {{Bfidb | individual/592017 | Terry Pratchett }}* {{Bfidb |id= individual/592017 |title= Terry Pratchett }}
- Output:
- Terry Pratchett at the British Film Institute's Film and TV Database
- Terry Pratchett at the British Film Institute's Film and TV Database
- Former URL:
- http://ftvdb.bfi.org.uk/sift/individual/592017
See also
- {{BFI}}
- {{Bfidb individual}}
- {{Bfidb individual credit}}
- {{Bfidb individual event}}
- {{Bfidb title}}
- {{Bfidb title cast}}
- {{Bfidb title credits}}
- {{Bfidb title event}}
- {{Bfidb title music}}
- {{Bfidb title release}}
- {{Bfidb title transmission}}
- {{Bfidb series}}