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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update note, usage, examples)
imported>Zyxw
(update parameter name)
Line 13: Line 13:
 
To have the link text be other than the article name, use the second parameter.
 
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}} | <var>ID</var> | <var>NAME</var> }}
* {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }}
+
* {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | individual{{=}} <var>NAME</var> }}
  
 
== Examples ==
 
== Examples ==
 
''Usage:''
 
''Usage:''
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 592017 | Terry Pratchett }}</code>
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 592017 | Terry Pratchett }}</code>
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= 592017 |name= Terry Pratchett }}</code>
+
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} |id= 592017 |individual= Terry Pratchett }}</code>
  
 
''Output:''
 
''Output:''
 
:* {{{{BASEPAGENAME}} | 592017 | Terry Pratchett }}
 
:* {{{{BASEPAGENAME}} | 592017 | Terry Pratchett }}
:* {{{{BASEPAGENAME}} |id= 592017 |name= Terry Pratchett }}
+
:* {{{{BASEPAGENAME}} |id= 592017 |individual= Terry Pratchett }}
  
 
''Current URL:''
 
''Current URL:''

Revision as of 01:26, 9 August 2020

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

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