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

From blackwiki
Jump to navigation Jump to search
imported>Yamaha5
imported>Zyxw
(update intro)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
=== Usage ===
+
{{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]].}}
Very straightforward, locate the individual within the Film & Television Database and use the number from the end of the URL in the template. For example, "PRATCHETT, Terry" is located at...
 
  
http://ftvdb.bfi.org.uk/sift/individual/592017
+
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a web page for an individual 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.
  
...so we take "592017" and place it into the template format to produce...
+
== 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> }}
  
<nowiki>{{bfidb individual|592017|PRATCHETT, Terry}}</nowiki>
+
To have the link text be other than the article name, use the second parameter.
 +
* {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }}
 +
* {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | individual{{=}} <var>NAME</var> }}
  
...which in turn produces...
+
== Examples ==
 +
''Usage:''
 +
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 592017 | Terry Pratchett }}</code>
 +
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= 592017 |individual= Terry Pratchett }}</code>
  
{{bfidb individual|592017|PRATCHETT, Terry}}
+
''Output:''
 +
:* {{{{BASEPAGENAME}} | 592017 | Terry Pratchett }}
 +
:* {{{{BASEPAGENAME}} |id= 592017 |individual= Terry Pratchett }}
 +
 
 +
''Current URL:''
 +
* [http://www.bfi.org.uk/films-tv-people/sift/individual/592017 http://www.bfi.org.uk/films-tv-people/sift/individual/{{highlight|592017}}]
 +
 
 +
''Former URL:''
 +
* http://<nowiki/>ftvdb.bfi.org.uk/sift/individual/{{highlight|592017}}
 +
 
 +
== See also ==
 +
* {{tl|BFI}} 
 +
* {{tl|Bfidb}}
 +
* {{tl|Bfidb individual credit}}
 +
* {{tl|Bfidb individual event}}
 +
* {{tl|Bfidb series}}
 +
* {{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}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
<!-- Categories go here and interwikis go in Wikidata. -->
 +
[[Category:British Film Institute]]
 +
[[Category:Film external link templates|BFI]]
 +
[[Category:People and person external link templates|BFI]]
 +
}}</includeonly>

Latest revision as of 03:15, 9 August 2020

Template:Bfidb individual displays an external link to a web page for an individual 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 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.

Examples

Usage:

* {{Bfidb individual | 592017 | Terry Pratchett }}
* {{Bfidb individual |id= 592017 |individual= Terry Pratchett }}

Output:

Current URL:

Former URL:

  • http://ftvdb.bfi.org.uk/sift/individual/592017

See also